summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@also>2011-07-31 04:19:55 +0200
committertv <tv@also>2011-07-31 04:19:55 +0200
commita88775480f3500bc3e12d9263ef47ca953c76189 (patch)
treebd22f8c992b3d18f9b5365e9089e48bf04301ecc
parentd42b585a1e8dfaf8184021a4664bbbe2b3fc10a9 (diff)
parent2556c9d78ca81e5851120e8eae7fae2eb70dbbaa (diff)
Merge branch 'master' of github.com:krebscode/painload
-rwxr-xr-xbtc/mtgox/mtgox.getDepth2
-rwxr-xr-xbtc/mtgox/mtgox.getTrades2
-rwxr-xr-xbtc/mtgox/mtgox.ticker2
-rwxr-xr-xcensus/arping.py4
4 files changed, 4 insertions, 6 deletions
diff --git a/btc/mtgox/mtgox.getDepth b/btc/mtgox/mtgox.getDepth
index 7401d532..9a607979 100755
--- a/btc/mtgox/mtgox.getDepth
+++ b/btc/mtgox/mtgox.getDepth
@@ -1,3 +1,3 @@
#! /bin/sh
# get mtgox market depth
-wget -qO- http://mtgox.com/code/data/getDepth.php
+$ curl -ksS https://mtgox.com/code/data/getDepth.php
diff --git a/btc/mtgox/mtgox.getTrades b/btc/mtgox/mtgox.getTrades
index 4901e379..73e5a68d 100755
--- a/btc/mtgox/mtgox.getTrades
+++ b/btc/mtgox/mtgox.getTrades
@@ -1,3 +1,3 @@
#! /bin/sh
# get mtgox last trades
-wget -qO- http://mtgox.com/code/data/getTrades.php
+$ curl -ksS https://mtgox.com/code/data/getTrades.phl
diff --git a/btc/mtgox/mtgox.ticker b/btc/mtgox/mtgox.ticker
index bbfcc52d..b24dfb35 100755
--- a/btc/mtgox/mtgox.ticker
+++ b/btc/mtgox/mtgox.ticker
@@ -1,4 +1,4 @@
#! /bin/sh
# get mtgox ticker data
set -euf
-wget -qO- http://mtgox.com/code/data/ticker.php
+curl -ksS https://mtgox.com/code/data/ticker.php
diff --git a/census/arping.py b/census/arping.py
index 1b51ab1b..3245f1ee 100755
--- a/census/arping.py
+++ b/census/arping.py
@@ -27,9 +27,7 @@ try:
return []
except Exception as e:
- log.error("Cannot load arping functions!" + str(e))
- def arpingy(iprange='',iface=''):
- raise Exception ('arping not available')
+ raise Exception("Cannot load arping functions!" + str(e))
if __name__ =='__main__':