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:
parent
18be0be73c
commit
451b12a191
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user