comicbox.identifiers.other

source module comicbox.identifiers.other

Non urn identifier substring parsers.

Functions

source parse_identifier_other_str(full_identifier: str)tuple[IdSources | None, str, str]

Parse an identifier string with optional prefix.

The string has to be an identifier and nothing else. Matching a substring turned every tag and genre that merely contained something identifier shaped into an id: “marvel-comics” was a marvel id, and a year range like “2019-2021” was a comicvine one.