浏览代码

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

Gabriel Schubiner 11 年之前
父节点
当前提交
1b10a011ec
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      youtube_dl/extractor/crunchyroll.py

+ 1 - 0
youtube_dl/extractor/crunchyroll.py

@@ -306,6 +306,7 @@ class CrunchyrollShowPlaylistIE(InfoExtractor):
         title = self._html_search_regex(self._TITLE_EXTR,webpage,"title",flags=re.UNICODE|re.MULTILINE)
         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
         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)]
                     showmatch in re.findall(_EPISODE_ID_EXTR, webpage,re.UNICODE|re.MULTILINE|re.DOTALL)]
+        episode_urls.reverse()
         return title, episode_urls
         return title, episode_urls