cdgriffith / cdgriffith/puremagic

How to get extension from MIME?

Open
#149 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
242
Forks
45
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.