pymedusa / Medusa

Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
https://pymedusa.com
GNU General Public License v3.0
1.77k stars 275 forks source link

yggtorrent provider bug #7972

Closed minitoaster closed 4 years ago

minitoaster commented 4 years ago

Hi ! I'm not able to download with yggtorrent provider anymore. I'm using docker pymedusa/medusa version 0.3.15

Here are the logs:

2020-04-15 10:37:50 WARNING SNATCHQUEUE-SNATCH-294564 :: [8f6b666] Failed to download any results for Le.Bureau.des.Legendes.S05E04.TRUEFRENCH.1080p.x265-CHK 2020-04-15 10:37:42 INFO SNATCHQUEUE-SNATCH-294564 :: [8f6b666] Downloading Le.Bureau.des.Legendes.S05E04.TRUEFRENCH.1080p.x265-CHK from Yggtorrent at https://www.yggtorrent.to/engine/download_torrent?id=597420 2020-04-15 10:37:42 INFO SNATCHQUEUE-SNATCH-294564 :: [8f6b666] Downloading Le.Bureau.des.Legendes.S05E04.TRUEFRENCH.1080p.x265-CHK with 742 seeders and 16 leechers and size 566.19 MB from Yggtorrent, through a SearchType.BACKLOG_SEARCH search 2020-04-15 10:37:42 INFO SNATCHQUEUE-SNATCH-294564 :: [8f6b666] Beginning to snatch release: Le.Bureau.des.Legendes.S05E04.TRUEFRENCH.1080p.x265-CHK 2020-04-15 10:37:39 WARNING SNATCHQUEUE-SNATCH-294564 :: [8f6b666] Failed to download any results for Le.Bureau.des.Legendes.S05E03.TRUEFRENCH.1080p.x265-CHK

medariox commented 4 years ago

YggTorrent started using Cloudflare with reCaptcha protection. There is nothing we can do about it.

Naworm commented 4 years ago

Jackett actually handling YggTorrent : https://github.com/Jackett/Jackett/issues/8270 You should switch to Jackett for the moment ;)

p0psicles commented 4 years ago

We did a cloudflare fix in develop recently. You can try develop. Should work

minitoaster commented 4 years ago

it works with jackett I will try the new provider later when it will be release in with docker

Naworm commented 4 years ago

I can confirm that’s now working on 0.3.16

Galork commented 4 years ago

Still not working for me, the search is fine but the download failed each time. It starts few days ago.

I'm on 0.3.16

p0psicles commented 4 years ago

Can you login manually to the provider?

Galork commented 4 years ago

yep

p0psicles commented 4 years ago

Then you'll need to provide some debug logs, of a search / snatch

Galork commented 4 years ago

2020-04-29 16:38:52 INFO    POSTPROCESSOR :: [d9c31da] Post-processing completed.
2020-04-29 16:28:51 INFO    POSTPROCESSOR :: [d9c31da] Post-processing completed.
2020-04-29 16:18:50 INFO    POSTPROCESSOR :: [d9c31da] Post-processing completed.
2020-04-29 16:17:53 WARNING SNATCHQUEUE-SNATCH-296762 :: [d9c31da] Failed to download any results for Westworld.S03E07.SUBFRENCH.1080p.WEB.H264-CiELOS
2020-04-29 16:17:48 INFO    SNATCHQUEUE-SNATCH-296762 :: [d9c31da] Downloading Westworld.S03E07.SUBFRENCH.1080p.WEB.H264-CiELOS from Yggtorrent at https://www2.yggtorrent.se/engine/download_torrent?id=605951
2020-04-29 16:17:47 INFO    SNATCHQUEUE-SNATCH-296762 :: [d9c31da] Downloading Westworld.S03E07.SUBFRENCH.1080p.WEB.H264-CiELOS with 302 seeders and 19 leechers and size 3.73 GB from Yggtorrent, through a SearchType.DAILY_SEARCH search
2020-04-29 16:17:47 INFO    SNATCHQUEUE-SNATCH-296762 :: [d9c31da] Beginning to snatch release: Westworld.S03E07.SUBFRENCH.1080p.WEB.H264-CiELOS
2020-04-29 16:17:44 WARNING SNATCHQUEUE-SNATCH-296762 :: [d9c31da] Failed to download any results for Westworld.S03E06.PROPER.VOSTFR.1080p.10bit.WEBRip.6CH.x265.HEVC
2020-04-29 16:17:38 INFO    SNATCHQUEUE-SNATCH-296762 :: [d9c31da] Downloading Westworld.S03E06.PROPER.VOSTFR.1080p.10bit.WEBRip.6CH.x265.HEVC from Yggtorrent at https://www.yggtorrent.to/engine/download_torrent?id=601569
2020-04-29 16:17:38 INFO    SNATCHQUEUE-SNATCH-296762 :: [d9c31da] Downloading Westworld.S03E06.PROPER.VOSTFR.1080p.10bit.WEBRip.6CH.x265.HEVC with 981 seeders and 4 leechers and size 768.31 MB from Yggtorrent, through a SearchType.DAILY_SEARCH search
2020-04-29 16:17:38 INFO    SNATCHQUEUE-SNATCH-296762 :: [d9c31da] Beginning to snatch release: Westworld.S03E06.PROPER.VOSTFR.1080p.10bit.WEBRip.6CH.x265.HEVC
2020-04-29 16:17:35 WARNING SNATCHQUEUE-SNATCH-269586 :: [d9c31da] Failed to download any results for Brooklyn.Nine.Nine.S07E12.VOSTFR.1080p.WEB-DL.HEVC.x265-NoTag
2020-04-29 16:17:22 INFO    SEARCHQUEUE-DAILY-SEARCH :: [d9c31da] Downloading Westworld.S03E07.SUBFRENCH.1080p.WEB.H264-CiELOS with 302 seeders and 19 leechers and size 3.73 GB from Yggtorrent
2020-04-29 16:17:20 INFO    SEARCHQUEUE-DAILY-SEARCH :: [d9c31da] Downloading Westworld.S03E06.PROPER.VOSTFR.1080p.10bit.WEBRip.6CH.x265.HEVC with 981 seeders and 4 leechers and size 768.31 MB from Yggtorrent
2020-04-29 16:17:20 INFO    SNATCHQUEUE-SNATCH-269586 :: [d9c31da] Downloading Brooklyn.Nine.Nine.S07E12.VOSTFR.1080p.WEB-DL.HEVC.x265-NoTag from Yggtorrent at https://www.yggtorrent.to/engine/download_torrent?id=599945
2020-04-29 16:17:20 INFO    SNATCHQUEUE-SNATCH-269586 :: [d9c31da] Downloading Brooklyn.Nine.Nine.S07E12.VOSTFR.1080p.WEB-DL.HEVC.x265-NoTag with 84 seeders and 7 leechers and size 317.91 MB from Yggtorrent, through a SearchType.DAILY_SEARCH search
2020-04-29 16:17:20 INFO    SNATCHQUEUE-SNATCH-269586 :: [d9c31da] Beginning to snatch release: Brooklyn.Nine.Nine.S07E12.VOSTFR.1080p.WEB-DL.HEVC.x265-NoTag
2020-04-29 16:17:18 INFO    SEARCHQUEUE-DAILY-SEARCH :: [d9c31da] Downloading Brooklyn.Nine.Nine.S07E12.VOSTFR.1080p.WEB-DL.HEVC.x265-NoTag with 84 seeders and 7 leechers and size 317.91 MB from Yggtorrent```
Galork commented 4 years ago

As u can see in the log I try to modify directly yggtorrent.py by putting www2.yggtorrent.se instead of yggtorrent.to in download section (sometimes it solves the issue in older version of medusa), but this time nothing work and I don't know why.

Galork commented 4 years ago

For information, today one file succed to be downloaded, and the other not, I don't know why

Naworm commented 4 years ago

For information, today one file succed to be downloaded, and the other not, I don't know why

It’s because sometimes Ygg do disabling the cloudflare / captcha protections.

Galork commented 4 years ago

The cloudflare fix doesn't work then

medariox commented 4 years ago

Captcha protections can't be bypassed, I think that's quite obvious. We can only bypass the 5s Clousflare check...

Galork commented 4 years ago

For my information where is the code about the 5s cloudflare check? And of course for the captcha, but ygg doesn't seem to have captcha.

Galork commented 4 years ago

https://github.com/RyuzakiH/CloudflareSolverRe/pull/29

Jackett seems to have find a new solution for cloudflare, don't know if it can be some help for you

medariox commented 4 years ago

We use cloudscraper, they are working on it. We will update the library as soon as the new version is out.

Galork commented 4 years ago

Ok, thks for the info

jaytonic commented 4 years ago

I've the same issue: [Yggtorrent] :: [d9c31da] Unable to connect or login to provider

Any workaround? My other torrents providers doesn't seems to find my content, so basically, medusa doesn't work anymore for me :(. Any other open/semi-open provider to advise?

p0psicles commented 4 years ago

We recently updated cloudscraper. It's in develop Branch. You coild try that out

medariox commented 4 years ago

Sadly still won't work in Develop as Yggtorrent is using the new Cloudflare challenge (v2).

jaytonic commented 4 years ago

We recently updated cloudscraper. It's in develop Branch. You coild try that out

I tried to switch on develop, but once I set develop, save changes, reboot, I get a "Error: No branches found."

Galork commented 4 years ago

So sad :( but you are still doing a great job guys!