Skip to content

Add retries to getting google search items #13

@raidastauras

Description

@raidastauras

Inside this:
https://github.com/RaidasGrisk/nameSpy/blob/73c78577b082775f9a2d0d02dfd4d6f58eb380ec/api/data_sources/google.py#L178

The following returns structure that contain no titles and snippets. Then nothing gets parsed.
https://github.com/RaidasGrisk/nameSpy/blob/73c78577b082775f9a2d0d02dfd4d6f58eb380ec/api/data_sources/google.py#L185-L188

Have to either:

  1. check if different countries return different structures and adapt
  2. make a decorator that will send the request again if structure is not as expected

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