Skip to content
This repository was archived by the owner on Feb 2, 2022. It is now read-only.
This repository was archived by the owner on Feb 2, 2022. It is now read-only.

take parsing outside of async functions #186

@mscarey

Description

@mscarey

Issue Type

  • Feature request

Current Behavior

The parse_page function currently gets called from within an async function, fetch_and_parse. This makes it hard for people who don't understand async programming (me) to step through and debug the parsing code. Specifically I'm having trouble debugging pull request #184.

Expected Behavior

Although it makes sense for the "fetch" part of fetch_and_parse to be async because that happens over the network, parsing doesn't need to be async.

Possible Solution

Take the parsing functionality out of the async functions.

Steps to Reproduce

Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    feedback/discussionDiscuss a specific aspect of the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions