Merge pull request #1677 from rzhxeo/xtube
[youtube-dl] / youtube_dl / extractor / youtube.py
index a19abe1f0a2ad72f7d6f606278a4ae4577902f39..6ddd6ef06791d52de1245dc1d1744f32be4d96f5 100644 (file)
@@ -1485,7 +1485,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
                 'subtitles':    video_subtitles,
                 'duration':     video_duration,
                 'age_limit':    18 if age_gate else 0,
-                'annotations':  video_annotations
+                'annotations':  video_annotations,
+                'webpage_url': 'https://www.youtube.com/watch?v=%s' % video_id,
             })
         return results