Download's Block
URL List
You can specify multiple URLs for downloading files. Each URL should be placed on a new line. Optionally, you can append !ignore to a URL to indicate that it should be skipped during the download process.
Example Usage:
downloads {
https://example.com/file1.pdf !ignore
https://example.com/file2.pdf
https://example.com/file3.pdf !ignore
https://example.com/file4.pdf
https://example.com/file5.pdf !ignore
https://example.com/file6.pdf
}
In this example:
https://example.com/file1.pdfwill be skipped because it is followed by!ignore.https://example.com/file2.pdfwill be downloaded.https://example.com/file3.pdfwill be skipped because it is followed by!ignore.https://example.com/file4.pdfwill be downloaded.https://example.com/file5.pdfwill be skipped because it is followed by!ignore.https://example.com/file6.pdfwill be downloaded.
Path Configuration
You can specify the directory where the downloaded files should be stored by setting the path variable. This ensures that all files are saved in the specified folder in your file system.
Example Usage:
path "path/to/folder"
In this example:
- All downloaded files will be stored in the directory
path/to/folder.
Ignoring Specific URLs
The !ignore macro allows you to skip specific URLs in your download list. This is useful if you have certain files that you do not want to download during a particular operation.
Example Usage:
https://example.com/file1.pdf !ignore
In this example:
- The URL
https://example.com/file1.pdfwill be omitted from the download process because it is followed by the!ignoredirective.
Summary
- Download URLs: List URLs line by line. Append
!ignoreto skip specific URLs.
downloads {
https://example.com/file1.pdf !ignore
https://example.com/file2.pdf
}
path variable.
path "path/to/folder"
!ignore to bypass certain URLs.
https://example.com/file1.pdf !ignore
By following these instructions, you can efficiently manage your download list, specify storage directories, and selectively ignore certain files.