X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/af478477605bdf3f5d57562035885cfee905f379..482ffa3c82c37471f3abc23d0ce3d0ab730226a7:/youtube_dl/extractor/googlesearch.py diff --git a/youtube_dl/extractor/googlesearch.py b/youtube_dl/extractor/googlesearch.py index 5c25642..383032d 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