diff options
Diffstat (limited to 'youtube_dl/extractor')
-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 |