Branch/Commit: master/4e8b9eeb3157adb5fcdee67ef68610c0bb65abf4
OS: Debian 7
What you did: Using IPTorrents as the search provider, they recently changed their website layout (at least visually), may have been the cause.
What happened: Search did not find a download for show, manually grabbed it myself.
What you expected: Show to be automatically grabbed.
Logs:
2016-08-18 22:07:02 DEBUG SEARCHQUEUE-MANUAL-289590 :: [IPTorrents] :: Data returned from provider does not contain any torrents
2016-08-18 22:07:01 DEBUG SEARCHQUEUE-MANUAL-289590 :: [IPTorrents] :: GET URL: https://iptorrents.eu/t?73=&60=&q=Mr.%20Robot%20S02E07&qf=#torrents;o=seeders [Status: 200]
2016-08-18 22:07:01 DEBUG SEARCHQUEUE-MANUAL-289590 :: [IPTorrents] :: Search string: Mr. Robot S02E07
2016-08-18 22:07:01 DEBUG SEARCHQUEUE-MANUAL-289590 :: [IPTorrents] :: Search Mode: Episode
2016-08-18 22:07:01 DEBUG SEARCHQUEUE-MANUAL-289590 :: [IPTorrents] :: GET URL: https://iptorrents.eu/torrents/ [Status: 200]
2016-08-18 22:07:00 DEBUG SEARCHQUEUE-MANUAL-289590 :: [IPTorrents] :: With post data: username=*******&login=submit&password=********************
2016-08-18 22:07:00 DEBUG SEARCHQUEUE-MANUAL-289590 :: [IPTorrents] :: POST URL: https://iptorrents.eu/torrents/ [Status: 302]
2016-08-18 22:07:00 DEBUG SEARCHQUEUE-MANUAL-289590 :: [IPTorrents] :: GET URL: https://iptorrents.eu/torrents/ [Status: 200]
2016-08-18 22:07:00 INFO SEARCHQUEUE-MANUAL-289590 :: [IPTorrents] :: Performing episode search for Mr. Robot
2016-08-18 22:07:00 DEBUG SEARCHQUEUE-MANUAL-289590 :: [IPTorrents] :: Last update was too soon, using old cache: 2016-08-18 21:57:19. Updated less then 10 minutes ago
2016-08-18 22:07:00 INFO SEARCHQUEUE-MANUAL-289590 :: Beginning manual search for: [Mr. Robot - S02E07 - eps2.5_h4ndshake.sme]
Thanks for the issue report! Before a real human comes by, please make sure your report has all the below criteria checked
and for readabilityPlease make sure you also read how to create an issue and followed all of the steps.
The title should describe your issue. Having "SR not working" or "I get this bug" for 100 issues, isn't really helpful. We will close issues if there isn't enough information.
Sometimes the devs may seem like grunts and respond with short answers. This isn't (always) because the dev hates you, but because he's on mobile or busy fixing bugs. If something isn't clear, please let us know, and this bot may get updated to automatically answer you.
Thanks!
I'm running into the same issue.
Also using 4e8b9eeb3157adb5fcdee67ef68610c0bb65abf4 on KODIbuntu (ps. don't know how to make a proper quote of the log)
2016-08-18 23:32:55 INFO SEARCHQUEUE-MANUAL-247808 :: Unable to find a download for: [Suits - S06E06 - Spain] 2016-08-18 23:32:55 DEBUG SEARCHQUEUE-MANUAL-247808 :: formatting pattern: %SN - S%0SE%0E - %EN -> Suits - S06E06 - Spain
2016-08-18 23:32:55 DEBUG SEARCHQUEUE-MANUAL-247808 :: formatting pattern: %SN - S%0SE%0E - %EN -> Suits - S06E06 - Spain
2016-08-18 23:32:55 INFO SEARCHQUEUE-MANUAL-247808 :: [IPTorrents] :: Performing season pack search for Suits
2016-08-18 23:32:55 DEBUG SEARCHQUEUE-MANUAL-247808 :: [IPTorrents] :: Fallback season pack search initiate
2016-08-18 23:32:55 DEBUG SEARCHQUEUE-MANUAL-247808 :: [IPTorrents] :: Data returned from provider does not contain any torrents
2016-08-18 23:32:55 DEBUG SEARCHQUEUE-MANUAL-247808 :: [IPTorrents] :: GET URL: https://iptorrents.eu/t?73=&60=&q=Suits%20S06E06&qf=#torrents;o=seeders [Status: 200]
2016-08-18 23:32:55 DEBUG SEARCHQUEUE-MANUAL-247808 :: [IPTorrents] :: Search string: Suits S06E06 2016-08-18 23:32:55 DEBUG SEARCHQUEUE-MANUAL-247808 :: [IPTorrents] :: Search Mode: Episode
2016-08-18 23:32:55 INFO SEARCHQUEUE-MANUAL-247808 :: [IPTorrents] :: Performing episode search for Suits
2016-08-18 23:32:55 DEBUG SEARCHQUEUE-MANUAL-247808 :: [IPTorrents] :: Last update was too soon, using old cache:
2016-08-18 23:28:15. Updated less then 10 minutes ago
2016-08-18 23:32:55 INFO SEARCHQUEUE-MANUAL-247808 :: Beginning manual search for: [Suits - S06E06 - Spain]
2016-08-18 23:32:55 DEBUG SEARCHQUEUE-MANUAL-247808 :: formatting pattern: %SN - S%0SE%0E - %EN -> Suits - S06E06 - Spain
I can't into reading all of the guidelines for pull requests at the moment but replacing line 122 of iptorrents.py in sickrage/sickbeard/providers/:
torrent_table = html.find('table', class_='torrents')
with
torrent_table = html.find('table', attrs = {'id': 'torrents'})
fixes this issue for me.
Changing line 122 in SickRage/sickbeard/providers/iptorrents.py
from
torrent_table = html.find('table', class_='torrents')
to
torrent_table = html.find('table', id='torrents')
works for me
@LittleCerise Rock on... fixed here ;) Thanks!
Signed up to post suggested fix...beaten to it twice :p I changed "class_" to "id" the same as nucshuco to get mine working :)
This is for CouchPotato not SickRage, unless you are using an older version... nucshuco
torrent_table = html.find('table', class_='torrents')
with
torrent_table = html.find('table', attrs = {'id': 'torrents'})
but the second fix of changing the below does in fact work.
torrent_table = html.find('table', class_='torrents')
to
torrent_table = html.find('table', id='torrents')
@tvann2182 I think you meant LittleCerise
But this is the fix for CP
result_table = html.find('table', attrs = {'id': 'torrents'})
not
torrent_table = html.find('table', attrs = {'id': 'torrents'})
Most helpful comment
Changing line 122 in SickRage/sickbeard/providers/iptorrents.py
from
torrent_table = html.find('table', class_='torrents')to
torrent_table = html.find('table', id='torrents')works for me