1
0
mirror of https://github.com/vikstrous/pirate-get synced 2025-01-10 10:04:21 +01:00

Fixed issue #36 wrong url for proxy list

This commit is contained in:
Guido Masella 2014-11-12 17:26:01 +01:00
parent 18be0be73c
commit 451b12a191

View File

@ -264,7 +264,7 @@ def main():
mirrors = ["http://thepiratebay.se"] mirrors = ["http://thepiratebay.se"]
try: try:
opener = urllib2.build_opener(NoRedirection) opener = urllib2.build_opener(NoRedirection)
f = opener.open("http://proxybay.info/list.txt") f = opener.open("https://proxybay.info/list.txt")
if f.getcode() != 200: if f.getcode() != 200:
raise Exception("The pirate bay responded with an error.") raise Exception("The pirate bay responded with an error.")
res = f.read() res = f.read()