Merge pull request #12 from KoDiGo14/patch-1
puts in order the episodes starting from 1x01
This commit is contained in:
@@ -174,7 +174,7 @@ def episodiosxtemp(item):
|
|||||||
patron = '<td><h3 class=".*?href="([^"]+)".*?">([^<]+).*?td>'
|
patron = '<td><h3 class=".*?href="([^"]+)".*?">([^<]+).*?td>'
|
||||||
matches = re.compile(patron, re.DOTALL).findall(data)
|
matches = re.compile(patron, re.DOTALL).findall(data)
|
||||||
|
|
||||||
for scrapedurl, scrapedtitle in matches:
|
for scrapedurl, scrapedtitle in matches[::-1]:
|
||||||
url = scrapedurl
|
url = scrapedurl
|
||||||
contentEpisodeNumber = re.findall(r'.*?x([^\/]+)\/', url)
|
contentEpisodeNumber = re.findall(r'.*?x([^\/]+)\/', url)
|
||||||
title = scrapedtitle
|
title = scrapedtitle
|
||||||
|
|||||||
Reference in New Issue
Block a user