JimmyLaurent / torrent-search-api

Yet another node torrent scraper (supports iptorrents, torrentleech, torrent9, torrentz2, 1337x, thepiratebay, Yggtorrent, TorrentProject, Eztv, Yts, LimeTorrents)
MIT License
395 stars 100 forks source link

Fix Ygg provider #127

Closed GhyslainBruno closed 3 years ago

GhyslainBruno commented 3 years ago

This PR fixes Ygg provider, based on advices of @johann-taberlet.

So basically, what it brings to the code :

Nevertheless, this PR doesn't fix the already broken unit tests.

Thanks to every person who helped to solve this issue, and to @JimmyLaurent, who did an amazing job developing all his (very) useful repositories 👍🏻

JimmyLaurent commented 3 years ago

Thanks for the pull request, I'll change the yggtorrent url but i'll let puppeteer and cloudflare-scraper as optional dependencies because it's quite big and I assume every one will not necessary need them.