-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
python-gsearch/gsearch/googlesearch.py
Line 120 in fba2f42
| url = re.sub(r'^.*?=', '', url, count=1) # prefixed over urls \url=q? |
Is effectively destroying the results on son querys.
When searching for: 170PP+270PP
Returns the url https://books.google.es/books?id=XZd2DwAAQBAJ&[...]
re.sub(r'^.*?=', '', url, count=1)
Severs the url to: XZd2DwAAQBAJ&pg=PA283&[...]
What is the intended use of this line? Shouldn't it raise an exception when the return value is not valid?
Heath123
Metadata
Metadata
Assignees
Labels
No labels