]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[ruutu] Update API endpoint (closes #18138)
authorSergey M․ <dstftw@gmail.com>
Sat, 10 Nov 2018 08:22:59 +0000 (15:22 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 10 Nov 2018 08:26:04 +0000 (15:26 +0700)
youtube_dl/extractor/ruutu.py

index 9fa8688f838c902de682ed69e1caedc93ed5f4bc..f530f0083faf5ccc60c1f24a9a0b731157271199 100644 (file)
@@ -65,7 +65,8 @@ class RuutuIE(InfoExtractor):
         video_id = self._match_id(url)
 
         video_xml = self._download_xml(
-            'http://gatling.ruutu.fi/media-xml-cache?id=%s' % video_id, video_id)
+            'https://gatling.nelonenmedia.fi/media-xml-cache', video_id,
+            query={'id': video_id})
 
         formats = []
         processed_urls = []