projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc7e7ad
)
[yahoo] Yahoo doesn't like region names in lower cases
author
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 10 Jun 2016 04:28:09 +0000
(12:28 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 10 Jun 2016 04:28:56 +0000
(12:28 +0800)
Fix test_Yahoo_7
youtube_dl/extractor/yahoo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/yahoo.py
b/youtube_dl/extractor/yahoo.py
index b376f2b935da82d5b031bdf5b6910593f51add65..927a964a4c5036094d657a634c6df8f8874e00af 100644
(file)
--- a/
youtube_dl/extractor/yahoo.py
+++ b/
youtube_dl/extractor/yahoo.py
@@
-343,7
+343,7
@@
class YahooIE(InfoExtractor):
webpage, 'region', fatal=False, default='US')
data = compat_urllib_parse_urlencode({
'protocol': 'http',
- 'region': region,
+ 'region': region
.upper()
,
})
query_url = (
'https://video.media.yql.yahoo.com/v1/video/sapi/streams/'