[googlesearch] Fix next page indicator check
This commit is contained in:
parent
84769e708c
commit
c3d36f134f
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue