Skip to content
This repository was archived by the owner on Jun 18, 2023. It is now read-only.
This repository was archived by the owner on Jun 18, 2023. It is now read-only.

AttributeError: 'NoneType' object has no attribute 'group' #43

@bblue

Description

@bblue

The following line raises an AttributeError when the cache is being rebuilt. Seems re.search can return None. Not sure what the underlying issue is, but the error should at least exit the method a bit more graceful.

dl_function = re.search(r"function dl.*\}", soup.find("script").text).group(0)

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