mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fix searching IPTorrentsProvider.
This commit is contained in:
parent
d452f199b6
commit
b7c37ccaf7
1 changed files with 1 additions and 0 deletions
|
@ -174,6 +174,7 @@ class IPTorrentsProvider(generic.TorrentProvider):
|
|||
continue
|
||||
|
||||
try:
|
||||
data = re.sub(r'<button.+?<[\/]button>', '', data, 0, re.IGNORECASE | re.MULTILINE)
|
||||
with BS4Parser(data, features=["html5lib", "permissive"]) as html:
|
||||
if not html:
|
||||
logger.log(u"Invalid HTML data: " + str(data), logger.DEBUG)
|
||||
|
|
Loading…
Reference in a new issue