diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-01-05 01:36:38 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-01-05 01:36:38 +0600 |
commit | a2e51e7b49a193b326291842d03aa49dd08326f2 (patch) | |
tree | c1905781c7ae3c06e9c9697e7d7e1ce02d37dd98 | |
parent | bd19aa0ed32ca4d041e691d47697ad7b82454b69 (diff) |
[dramafever] Fix episode fallback
-rw-r--r-- | youtube_dl/extractor/dramafever.py | 2 |
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 |