]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/funnyordie.py
Update version in the changelog.
[youtubedl] / youtube_dl / extractor / funnyordie.py
index dd87257c465983dcda30a6faf5dbd7bc0950560c..f5f13689c0a8310d0e241f0cd24617d90799c701 100644 (file)
@@ -53,7 +53,7 @@ class FunnyOrDieIE(InfoExtractor):
         for bitrate in bitrates:
             for link in links:
                 formats.append({
         for bitrate in bitrates:
             for link in links:
                 formats.append({
-                    'url': '%s%d.%s' % (link[0], bitrate, link[1]),
+                    'url': self._proto_relative_url('%s%d.%s' % (link[0], bitrate, link[1])),
                     'format_id': '%s-%d' % (link[1], bitrate),
                     'vbr': bitrate,
                 })
                     'format_id': '%s-%d' % (link[1], bitrate),
                     'vbr': bitrate,
                 })