diff options
author | pukkandan <pukkandan@gmail.com> | 2020-10-26 08:06:04 +0530 |
---|---|---|
committer | pukkandan <pukkandan@gmail.com> | 2020-12-13 20:05:03 +0530 |
commit | 3f6eaea676a2e4f4e3abed35ec9ffcf220e6298e (patch) | |
tree | c139a9c7fd784408bd8333bd1dfd67f5106872e0 | |
parent | 909d24dd6dc835e1291596dda17f962a6ec34875 (diff) | |
download | hypervideo-pre-3f6eaea676a2e4f4e3abed35ec9ffcf220e6298e.tar.lz hypervideo-pre-3f6eaea676a2e4f4e3abed35ec9ffcf220e6298e.tar.xz hypervideo-pre-3f6eaea676a2e4f4e3abed35ec9ffcf220e6298e.zip |
Make Twitch Video ID output from Playlist and VOD extractor same.
Is this sufficient for all cases?
-rw-r--r-- | youtube_dlc/extractor/twitch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dlc/extractor/twitch.py b/youtube_dlc/extractor/twitch.py index ab6654432..34892d69d 100644 --- a/youtube_dlc/extractor/twitch.py +++ b/youtube_dlc/extractor/twitch.py @@ -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'), |