Skip to content

Make separate crawl for slow HTML queries #45

Description

@ddxv
        if html_scraped_at is None or html_scraped_at < datetime.datetime.now(
            tz=datetime.UTC
        ) - datetime.timedelta(days=29):
            result_dict = scrape_itunes_additional_html(result_dict, store_id, country)

Apple is very slow / 401 often so do this separately from the API calls which don't need to be slowed by this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions