mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-18 10:16:47 +00:00
Add explanations to use exact url flag to Readme
This commit is contained in:
parent
e0982e9544
commit
b6f3d6f808
19
README.md
19
README.md
@ -26,15 +26,16 @@ It will download the last version of every file present on Wayback Machine to `.
|
|||||||
|
|
||||||
## Advanced Usage
|
## Advanced Usage
|
||||||
|
|
||||||
Usage: wayback_machine_downloader http://example.com
|
Usage: wayback_machine_downloader http://example.com
|
||||||
|
|
||||||
Download an entire website from the Wayback Machine.
|
Download an entire website from the Wayback Machine.
|
||||||
|
|
||||||
Optional options:
|
Optional options:
|
||||||
-d, --directory PATH Directory to save the downloaded files into
|
-d, --directory PATH Directory to save the downloaded files into
|
||||||
Default is ./websites/ plus the domain name
|
Default is ./websites/ plus the domain name
|
||||||
-f, --from TIMESTAMP Only files on or after timestamp supplied (ie. 20060716231334)
|
-f, --from TIMESTAMP Only files on or after timestamp supplied (ie. 20060716231334)
|
||||||
-t, --to TIMESTAMP Only files on or before timestamp supplied (ie. 20100916231334)
|
-t, --to TIMESTAMP Only files on or before timestamp supplied (ie. 20100916231334)
|
||||||
|
-e, --exact_url Download only the url provied and not the full site
|
||||||
-o, --only ONLY_FILTER Restrict downloading to urls that match this filter
|
-o, --only ONLY_FILTER Restrict downloading to urls that match this filter
|
||||||
(use // notation for the filter to be treated as a regex)
|
(use // notation for the filter to be treated as a regex)
|
||||||
-x, --exclude EXCLUDE_FILTER Skip downloading of urls that match this filter
|
-x, --exclude EXCLUDE_FILTER Skip downloading of urls that match this filter
|
||||||
@ -44,11 +45,12 @@ Download an entire website from the Wayback Machine.
|
|||||||
Default is one file at a time (ie. 20)
|
Default is one file at a time (ie. 20)
|
||||||
-p, --maximum-snapshot NUMBER Maximum snapshot pages to consider (Default is 100)
|
-p, --maximum-snapshot NUMBER Maximum snapshot pages to consider (Default is 100)
|
||||||
Count an average of 150,000 snapshots per page
|
Count an average of 150,000 snapshots per page
|
||||||
-l, --list Only list file urls in a JSON format with the archived timestamps, won't download anything.
|
-l, --list Only list file urls in a JSON format with the archived timestamps, won't download anything
|
||||||
-v, --version Display version
|
-v, --version Display version
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Specify directory to save files to
|
## Specify directory to save files to
|
||||||
|
|
||||||
-d, --directory PATH
|
-d, --directory PATH
|
||||||
@ -81,6 +83,17 @@ Example:
|
|||||||
|
|
||||||
wayback_machine_downloader http://example.com --to 20100916231334
|
wayback_machine_downloader http://example.com --to 20100916231334
|
||||||
|
|
||||||
|
## Exact Url
|
||||||
|
|
||||||
|
-e, --exact_url
|
||||||
|
|
||||||
|
Optional. If you want to retrieve only the file matching exactly the url provided, you can use this flag. It will avoid downloading anything else.
|
||||||
|
|
||||||
|
For example, if you only want to download only the html homepage file of example.com:
|
||||||
|
|
||||||
|
wayback_machine_downloader http://example.com --exact_url
|
||||||
|
|
||||||
|
|
||||||
## Only URL Filter
|
## Only URL Filter
|
||||||
|
|
||||||
-o, --only ONLY_FILTER
|
-o, --only ONLY_FILTER
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user