Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pokle/dlurl
Helps you download a range of numbered files from a URL.
https://github.com/pokle/dlurl
Last synced: 10 days ago
JSON representation
Helps you download a range of numbered files from a URL.
- Host: GitHub
- URL: https://github.com/pokle/dlurl
- Owner: pokle
- Created: 2010-03-08T13:09:02.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-03-09T00:20:35.000Z (over 14 years ago)
- Last Synced: 2023-03-11T00:19:12.182Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 74.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Helps you download a range of numbered files from a URL.
For example, running the following command
dlurl.py 'http://host/filename-[01-10].jpg'
produces the following output that can be piped to a shell to perform the actual download.curl http://host/filename-01.jpg > filename-01.jpg
curl http://host/filename-02.jpg > filename-02.jpg
curl http://host/filename-03.jpg > filename-03.jpg
curl http://host/filename-04.jpg > filename-04.jpg
curl http://host/filename-05.jpg > filename-05.jpg
curl http://host/filename-06.jpg > filename-06.jpg
curl http://host/filename-07.jpg > filename-07.jpg
curl http://host/filename-08.jpg > filename-08.jpg
curl http://host/filename-09.jpg > filename-09.jpg
curl http://host/filename-10.jpg > filename-10.jpgThis is identical to calling curl directly with the same pattern. You'll find this tool useful if you want to post-process the generated commands. For example, you could split the output into multiple scripts to easily download the files in parallel.