monocongo / download_bulk Goto Github PK
View Code? Open in Web Editor NEWUtility scripts to facilitate bulk downloads of files from specified URLs and other parameters (wildcards, ranges, etc.)
License: MIT License
Utility scripts to facilitate bulk downloads of files from specified URLs and other parameters (wildcards, ranges, etc.)
License: MIT License
Create a script that will allow for the download of a collection of files with URLs of the form , for example on the page http://ubu.com/sound/burroughs_junky.html
there is a list of files:
http://ubusound.memoryoftheworld.org/burroughs_william/junky/William-S-Burroughs_Junky_01-Junky-I.mp3
http://ubusound.memoryoftheworld.org/burroughs_william/junky/William-S-Burroughs_Junky_02-Junky-II.mp3
http://ubusound.memoryoftheworld.org/burroughs_william/junky/William-S-Burroughs_Junky_03-Junky-III.mp3
so a script that will allow for downloading these needs to loop over a list of URLs to download which include the integer digit and Roman numeral. We'll allow for this by allowing the user to specify the start and end of the digit range and to substitute a string such as "" for the Roman numeral section. For example the command line options might be something like this:
$ python script.py --prefix http://ubusound.memoryoftheworld.org/burroughs_william/junky/William-S-Burroughs_Junky_ --postfix \-Junky-<roman>.mp3 --first 1 --last 36 --dest /home/james/audio/burroughs_junky
We will need to use a backslash on any prefix or postfix arguments that begin with a dash (for correct parsing by argparse
and subsequent code to remove the attendant double backslashes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.