1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-29 05:32:00 +00:00

[tver] correct episode_number key

This commit is contained in:
Remita Amine 2020-12-02 22:49:51 +01:00
parent 664dd8ba85
commit ea89680aea

View file

@ -43,7 +43,7 @@ class TVerIE(InfoExtractor):
info = { info = {
'_type': 'url_transparent', '_type': 'url_transparent',
'description': try_get(main, lambda x: x['note'][0]['text'], compat_str), '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': if service == 'cx':