Update pedropolis.py

This commit is contained in:
Alfa
2017-09-23 21:07:49 -04:00
committed by GitHub
parent 1f82201f22
commit ef455a6306

View File

@@ -422,7 +422,6 @@ def findvideos(item):
data = httptools.downloadpage(item.url).data
data = re.sub(r"\n|\r|\t|\s{2}| ", "", data)
lang = {'mx': 'LAT', 'pe': 'LAT'}
# logger.info(data)
patron = '<div id="option-(\d+)" class="[^"]+"><iframe.*?src="([^"]+)".*?</iframe>' #
matches = re.compile(patron, re.DOTALL).findall(data)