xref: /freebsd/contrib/file/magic/Magdir/warc (revision 48c779cdecb5f803e5fe5d761987e976ca9609db)
1b6cee71dSXin LI
2b6cee71dSXin LI#------------------------------------------------------------------------------
3*48c779cdSXin LI# $File: warc,v 1.4 2019/04/19 00:42:27 christos Exp $
4b6cee71dSXin LI# warc:  file(1) magic for WARC files
5b6cee71dSXin LI
6b6cee71dSXin LI0	string	WARC/	WARC Archive
7b6cee71dSXin LI>5	string	x	version %.4s
8b6cee71dSXin LI!:mime application/warc
9b6cee71dSXin LI
10b6cee71dSXin LI#------------------------------------------------------------------------------
11b6cee71dSXin LI# Arc File Format from Internet Archive
12*48c779cdSXin LI# see https://www.archive.org/web/researcher/ArcFileFormat.php
13b6cee71dSXin LI0      string          filedesc://     Internet Archive File
14b6cee71dSXin LI!:mime application/x-ia-arc
15b6cee71dSXin LI>11    search/256      \x0A    \b
16b6cee71dSXin LI>>&0   ubyte   >0      \b version %c
17