0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-26 02:55:17 +00:00

Make Twitch Video ID output from Playlist and VOD extractor same.

Is this sufficient for all cases?
This commit is contained in:
pukkandan 2020-10-26 08:06:04 +05:30
parent 909d24dd6d
commit 3f6eaea676

View file

@ -324,7 +324,7 @@ def _make_video_result(node):
return {
'_type': 'url_transparent',
'ie_key': TwitchVodIE.ie_key(),
'id': video_id,
'id': 'v'+ video_id,
'url': 'https://www.twitch.tv/videos/%s' % video_id,
'title': node.get('title'),
'thumbnail': node.get('previewThumbnailURL'),