warc 596 B

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