aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2015-12-28 11:42:12 +0100
committerbnewbold <bnewbold@robocracy.org>2015-12-28 11:52:10 +0100
commit63a3ec1af7c8ac240b90f61dfdc68ffa9227f0cc (patch)
tree12f4406f05a3852c42c6fb0240315a023551f830
parentfbb7966182f48c787b44e2d8f4120daf339ce8c1 (diff)
downloadcircles-63a3ec1af7c8ac240b90f61dfdc68ffa9227f0cc.tar.gz
circles-63a3ec1af7c8ac240b90f61dfdc68ffa9227f0cc.zip
update urls for December 2015HEADmaster
Note: aaaaarg.fail search doesn't actually work at the moment; not sure how (or if possible) to reference Items by md5sum
-rwxr-xr-xcircles.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/circles.py b/circles.py
index f4f7396..a574372 100755
--- a/circles.py
+++ b/circles.py
@@ -43,10 +43,10 @@ def aaaaarg_direct_url(md5sum):
while len(idnum) < 6:
idnum = '0' + idnum
print idnum
- return "http://books.2012.haip.cc.kiberpipa.net/datastore/books/marcell/aaarg/data/%s/%s.pdf" % (idnum[:3], idnum)
+ return "http://aaaaarg.fail/search?query=%s" % md5sum.lower()
def libgen_direct_url(md5sum):
- return "http://libgen.org/get?nametype=md5&md5=%s" % md5sum
+ return "http://libgen.io/get_new.php?md5=%s&open=2" % md5sum
def closest_md5(key, l):
"""Takes a hash and a sorted list of hashes, tries to return the closest