mirror of
https://github.com/StrawberryMaster/wayback-machine-downloader.git
synced 2025-12-17 17:56:44 +00:00
Improve Readme readability for the only_filter explanation
This commit is contained in:
parent
d804c3a463
commit
1963bda13b
10
README.md
10
README.md
@ -30,9 +30,15 @@ Wayback Machine Downloader will then fetch only file versions on or prior to the
|
||||
|
||||
## Optional Only URL Filter
|
||||
|
||||
You may want to retrieve files that are of certain type (e.g., .pdf, .jpg, .wrd...) or are in a specific directory. To do so, you can supply the `--only` flag with a string or a Regex to limit what Wayback Machine Downloader will download.
|
||||
You may want to retrieve files which are of a certain type (e.g., .pdf, .jpg, .wrd...) or are in a specific directory. To do so, you can supply the `--only` flag with a string or a regex (using the '/regex/' notation) to limit which files Wayback Machine Downloader will download.
|
||||
|
||||
wayback_machine_downloader http://example.com --only \.pdf
|
||||
For example, if you want to download files only inside a specific `my_directory`:
|
||||
|
||||
wayback_machine_downloader http://example.com --only my_directory
|
||||
|
||||
Or if you want to download every images without anything else:
|
||||
|
||||
wayback_machine_downloader http://example.com --only '/\.(gif|jpg|jpeg)$/i'
|
||||
|
||||
## Contributing
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user