Merge pull request #541 from diegotcba/master

thumbnail for submityouflicks is fixed
This commit is contained in:
Alfa
2019-01-30 14:17:08 -05:00
committed by GitHub

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