1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-27 21:46:54 +01:00

[stitcher] Remove origEpisodeURL

It's always 404
This commit is contained in:
Sergey M․ 2015-10-25 23:17:23 +06:00
parent 4f13f8f798
commit 7b3a19e533

View File

@ -64,7 +64,7 @@ class StitcherIE(InfoExtractor):
'url': episode[episode_key], 'url': episode[episode_key],
'ext': determine_ext(episode[episode_key]) or 'mp3', 'ext': determine_ext(episode[episode_key]) or 'mp3',
'vcodec': 'none', '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( description = self._search_regex(
r'Episode Info:\s*</span>([^<]+)<', webpage, 'description', fatal=False) r'Episode Info:\s*</span>([^<]+)<', webpage, 'description', fatal=False)
duration = int_or_none(episode.get('duration')) duration = int_or_none(episode.get('duration'))