mirror of https://github.com/yt-dlp/yt-dlp.git
[dramafever] Fix episode fallback
This commit is contained in:
parent
bd19aa0ed3
commit
a2e51e7b49
|
@ -119,7 +119,7 @@ class DramaFeverIE(DramaFeverBaseIE):
|
||||||
episode_fallback = 'Episode'
|
episode_fallback = 'Episode'
|
||||||
if episode_number:
|
if episode_number:
|
||||||
episode_fallback += ' %d' % 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
|
info['episode_number'] = episode_number
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue