mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-03 23:25:06 +00:00
[yahoo] Yahoo doesn't like region names in lower cases
Fix test_Yahoo_7
This commit is contained in:
parent
bc7e7adf51
commit
55290788d3
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ def _get_info(self, video_id, display_id, webpage):
|
||||||
webpage, 'region', fatal=False, default='US')
|
webpage, 'region', fatal=False, default='US')
|
||||||
data = compat_urllib_parse_urlencode({
|
data = compat_urllib_parse_urlencode({
|
||||||
'protocol': 'http',
|
'protocol': 'http',
|
||||||
'region': region,
|
'region': region.upper(),
|
||||||
})
|
})
|
||||||
query_url = (
|
query_url = (
|
||||||
'https://video.media.yql.yahoo.com/v1/video/sapi/streams/'
|
'https://video.media.yql.yahoo.com/v1/video/sapi/streams/'
|
||||||
|
|
Loading…
Reference in a new issue