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
commita800281374d62b48743dcf57da635e0758aa7f06 (patch)
tree3a2d02436fc6aefd18aaa1226786fe4cab2c5372
parent5714de6fdc9c1dcabf7ad7e62ff2761ad7c637f5 (diff)
parent102bc2fac260f4bdc5c5710a3d9f8f971cad4a45 (diff)
Merge branch 'master' of github.com:krebscode/painload
-rwxr-xr-xcensus/arping.py4
-rwxr-xr-xmtgox/mtgox.getDepth2
-rwxr-xr-xmtgox/mtgox.getTrades2
-rwxr-xr-xmtgox/mtgox.ticker2
4 files changed, 4 insertions, 6 deletions
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__':
diff --git a/mtgox/mtgox.getDepth b/mtgox/mtgox.getDepth
index 7401d532..9a607979 100755
--- a/mtgox/mtgox.getDepth
+++ b/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/mtgox/mtgox.getTrades b/mtgox/mtgox.getTrades
index 4901e379..73e5a68d 100755
--- a/mtgox/mtgox.getTrades
+++ b/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/mtgox/mtgox.ticker b/mtgox/mtgox.ticker
index bbfcc52d..b24dfb35 100755
--- a/mtgox/mtgox.ticker
+++ b/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