]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[stitcher] Remove origEpisodeURL
authorSergey M․ <dstftw@gmail.com>
Sun, 25 Oct 2015 17:17:23 +0000 (23:17 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 25 Oct 2015 17:17:23 +0000 (23:17 +0600)
It's always 404

youtube_dl/extractor/stitcher.py

index 971a1c466b86fd1b435560a82aa41b9492a1824e..d5c852f5207bdad9510a720d69b0cd70527f9f3f 100644 (file)
@@ -64,7 +64,7 @@ class StitcherIE(InfoExtractor):
             'url': episode[episode_key],
             'ext': determine_ext(episode[episode_key]) or 'mp3',
             'vcodec': 'none',
-        } for episode_key in ('origEpisodeURL', 'episodeURL') if episode.get(episode_key)]
+        } for episode_key in ('episodeURL',) if episode.get(episode_key)]
         description = self._search_regex(
             r'Episode Info:\s*</span>([^<]+)<', webpage, 'description', fatal=False)
         duration = int_or_none(episode.get('duration'))