[awaan] Extract uploader id (#27963)
authorAdrian Heine né Lang <mail@adrianheine.de>
Wed, 27 Jan 2021 19:06:12 +0000 (20:06 +0100)
committerGitHub <noreply@github.com>
Wed, 27 Jan 2021 19:06:12 +0000 (02:06 +0700)
youtube_dl/extractor/awaan.py

index a2603bbffef454481143cb253a24cdb0f4909ec1..3a7700cd43f16a4de52044b2193f5dc13208eebc 100644 (file)
@@ -48,6 +48,7 @@ class AWAANBaseIE(InfoExtractor):
             'duration': int_or_none(video_data.get('duration')),
             'timestamp': parse_iso8601(video_data.get('create_time'), ' '),
             'is_live': is_live,
+            'uploader_id': video_data.get('user_id'),
         }
 
 
@@ -107,6 +108,7 @@ class AWAANLiveIE(AWAANBaseIE):
             'title': 're:Dubai Al Oula [0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}$',
             'upload_date': '20150107',
             'timestamp': 1420588800,
+            'uploader_id': '71',
         },
         'params': {
             # m3u8 download