thumbnail for submityouflicks is fixed

This commit is contained in:
DiegoT
2019-01-29 00:33:34 +00:00
parent 7a07d59997
commit 8d77b4d080

View File

@@ -42,7 +42,7 @@ def videos(item):
patron += '<div class="inner-block[^<]+'
patron += '<a href="([^"]+)" title="([^"]+)"[^<]+'
patron += '<span class="image".*?'
patron += '<img src="([^"]+)"'
patron += '<img.*? data-src="([^"]+)"'
matches = re.compile(patron, re.DOTALL).findall(data)
for scrapedurl, scrapedtitle, scrapedthumbnail in matches:
title = scrapedtitle