mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-01-22 03:10:11 +09:00
Add language to media url
This commit is contained in:
parent
ebfd66c4b1
commit
12539cb85b
@ -140,6 +140,9 @@ class MTVServicesInfoExtractor(InfoExtractor):
|
||||
mediagen_url += '&' if '?' in mediagen_url else '?'
|
||||
mediagen_url += 'acceptMethods='
|
||||
mediagen_url += 'hls' if use_hls else 'fms'
|
||||
if (self._LANG):
|
||||
mediagen_url += '&' if '?' in mediagen_url else '?'
|
||||
mediagen_url += 'lang='+ self._LANG
|
||||
|
||||
mediagen_doc = self._download_xml(
|
||||
mediagen_url, video_id, 'Downloading video urls', fatal=False)
|
||||
|
Loading…
Reference in New Issue
Block a user