fathom label¶
Apply a whole-page label to each page in a directory.
Add the data-fathom
attribute with a value of IN_TYPE to the
opening tag of any <html>
elements in the HTML pages in
IN_DIRECTORY. This tool is used to label an entire webpage (e.g.
IN_TYPE could be “article” for article webpages).
fathom label [OPTIONS] IN_DIRECTORY IN_TYPE
Options
-
--preserve-originals
,
--no-preserve-originals
¶
Save original HTML files in a newly created originals directory in IN_DIRECTORY (default: True)
-
--number-of-workers
<number_of_workers>
¶ Use the specified number of workers to speed up the labeling process (default: the number of logical cores the machine has)
Arguments
-
IN_DIRECTORY
¶
Required argument
-
IN_TYPE
¶
Required argument