[tver] correct episode_number key
authorRemita Amine <remitamine@gmail.com>
Wed, 2 Dec 2020 21:49:51 +0000 (22:49 +0100)
committerRemita Amine <remitamine@gmail.com>
Wed, 2 Dec 2020 21:49:51 +0000 (22:49 +0100)
youtube_dl/extractor/tver.py

index c5299722d3b9f2866e276ec46ca1191c037e520a..931d4d6507611bd8432bc5b86ec33cfdd31f00b3 100644 (file)
@@ -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':