Les pages de résultats de t411 sont effectivement différentes, le parsing doit être légèrement modifiée
Voiçi mon patch file:
diff --git couchpotato/core/media/_base/providers/torrent/t411.py couchpotato/core/media/_base/providers/torrent/t411.py
index 81d7515..e381f05 100644
--- couchpotato/core/media/_base/providers/torrent/t411.py
+++ couchpotato/core/media/_base/providers/torrent/t411.py
@@ -103,14 +103,14 @@ class Base(TorrentProvider):
try:
- categorie = result.find_all('td')[0].find_all('img')[0]['class']
+ categorie = result.find_all('td')[0].find_all('a')[0]['href']
+
insert = 0
-
- if categorie == ['cat-631']:
+ if categorie.find('/torrents/search/?subcat=631')>=0:
+ insert = 1
+ if categorie.find('/torrents/search/?subcat=455')>=0:
insert = 1
- if categorie == ['cat-455']:
- insert = 1
- if categorie == ['cat-634']:
+ if categorie.find('/torrents/search/?subcat=634')>=0:
insert = 1
if insert == 1 :