Skip to content

How to get extension from MIME? #149

Description

@eight04

I used to use magic_header_array to convert MIME to extension in 1.x:
https://github.com/eight04/ComicCrawler/blob/b37fb427702c6dd263ee9bad05988b334c910411/comiccrawler/filename_ext.py#L8-L17

It seems that magic_header_array was removed in 2.0. Is there an alternative API?

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