aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-08-22 13:56:09 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-08-22 13:56:09 +0800
commit96229e5f95a5be622a694b464085bdea59134ccf (patch)
treed7b312346dc272232f6924181d5b5a6915a8e76d /youtube_dl/extractor
parent55d119e2a10ccbfadc12b9af30c495f46874c2a3 (diff)
[mtvservices:embedded] Update config URL
All starts from #10363. The test case in mtvservices:embedded uses config.xml, while the video from #10363 and the test case in generic.py is broken. Both uses index.html for fetching the feed URL.
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/mtv.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/mtv.py b/youtube_dl/extractor/mtv.py
index 2f455680e..200f340de 100644
--- a/youtube_dl/extractor/mtv.py
+++ b/youtube_dl/extractor/mtv.py
@@ -257,8 +257,8 @@ class MTVServicesEmbeddedIE(MTVServicesInfoExtractor):
def _get_feed_url(self, uri):
video_id = self._id_from_uri(uri)
site_id = uri.replace(video_id, '')
- config_url = ('http://media.mtvnservices.com/pmt/e1/players/{0}/'
- 'context4/context5/config.xml'.format(site_id))
+ config_url = ('http://media.mtvnservices.com/pmt-arc/e1/players/{0}/'
+ 'context52/config.xml'.format(site_id))
config_doc = self._download_xml(config_url, video_id)
feed_node = config_doc.find('.//feed')
feed_url = feed_node.text.strip().split('?')[0]