vikstrous / pirate-get

A command line interface for The Pirate Bay
GNU Affero General Public License v3.0
337 stars 53 forks source link

Pirate Bay Gone #39

Closed bignellrp closed 9 years ago

bignellrp commented 9 years ago

As you may have noticed the pirate bay is no more. None of the mirrors are working.

There is an isohunt version that still works. How can pirate-get be modified to work with this version?

https://oldpiratebay.org

I tried adding it as a mirror but got the following error:

Could not fetch additional mirrors Trying https://oldpiratebay.org HTTP Error 404: Not Found Could not contact https://oldpiratebay.org Traceback (most recent call last): File "/usr/bin/pirate-get", line 393, in main() File "/usr/bin/pirate-get", line 232, in main if not mags or len(mags) == 0: UnboundLocalError: local variable 'mags' referenced before assignment

vikstrous commented 9 years ago

I wonder if this is reusing the same backend as the original pirate bay or it's just a copy and they tried to make it as similar as possible. I suspect that the original pirate bay was using apache with mod rewrite to make the urls look pretty. The urls look completely different on oldpiratebay. Someone needs to go through and update the script.

I don't want this project to die, but realistically, I'll be busy until mid-january. If there are any volunteers, I'm accepting pull requests.