1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-27 01:56:52 +00:00

[dramafever] Fix episode fallback

This commit is contained in:
Sergey M․ 2016-01-05 01:36:38 +06:00
parent bd19aa0ed3
commit a2e51e7b49

View file

@ -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