diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-03-13 16:52:13 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-03-13 16:52:13 +0100 |
commit | c3d36f134f6dc3a1b974a8155108ce3f2a6e0a3b (patch) | |
tree | 3e318568f9b8fb2dfa4c8eaf05dd64e77ebbfa8c /youtube_dl/extractor/googlesearch.py | |
parent | 84769e708c81a1600ff24e7140c889fefc4aa6ef (diff) |
[googlesearch] Fix next page indicator check
Diffstat (limited to 'youtube_dl/extractor/googlesearch.py')
-rw-r--r-- | youtube_dl/extractor/googlesearch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/googlesearch.py b/youtube_dl/extractor/googlesearch.py index 5c2564270..383032d81 100644 --- a/youtube_dl/extractor/googlesearch.py +++ b/youtube_dl/extractor/googlesearch.py @@ -46,6 +46,6 @@ class GoogleSearchIE(SearchInfoExtractor): 'url': mobj.group(1) }) - if (len(entries) >= n) or not re.search(r'class="pn" id="pnnext"', webpage): + if (len(entries) >= n) or not re.search(r'id="pnnext"', webpage): res['entries'] = entries[:n] return res |