[awaan] Extract uploader id (#27963)

This commit is contained in:
=?UTF-8?q?Adrian=20Heine=20n=C3=A9=20Lang?= 2021-02-26 16:24:30 +01:00 committed by Laura Liberda
parent 6a18fcbd8a
commit 00197b5fa8

View 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