aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorAdrian Heine né Lang <mail@adrianheine.de>2021-01-27 20:06:12 +0100
committerGitHub <noreply@github.com>2021-01-28 02:06:12 +0700
commitfd95fc33b13d732002d53c35521f17184d14cc21 (patch)
tree9147d6d923911be99af71b8854ae633f9e70f3ce /youtube_dl
parentc669554ef5491302eb20fc2bcb52339ea1a4ac1a (diff)
[awaan] Extract uploader id (#27963)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/awaan.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/awaan.py b/youtube_dl/extractor/awaan.py
index a2603bbff..3a7700cd4 100644
--- a/youtube_dl/extractor/awaan.py
+++ b/youtube_dl/extractor/awaan.py
@@ -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