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 99 forks source link

[YGGTorrent] Error in torrent file #116

Closed VSerain closed 4 years ago

VSerain commented 4 years ago

Hello,

When we use the yggTorrent Provider to download torrent file, this is work but in file the content is Vous devez vous connecter pour télécharger un torrent% !

This is returned by ygg if you are not connected !

Looks like it came from the _ygg cookie. I have replaced the value of _ygg by the cookie send on the website, that work, we can download a good file, but this is not really simple and not automatic!

I search actually a solution, if you have the solution i want a clue !

I keep looking and would do a Pull Request if I find a way to fix the problem

ps: of course my username and password works on yggtorrent website

VSerain commented 4 years ago

Sorry for my english ;) I'm french

VSerain commented 4 years ago

For fix this bug you can just install https://github.com/JimmyLaurent/cloudflare-scraper