Ludo blog

en
Aug 2017
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31

rurld

description

rurld for Range URL Downloader is a program which downloads a range url.

example

an example:

$ rurld -n http://home.zyrianes.net/p/basset[1-2].jpg
http://home.zyrianes.net/p/basset1.jpg
http://home.zyrianes.net/p/basset2.jpg

without '-n' option, it downloads these files with the wget program:

$ rurld http://home.zyrianes.net/p/basset[1-2].jpg
--00:03:05--  http://home.zyrianes.net/p/basset1.jpg
         => `basset1.jpg'
Resolving home.zyrianes.net... 82.245.192.46
Connecting to home.zyrianes.net|82.245.192.46|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 52,292 (51K) [image/jpeg]

100%[====================================>] 52,292        --.--K/s             

00:03:05 (6.82 MB/s) - `basset1.jpg' saved [52292/52292]

--00:03:05--  http://home.zyrianes.net/p/basset2.jpg
           => `basset2.jpg'
Reusing existing connection to home.zyrianes.net:80.
HTTP request sent, awaiting response... 200 OK
Length: 31,271 (31K) [image/jpeg]

100%[====================================>] 31,271        --.--K/s             

00:03:05 (101.78 MB/s) - `basset2.jpg' saved [31271/31271]


FINISHED --00:03:05--
Downloaded: 83,563 bytes in 2 files

A range URL is an URL like link with range indication '['start'-'end']' , see example.

another example:

$ rurld -n http://foo.com/pic[01-11].jpg
http://foo.com/pic01.jpg
http://foo.com/pic02.jpg
http://foo.com/pic03.jpg
http://foo.com/pic04.jpg
http://foo.com/pic05.jpg
http://foo.com/pic06.jpg
http://foo.com/pic07.jpg
http://foo.com/pic08.jpg
http://foo.com/pic09.jpg
http://foo.com/pic10.jpg
http://foo.com/pic11.jpg

help

use -h option:

$ rurld -h
Range URL Downloader, version 0.9, gpl
Usage: rurld [-n] [-h] <URL with range>
-n dry_run mode, just show urls
-h this help

for example: rurld http://foo.com/pic[01-11].jpg downloads files
from http://foo.com/pic01.jpg to http://foo.com/pic11.jpg

note that [01-11] produces 01->11 and [1-11] 1->11

required: wget ( http://www.gnu.org/software/wget/wget.html )

This is a simple self made python program.

Download

rurld v0.11

rurld-0.9 v0.9

by ludovic Bellier on Sun Jan 8 23:40:53 2006 (Viewed: 30494 / 147 comments )
  |   RSS  |   RSS2  |   Atom  |   Source  |   Edit
Comments not allowed anymore on this post