mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
Fix searching IPTorrentsProvider.
This commit is contained in:
parent
d452f199b6
commit
b7c37ccaf7
@ -174,6 +174,7 @@ class IPTorrentsProvider(generic.TorrentProvider):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
data = re.sub(r'<button.+?<[\/]button>', '', data, 0, re.IGNORECASE | re.MULTILINE)
|
||||||
with BS4Parser(data, features=["html5lib", "permissive"]) as html:
|
with BS4Parser(data, features=["html5lib", "permissive"]) as html:
|
||||||
if not html:
|
if not html:
|
||||||
logger.log(u"Invalid HTML data: " + str(data), logger.DEBUG)
|
logger.log(u"Invalid HTML data: " + str(data), logger.DEBUG)
|
||||||
|
Loading…
Reference in New Issue
Block a user