aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-01-05 01:36:38 +0600
committerSergey M․ <dstftw@gmail.com>2016-01-05 01:36:38 +0600
commita2e51e7b49a193b326291842d03aa49dd08326f2 (patch)
treec1905781c7ae3c06e9c9697e7d7e1ce02d37dd98 /youtube_dl
parentbd19aa0ed32ca4d041e691d47697ad7b82454b69 (diff)
[dramafever] Fix episode fallback
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/dramafever.py2
1 files changed, 1 insertions, 1 deletions
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