Skip to content

Commit

Permalink
[ThePirateBayBridge] Repair broken bridge
Browse files Browse the repository at this point in the history
This is more like a refactor because they dont serve data in plain
html anymore. Instead, the data is available from a json api
at apibay.org

Could possibly expand this bridge because their api has more to give.

I learned about this api by grokking https://thepiratebay.org/static/main.js
and by looking at browser ajax requests.

For some unknown reason they host some static assets at
https://torrindex.net/ which is used by the bridge to render
magnet image and user status image.

Signed-off-by: Dag <me@dvikan.no>
  • Loading branch information
dvikan authored and em92 committed Jan 15, 2022
1 parent 9dcce0b commit 418f951
Showing 1 changed file with 255 additions and 121 deletions.
Loading

0 comments on commit 418f951

Please sign in to comment.