Forgot to reverse extracted video urls so they are in correct order for video selection args

This commit is contained in:
Gabriel Schubiner 2014-10-20 18:38:42 -07:00
parent 8230018c20
commit 1b10a011ec

View file

@ -306,6 +306,7 @@ def _extract_title_entries(self,id,webpage):
title = self._html_search_regex(self._TITLE_EXTR,webpage,"title",flags=re.UNICODE|re.MULTILINE)
episode_urls = [self.url_result('http://www.crunchyroll.com/{0}/{1}'.format(id, showmatch[1])) for
showmatch in re.findall(_EPISODE_ID_EXTR, webpage,re.UNICODE|re.MULTILINE|re.DOTALL)]
episode_urls.reverse()
return title, episode_urls