Changeset 40165 in project


Ignore:
Timestamp:
06/02/21 08:37:01 (12 days ago)
Author:
Idiomdrottning
Message:

messed up formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/comic-snarfer

    r40163 r40165  
    1 
    21== Comic Snarfer
    32[[toc:]]
     
    2928
    3029{{--start-page=URL}}
    31 : Just a plain URL to whatever the page you want to start at.
     30
     31Just a plain URL to whatever the page you want to start at.
    3232
    3333{{--image-path=XPATH}}
    34 : An xpath pointing to the main snarfable content of the page. If this
    35   matches multiple things (multiple images for example), they will all
    36   be saved.
     34
     35An xpath pointing to the main snarfable content of the page. If this
     36matches multiple things (multiple images for example), they will all
     37be saved.
    3738
    3839{{--next-path=XPATH}}
    39 : An xpath pointing to the next page. If this matches multiple things,
    40   the snarfer follows the first one. If it doesn't match anything, the
    41   snarfer terminates.
     40
     41An xpath pointing to the next page. If this matches multiple things,
     42the snarfer follows the first one. If it doesn't match anything, the
     43snarfer terminates.
    4244
    4345There are two non-required options.
    4446
    4547{{--start-issue=NUMBER}}
    46 : The files are renamed to include their domain and their paths,
    47   because some webcomic sites just call it "comic.jpg" and depend on
    48   the paths to disambiguate. The snarfer also prefixes them with a
    49   number; this number is internal to the snarfer and just increments
    50   for everything it saves. It starts at the {{--start-issue}} number,
    51   but defaults at zero which is what you want most of the time. The
    52   point of this option is in case the snarfer crashed or was
    53   terminated and you want to resume with the same numbering.
     48
     49The files are renamed to include their domain and their paths,
     50because some webcomic sites just call it "comic.jpg" and depend on
     51the paths to disambiguate. The snarfer also prefixes them with a
     52number; this number is internal to the snarfer and just increments
     53for everything it saves. It starts at the {{--start-issue}} number,
     54but defaults at zero which is what you want most of the time. The
     55point of this option is in case the snarfer crashed or was
     56terminated and you want to resume with the same numbering.
    5457
    5558{{--for-real}}
    56 : The snarfer assumes a dry-run unless you supply this. I.e. without
    57   this flag, it only shows you what it ''would'' have saved from the
    58   first page, and it doesn't follow any links.
     59
     60The snarfer assumes a dry-run unless you supply this. I.e. without
     61this flag, it only shows you what it ''would'' have saved from the
     62first page, and it doesn't follow any links.
    5963
    6064
Note: See TracChangeset for help on using the changeset viewer.