logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: ea89680aeae7c26af355ac23038e3a45f116649e
parent 664dd8ba854238207fa1421a4f353606406dcded
Author: Remita Amine <remitamine@gmail.com>
Date:   Wed,  2 Dec 2020 22:49:51 +0100

[tver] correct episode_number key

Diffstat:

Myoutube_dl/extractor/tver.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/tver.py b/youtube_dl/extractor/tver.py @@ -43,7 +43,7 @@ class TVerIE(InfoExtractor): info = { '_type': 'url_transparent', 'description': try_get(main, lambda x: x['note'][0]['text'], compat_str), - 'episode': int_or_none(try_get(main, lambda x: x['ext']['episode_number'])), + 'episode_number': int_or_none(try_get(main, lambda x: x['ext']['episode_number'])), } if service == 'cx':