Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve PDF file detection, fix description #93

Merged
merged 3 commits into from
Aug 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion puremagic/magic_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@
["", 0, ".crt", "text/plain", "X.509 Certificate"],
["", 0, ".reg", "", "Windows Registry File"],
["", 0, ".md", "text/plain", "Markdown File"],
["", 0, ".json", "application/json", "Markdown File"],
["", 0, ".json", "application/json", "JSON File"],
["", 0, ".rst", "text/plain", "Restructured Text File"],
["", 0, ".cfg", "text/plain", "Configuration File"],
["", 0, ".flake8", "text/plain", "Flake 8 Configuration File"],
["", 0, ".coveragerc", "text/plain", "Coverage File"],
["", 0, ".c", "text/x-csrc", "C Code File"],
["", 0, ".cc", "text/x-csrc", "C Code File"],
["", 0, ".h", "text/x-csrc", "C Header File"],
["", 0, ".pdf", "application/pdf", "Adobe Portable Document Format file"],
["", 0, ".stl", "model/stl", "stereolithography CAD software"],
["", 0, ".srt", "application/x-subrip", "SubRip subtitles"],
["", 0, ".obj", "", "Relocatable object code"],
Expand Down Expand Up @@ -745,6 +746,7 @@
["000100004d534953414d204461746162617365", 0, ".mny", "application/x-msmoney", "Microsoft Money file"],
["000100005374616e64617264204a6574204442", 0, ".mdb", "application/x-msaccess", "Microsoft Access file"],
["25504446", 0, ".pdf", "application/pdf", "Adobe Portable Document Format file"],
["0d0a25504446", 0, ".pdf", "application/pdf", "Adobe Portable Document Format file"],
["a0461df0", 512, ".ppt", "application/vnd.ms-powerpoint", "Microsoft Office PowerPoint Presentation file"],
["cf11e0a1b11ae100", 0, ".doc", "application/msword", "Perfect Office Document file"],
["d0cf11e0a1b11ae1", 0, ".doc", "application/msword", "Microsoft Office Document file"],
Expand Down