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
1 changed files with 1 additions and 1 deletions

View File

@ -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'),