youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 55290788d352168844c8e64d64428a76baa63eea
parent bc7e7adf5154f15b74b2df3e2989f630667778ce
Author: Yen Chi Hsuan <yan12125@gmail.com>
Date:   Fri, 10 Jun 2016 12:28:09 +0800

[yahoo] Yahoo doesn't like region names in lower cases

Fix test_Yahoo_7

Diffstat:
Myoutube_dl/extractor/yahoo.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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/'