diff options
author | Rogério Brito <rbrito@ime.usp.br> | 2013-11-11 22:27:50 -0200 |
---|---|---|
committer | Rogério Brito <rbrito@ime.usp.br> | 2013-11-11 22:27:50 -0200 |
commit | 90cd207d52d77e075e62cc256cc39dceee05bbf3 (patch) | |
tree | e3ee05c0919f47d0b53fb93cf6bb822e0d4c795a /youtube_dl/extractor/yahoo.py | |
parent | 9c8b63077a48f758bf0c9a7351669557071bbd74 (diff) | |
download | youtube-dl-90cd207d52d77e075e62cc256cc39dceee05bbf3.zip youtube-dl-90cd207d52d77e075e62cc256cc39dceee05bbf3.tar.gz youtube-dl-90cd207d52d77e075e62cc256cc39dceee05bbf3.tar.bz2 |
Imported Upstream version 2013.11.11
Diffstat (limited to 'youtube_dl/extractor/yahoo.py')
-rw-r--r-- | youtube_dl/extractor/yahoo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/yahoo.py b/youtube_dl/extractor/yahoo.py index 464b498..34e6afb 100644 --- a/youtube_dl/extractor/yahoo.py +++ b/youtube_dl/extractor/yahoo.py @@ -132,7 +132,7 @@ class YahooSearchIE(SearchInfoExtractor): mobj = re.search(r'(?P<url>screen\.yahoo\.com/.*?-\d*?\.html)"', r) e = self.url_result('http://' + mobj.group('url'), 'Yahoo') res['entries'].append(e) - if (pagenum * 30 +i >= n) or (m[u'last'] >= (m[u'total'] -1 )): + if (pagenum * 30 +i >= n) or (m[u'last'] >= (m[u'total'] -1)): break return res |