Sickchill: Torrentleech (v5) not working

Created on 3 Apr 2018  路  27Comments  路  Source: SickChill/SickChill

Torrentleech completely changed their website ui (v5), thus searching and snatching doesn't work anymore.

LOG

2018-04-03 23:35:29 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [TorrentLeech] :: With post data: username=****************&password=*********************
2018-04-03 23:35:29 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [TorrentLeech] :: POST URL: https://www.torrentleech.org/cdn-cgi/l/chk_jschl?jschl_answer=31880&jschl_vc=179d72ac1be69bd5971a58a5dca30cbf&pass=1522791267.925-emUI1hVY1N [Status: 302]

As a quick fix...I believe we need to update torrentleech.py:

From:
self.url = "https://www.torrentleech.org"
To:
self.url = "https://v4.torrentleech.org"

I have no way of testing this fix :(

Could someone test it and then make a pull request?

Stale

Most helpful comment

Hi.

I don't know if this is the same issue or a new one, but this seems to be related.
I'm not getting any search results. It seems to be expecting a json result but not getting one. This has been going on for about 2 weeks more or less. I'd be very grateful for any help.

2018-04-28 20:13:17 INFO SEARCHQUEUE-MANUAL-248835 :: Unable to find a download for: [Once Upon a Time (2011) - S07E18 - The Guardian]
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: formatting pattern: %SN - S%0SE%0E - %EN -> Once Upon a Time (2011) - S07E18 - The Guardian
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: formatting pattern: %SN - S%0SE%0E - %EN -> Once Upon a Time (2011) - S07E18 - The Guardian
2018-04-28 20:13:17 INFO SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Performing season pack search for Once Upon a Time (2011)
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Fallback season pack search initiate
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: No data returned from provider
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Requested a json response but response was not json, check the url: https://www.torrentleech.org/torrents/browse/list/categories/2,7,35,26,32/query/Once Upon a Time S07E18
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: GET URL: https://www.torrentleech.org/torrents/browse/list/categories/2,7,35,26,32/query/Once%20Upon%20a%20Time%20S07E18 [Status: 200]
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Search string: Once Upon a Time S07E18
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: No data returned from provider
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Requested a json response but response was not json, check the url: https://www.torrentleech.org/torrents/browse/list/categories/2,7,35,26,32/query/Once Upon a Time (2011) S07E18
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: GET URL: https://www.torrentleech.org/torrents/browse/list/categories/2,7,35,26,32/query/Once%20Upon%20a%20Time%20(2011)%20S07E18 [Status: 200]
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Search string: Once Upon a Time (2011) S07E18
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Search Mode: Episode
2018-04-28 20:13:16 INFO SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Performing episode search for Once Upon a Time (2011)
2018-04-28 20:13:16 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Last update was too soon, using old cache: 2018-04-28 20:09:23. Updated less then 10 minutes ago
2018-04-28 20:13:16 INFO SEARCHQUEUE-MANUAL-248835 :: Beginning manual search for: [Once Upon a Time (2011) - S07E18 - The Guardian]
2018-04-28 20:13:16 DEBUG SEARCHQUEUE-MANUAL-248835 :: formatting pattern: %SN - S%0SE%0E - %EN -> Once Upon a Time (2011) - S07E18 - The Guardian

All 27 comments

Hello bolhaskutya,

I'll have a look tomorrow morning ! (If nobody has already done it)

Awesome! Thank you for the fast response :)

After a look at Torrentleech website. I think it's maybe a better solution to rework the provider module to be compliant with the v5. I'll do it tomorrow ;)

Even better. From what I see, current search results seem to be 302 redirected to a "Top 100 torrents from past day" torrent listing.

I clean the code and do the PR ;)

I'm also following this hoping for a quick fix.

As a quick fix you could activate RSS on your torrentleech profile and create a new tracker in Sickrage using the RSS link.
Works fine for new releases but will not search your backlog.

image

https://github.com/Anorov/cloudflare-scrape/issues/145

it seems the issue was identified and solved. Any chance to push it to sickrage?

not working for me, still throwing errors after updating cfscrape. updated my comments there as well,.

i have a RSS feed running already only problem is you can't do the same in CP (but not a problem for here)

2018-04-06 19:43:44 SEARCHQUEUE-MANUAL-270261 :: [TorrentLeech] :: [1d34bcb] Request failed: Error parsing Cloudflare IUAM Javascript challenge. Cloudflare may have changed their technique, or there may be a bug in the script.
Please read https://github.com/Anorov/cloudflare-scrape#updates, then file a bug report at https://github.com/Anorov/cloudflare-scrape/issues."

Hello,

Cloudflare is not the subject of this issue.
The problem here is about the torrentleech v5 update. And it has been fix on develop branch. @bolhaskutya can you confirm it works for you ? (On develop branch)

@smorison , i've noticed the cloudflare notifications as well. However the RSS link does work for me. Snatched two files this night using the RSS feed. But as mentioned, Cloudflare is not the bug we're talking about here.

Regarding CP, I've found that my auto snatching finally works again after they released V5. I never got it to work with V4. But again, off topic.

On topic:
Allthough some error messages the RSS feed workaround seems to work fine for me.
A permanent fix is in dev branch allready but I thought to share my workaround for those impatient people :-).

@pluzun
Yes. I'm hereby confirming that manual search is working with the develop branch!
I suspect auto-snatching uses the same process as manual search, but I will be able to confirm auto-snatching tomorrow as well.

Good job, mate! :D

ah ok thanks guys! didn't realise it wasn't CF that was the issue.

RSS is definitely working for me as well, can't wait for the fix

Auto-snatching works as well with the develop branch.

Good ! Now, let's wait for the patch on master ;) . @smorison, you can switch on the develop branch if you can't wait for the patch. (Or keep your RSS, as you want :) )

Any eta on the patch for master?

Hi, the patch is already on master. You still have issues ?

Yea - but on my end (my fault), TL patch is working fine now :)

Hi.

I don't know if this is the same issue or a new one, but this seems to be related.
I'm not getting any search results. It seems to be expecting a json result but not getting one. This has been going on for about 2 weeks more or less. I'd be very grateful for any help.

2018-04-28 20:13:17 INFO SEARCHQUEUE-MANUAL-248835 :: Unable to find a download for: [Once Upon a Time (2011) - S07E18 - The Guardian]
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: formatting pattern: %SN - S%0SE%0E - %EN -> Once Upon a Time (2011) - S07E18 - The Guardian
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: formatting pattern: %SN - S%0SE%0E - %EN -> Once Upon a Time (2011) - S07E18 - The Guardian
2018-04-28 20:13:17 INFO SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Performing season pack search for Once Upon a Time (2011)
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Fallback season pack search initiate
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: No data returned from provider
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Requested a json response but response was not json, check the url: https://www.torrentleech.org/torrents/browse/list/categories/2,7,35,26,32/query/Once Upon a Time S07E18
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: GET URL: https://www.torrentleech.org/torrents/browse/list/categories/2,7,35,26,32/query/Once%20Upon%20a%20Time%20S07E18 [Status: 200]
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Search string: Once Upon a Time S07E18
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: No data returned from provider
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Requested a json response but response was not json, check the url: https://www.torrentleech.org/torrents/browse/list/categories/2,7,35,26,32/query/Once Upon a Time (2011) S07E18
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: GET URL: https://www.torrentleech.org/torrents/browse/list/categories/2,7,35,26,32/query/Once%20Upon%20a%20Time%20(2011)%20S07E18 [Status: 200]
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Search string: Once Upon a Time (2011) S07E18
2018-04-28 20:13:17 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Search Mode: Episode
2018-04-28 20:13:16 INFO SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Performing episode search for Once Upon a Time (2011)
2018-04-28 20:13:16 DEBUG SEARCHQUEUE-MANUAL-248835 :: [TorrentLeech] :: Last update was too soon, using old cache: 2018-04-28 20:09:23. Updated less then 10 minutes ago
2018-04-28 20:13:16 INFO SEARCHQUEUE-MANUAL-248835 :: Beginning manual search for: [Once Upon a Time (2011) - S07E18 - The Guardian]
2018-04-28 20:13:16 DEBUG SEARCHQUEUE-MANUAL-248835 :: formatting pattern: %SN - S%0SE%0E - %EN -> Once Upon a Time (2011) - S07E18 - The Guardian

I'm getting these errors

2018-05-03 06:11:53 SEARCHQUEUE-BACKLOG-250487 :: [TorrentLeech] :: [a760263] Request failed: 'module' object has no attribute 'UnsupportedExtension'
2018-05-02 17:06:26 FINDPROPERS :: [TorrentLeech] :: [a760263] Request failed: 'module' object has no attribute 'UnsupportedExtension'
2018-04-30 14:14:46 SEARCHQUEUE-DAILY-SEARCH :: [TorrentLeech] :: [a760263] Request failed: 'module' object has no attribute 'UnsupportedExtension'

I'll have a look tonight :)

Yeah, torrentleech is no longer finding torrents. Manual search isn't working either. There isn't anything specific in the debug log, just no results.

2018-05-11 06:48:28 INFO     SEARCHQUEUE-MANUAL-78901 :: Unable to find a download for: [ **** ]
2018-05-11 06:48:27 INFO     SEARCHQUEUE-MANUAL-78901 :: [TorrentLeech] :: Performing episode search for ****

Hi @bolhaskutya , I've juste tried to download a torrent (The Walking Dead S08E15) and it works well. Can you give me more details about your error ? (The episode you are looking for, the version of SR, ...)

@pluzun Sorry, I updated and it works now. Strange....but good :) Thanks, again.

Hey, guys, this seems broken again.

2018-06-05` 12:32:17 DEBUG    SEARCHQUEUE-MANUAL-295759 :: [TorrentLeech] :: GET URL: https://www.torrentleech.org/torrents/browse/list/categories/2,7,35,26,32/query/***** [Status: 200]

2018-06-05 12:32:17 DEBUG    SEARCHQUEUE-MANUAL-295759 :: [TorrentLeech] :: Requested a json response but response was not json, check the url: https://www.torrentleech.org/torrents/browse/list/categories/2,7,35,26,32/query/*****

2018-06-05 12:32:17 DEBUG    SEARCHQUEUE-MANUAL-295759 :: [TorrentLeech] :: No data returned from provider

Also getting this:

2018-06-06 08:35:56 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [TorrentLeech] :: POST URL: https://www.torrentleech.org/user/account/login/ [Status: 200]
2018-06-06 08:35:56 DEBUG    SEARCHQUEUE-DAILY-SEARCH :: [TorrentLeech] :: With post data: username=*******&password=***********************
2018-06-06 08:35:56 WARNING  SEARCHQUEUE-DAILY-SEARCH :: [TorrentLeech] :: Invalid username or password. Check your settings

Username/password are correct.

This issue has been automatically marked as stale because it has not had activity in 60 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

This issue has been closed due to inactivity in the last 67 days.

Was this page helpful?
0 / 5 - 0 ratings