]> jfr.im git - yt-dlp.git/commitdiff
Make Twitch Video ID output from Playlist and VOD extractor same.
authorpukkandan <redacted>
Mon, 26 Oct 2020 02:36:04 +0000 (08:06 +0530)
committerpukkandan <redacted>
Sun, 13 Dec 2020 14:35:03 +0000 (20:05 +0530)
Is this sufficient for all cases?

youtube_dlc/extractor/twitch.py

index ab665443271106415536dd6db63c1449cf195f6e..34892d69d9d25204b779b48b5f4cbb930536f567 100644 (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'),