Fixes to fit scrapertools changes

This commit is contained in:
thepasto
2019-04-13 13:37:54 +02:00
committed by mac12m99
parent a9090a1ef3
commit 293eff6454
38 changed files with 74 additions and 75 deletions
+1 -1
View File
@@ -321,7 +321,7 @@ def findvideos(item):
if item.extra:
data = httptools.downloadpage(item.url, headers=headers).data
blocco = scrapertools.get_match(data, r'%s(.*?)</tr>' % item.extra)
blocco = scrapertools.find_single_match(data, r'%s(.*?)</tr>' % item.extra)
url = scrapertools.find_single_match(blocco, r'<a href="([^"]+)"[^>]*>')
if 'vvvvid' in url.lower():
itemlist = [Item(title='I Video VVVVID Non sono supportati', text_color="red")]