mirror of https://github.com/yt-dlp/yt-dlp.git
Make Twitch Video ID output from Playlist and VOD extractor same.
Is this sufficient for all cases?
This commit is contained in:
parent
909d24dd6d
commit
3f6eaea676
|
@ -324,7 +324,7 @@ def _make_video_result(node):
|
||||||
return {
|
return {
|
||||||
'_type': 'url_transparent',
|
'_type': 'url_transparent',
|
||||||
'ie_key': TwitchVodIE.ie_key(),
|
'ie_key': TwitchVodIE.ie_key(),
|
||||||
'id': video_id,
|
'id': 'v'+ video_id,
|
||||||
'url': 'https://www.twitch.tv/videos/%s' % video_id,
|
'url': 'https://www.twitch.tv/videos/%s' % video_id,
|
||||||
'title': node.get('title'),
|
'title': node.get('title'),
|
||||||
'thumbnail': node.get('previewThumbnailURL'),
|
'thumbnail': node.get('previewThumbnailURL'),
|
||||||
|
|
Loading…
Reference in New Issue