<?xml version="1.0" encoding="iso-8859-1"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<title>Zyrianes / Python</title>
<link rel="alternate" type="text/html" href="http://home.zyrianes.net/blog/Sections/65/"/>
<modified>2006-02-17T00:39:58Z</modified>



<entry>
<title>rurld</title>
<link rel="alternate" type="text/html" href="http://home.zyrianes.net/blog/Articles/154/"/>
<id>http://home.zyrianes.net/blog/Articles/154/</id>

<author>
<name>ludovic Bellier</name>
</author>
<issued>2006-01-08T22:40:53Z</issued>
<modified>2006-02-17T00:39:58Z</modified>
<content type="text/html" mode="escaped">
&lt;div class="section" id="description"&gt;
&lt;h1&gt;&lt;a name="description"&gt;description&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;rurld for Range URL Downloader is a program which downloads a range url.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="example"&gt;
&lt;h1&gt;&lt;a name="example"&gt;example&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;an example:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ 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
&lt;/pre&gt;
&lt;p&gt;without '-n' option, it downloads these files with the &lt;a class="reference" href="http://www.gnu.org/software/wget/wget.html"&gt;wget&lt;/a&gt; program:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ rurld http://home.zyrianes.net/p/basset[1-2].jpg
--00:03:05--  http://home.zyrianes.net/p/basset1.jpg
         =&amp;gt; `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%[====================================&amp;gt;] 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
           =&amp;gt; `basset2.jpg'
Reusing existing connection to home.zyrianes.net:80.
HTTP request sent, awaiting response... 200 OK
Length: 31,271 (31K) [image/jpeg]

100%[====================================&amp;gt;] 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
&lt;/pre&gt;
&lt;p&gt;A range URL is an URL like link with range indication '['start'-'end']' , see example.&lt;/p&gt;
&lt;p&gt;another example:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ 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
&lt;/pre&gt;
&lt;/div&gt;
&lt;div class="section" id="help"&gt;
&lt;h1&gt;&lt;a name="help"&gt;help&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;use -h option:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
$ rurld -h
Range URL Downloader, version 0.9, gpl
Usage: rurld [-n] [-h] &amp;lt;URL with range&amp;gt;
-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-&amp;gt;11 and [1-11] 1-&amp;gt;11

required: wget ( http://www.gnu.org/software/wget/wget.html )
&lt;/pre&gt;
&lt;p&gt;This is a simple self made python program.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="section" id="download"&gt;
&lt;h1&gt;&lt;a name="download"&gt;Download&lt;/a&gt;&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a class="reference" href="http://home.zyrianes.net/rurld"&gt;rurld&lt;/a&gt; v0.11&lt;/p&gt;
&lt;p&gt;&lt;a class="reference" href="http://home.zyrianes.net/rurld-0.9"&gt;rurld-0.9&lt;/a&gt; v0.9&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/div&gt;

</content>
</entry>



</feed>