diff options
author | tv <tv@also> | 2011-07-31 04:19:55 +0200 |
---|---|---|
committer | tv <tv@also> | 2011-07-31 04:19:55 +0200 |
commit | 985e5f3d014cb9802f6f9eecfaaa18f37b7096a7 (patch) | |
tree | 2240cd4aa27ac7f9dec8cb61565f5029ed6f3b58 | |
parent | 575fc41fa4079067b9d402470a26771cdabc211b (diff) | |
parent | d3ffda161c826877545be40fe68f010c5e5cc0ba (diff) |
Merge branch 'master' of github.com:krebscode/painload
-rwxr-xr-x | mtgox/mtgox.getDepth | 2 | ||||
-rwxr-xr-x | mtgox/mtgox.getTrades | 2 | ||||
-rwxr-xr-x | mtgox/mtgox.ticker | 2 | ||||
-rwxr-xr-x | people/arping.py | 4 |
4 files changed, 4 insertions, 6 deletions
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 diff --git a/people/arping.py b/people/arping.py index 1b51ab1b..3245f1ee 100755 --- a/people/arping.py +++ b/people/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__': |