From: Sergey M․ Date: Mon, 4 Jan 2016 19:36:38 +0000 (+0600) Subject: [dramafever] Fix episode fallback X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=a2e51e7b49a193b326291842d03aa49dd08326f2;p=youtube-dl [dramafever] Fix episode fallback --- diff --git a/youtube_dl/extractor/dramafever.py b/youtube_dl/extractor/dramafever.py index a14021a9e..9f5e82f56 100644 --- a/youtube_dl/extractor/dramafever.py +++ b/youtube_dl/extractor/dramafever.py @@ -119,7 +119,7 @@ class DramaFeverIE(DramaFeverBaseIE): episode_fallback = 'Episode' if episode_number: episode_fallback += ' %d' % episode_number - info['episode'] = v.get('title', episode_fallback) + info['episode'] = v.get('title') or episode_fallback info['episode_number'] = episode_number break