Skip to content

Search return with no results. #7

@EndermanAPM

Description

@EndermanAPM

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&amp[...]
re.sub(r'^.*?=', '', url, count=1)
Severs the url to: XZd2DwAAQBAJ&pg=PA283&amp[...]

What is the intended use of this line? Shouldn't it raise an exception when the return value is not valid?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions