thumbnail for submityouflicks is fixed

This commit is contained in:
DiegoT
2019-01-29 00:33:34 +00:00
parent 7a07d59997
commit 8d77b4d080
@@ -42,7 +42,7 @@ def videos(item):
patron += '<div class="inner-block[^<]+' patron += '<div class="inner-block[^<]+'
patron += '<a href="([^"]+)" title="([^"]+)"[^<]+' patron += '<a href="([^"]+)" title="([^"]+)"[^<]+'
patron += '<span class="image".*?' patron += '<span class="image".*?'
patron += '<img src="([^"]+)"' patron += '<img.*? data-src="([^"]+)"'
matches = re.compile(patron, re.DOTALL).findall(data) matches = re.compile(patron, re.DOTALL).findall(data)
for scrapedurl, scrapedtitle, scrapedthumbnail in matches: for scrapedurl, scrapedtitle, scrapedthumbnail in matches:
title = scrapedtitle title = scrapedtitle