From a2e51e7b49a193b326291842d03aa49dd08326f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Tue, 5 Jan 2016 01:36:38 +0600 Subject: [PATCH] [dramafever] Fix episode fallback --- youtube_dl/extractor/dramafever.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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