<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Commentaires sur : Plowshare : MegaUpload, RapidShare et autres en CLI</title>
	<atom:link href="http://geekfault.org/2009/08/26/plowshare-megaupload-rapidshare-en-cli/feed/" rel="self" type="application/rss+xml" />
	<link>http://geekfault.org/2009/08/26/plowshare-megaupload-rapidshare-en-cli/</link>
	<description>If it doesn&#039;t segfault, you&#039;re doing it wrong.</description>
	<lastBuildDate>Mon, 14 May 2012 11:28:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Par : mlouk</title>
		<link>http://geekfault.org/2009/08/26/plowshare-megaupload-rapidshare-en-cli/comment-page-1/#comment-1062</link>
		<dc:creator>mlouk</dc:creator>
		<pubDate>Sun, 13 Nov 2011 13:58:43 +0000</pubDate>
		<guid isPermaLink="false">http://geekfault.org/?p=1427#comment-1062</guid>
		<description>Pour megaupload j&#039;ai fait ça:
#!/bin/bash
function delete_files(){
	for FILE in &quot;$1&quot; &quot;$2&quot; &quot;$3&quot;;do
 		test -f &quot;$FILE&quot; &amp;&amp; rm -v &quot;$FILE&quot;
	done
}
function get_file(){
	echo &quot;Disable Privoxy...&quot;
	wget \
		-q \
		--refer=http://config.privoxy.org/toggle \
		&quot;http://config.privoxy.org/toggle?set=disable&quot; \
		-O - &#124; sed &#039;/.*/d&#039;
		torify \
		wget \
			-c \
			-S \
			--no-http-keep-alive \
			--no-cache \
			--no-cookies \
			--user-agent=&quot;Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)&quot; \
			--trust-server-names \
			-O &quot;$2&quot; \
			&quot;$1&quot; 2&gt;&amp;1 &#124; tee &quot;$2&quot;.txt
	echo &quot;Enable Privoxy...&quot;
	wget \
		-q \
		--refer=http://config.privoxy.org/toggle \
		&quot;http://config.privoxy.org/toggle?set=enable&quot; \
		-O - &#124; sed &#039;/.*/d&#039;
}
function waiting(){
	local W=0
	local PRINT=$(($1*500))
	local PID
	echo &quot;Wait $1 seconds...&quot;
	sleep $(($1+1)) &amp; PID=$!
	while [ -d /proc/$PID ]; do
		test $(($W%$PRINT)) -eq 0 &amp;&amp; echo -n &quot;*&quot;
		W=$(($W+1))
	done
	echo &quot;&quot;
}
function end(){
	delete_files &quot;$2&quot; &quot;$3&quot; &quot;$4&quot;
	echo &quot;$1&quot;
	exit
}
RETRY=0
clear
while [ -n &quot;$RETRY&quot; ]; do
	delete_files &quot;$2.link&quot; &quot;$2.html&quot;
	get_file &quot;$1&quot; &quot;$2.html&quot;
	sed -ne &#039;/files/ {s/.*href=&quot;\(http.*file.*\)&quot; .*/\1/p}&#039; &quot;$2&quot;.html &gt; &quot;$2.link&quot;
	test -n &quot;$(cat &quot;$2&quot;.link)&quot; &amp;&amp;
		echo &quot;GET: $(cat &quot;$2&quot;.link)&quot; &#124;&#124;
		end &quot;No file to download, retry: $RETRY&quot; &quot;$2.link&quot; &quot;$2.html&quot; &quot;$2.txt&quot;
	waiting 45 #14400
	WAIT=0
	while [ -n &quot;$WAIT&quot; ]; do
		get_file &quot;$(cat &quot;$2&quot;.link)&quot; &quot;$2&quot;
		test -n &quot;$(grep -e &quot;\(ERREUR\)\&#124;\(Emplacement: $1 \[suivant\]\)&quot; &quot;$2&quot;.txt 2&gt;&amp;1)&quot; &amp;&amp;
			WAIT=&quot;$(sed -ne &#039;s/Retry-After: \([0-9]*\)/\1/p&#039; &quot;$2&quot;.txt)&quot; &#124;&#124;
			end &quot;Download OK, retry: $RETRY&quot; &quot;$2.link&quot; &quot;$2.html&quot; &quot;$2.txt&quot;
		test -n &quot;$WAIT&quot;  &amp;&amp; 
			waiting $WAIT &#124;&#124;
			cat &quot;$2&quot;.txt &gt; &quot;$2&quot;.txt.$RETRY
		RETRY=$(($RETRY+1))
		echo &quot;Download failed: $RETRY&quot;
	done
done
Y a des truc intéressant mais pas que pour le téléchargement: $!, privoxy, /proc/$PID...( mais je me suis peut-être pas assez cassé la tête pour le &#039; while [-d /proc/$PID ]; ...</description>
		<content:encoded><![CDATA[<p>Pour megaupload j&#8217;ai fait ça:<br />
#!/bin/bash<br />
function delete_files(){<br />
	for FILE in &#8220;$1&#8243; &#8220;$2&#8243; &#8220;$3&#8243;;do<br />
 		test -f &#8220;$FILE&#8221; &amp;&amp; rm -v &#8220;$FILE&#8221;<br />
	done<br />
}<br />
function get_file(){<br />
	echo &#8220;Disable Privoxy&#8230;&#8221;<br />
	wget \<br />
		-q \<br />
		&#8211;refer=http://config.privoxy.org/toggle \<br />
		&#8220;http://config.privoxy.org/toggle?set=disable&#8221; \<br />
		-O &#8211; | sed &#8216;/.*/d&#8217;<br />
		torify \<br />
		wget \<br />
			-c \<br />
			-S \<br />
			&#8211;no-http-keep-alive \<br />
			&#8211;no-cache \<br />
			&#8211;no-cookies \<br />
			&#8211;user-agent=&#8221;Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)&#8221; \<br />
			&#8211;trust-server-names \<br />
			-O &#8220;$2&#8243; \<br />
			&#8220;$1&#8243; 2&gt;&amp;1 | tee &#8220;$2&#8243;.txt<br />
	echo &#8220;Enable Privoxy&#8230;&#8221;<br />
	wget \<br />
		-q \<br />
		&#8211;refer=http://config.privoxy.org/toggle \<br />
		&#8220;http://config.privoxy.org/toggle?set=enable&#8221; \<br />
		-O &#8211; | sed &#8216;/.*/d&#8217;<br />
}<br />
function waiting(){<br />
	local W=0<br />
	local PRINT=$(($1*500))<br />
	local PID<br />
	echo &#8220;Wait $1 seconds&#8230;&#8221;<br />
	sleep $(($1+1)) &amp; PID=$!<br />
	while [ -d /proc/$PID ]; do<br />
		test $(($W%$PRINT)) -eq 0 &amp;&amp; echo -n &#8220;*&#8221;<br />
		W=$(($W+1))<br />
	done<br />
	echo &#8220;&#8221;<br />
}<br />
function end(){<br />
	delete_files &#8220;$2&#8243; &#8220;$3&#8243; &#8220;$4&#8243;<br />
	echo &#8220;$1&#8243;<br />
	exit<br />
}<br />
RETRY=0<br />
clear<br />
while [ -n "$RETRY" ]; do<br />
	delete_files &#8220;$2.link&#8221; &#8220;$2.html&#8221;<br />
	get_file &#8220;$1&#8243; &#8220;$2.html&#8221;<br />
	sed -ne &#8216;/files/ {s/.*href=&#8221;\(http.*file.*\)&#8221; .*/\1/p}&#8217; &#8220;$2&#8243;.html &gt; &#8220;$2.link&#8221;<br />
	test -n &#8220;$(cat &#8220;$2&#8243;.link)&#8221; &amp;&amp;<br />
		echo &#8220;GET: $(cat &#8220;$2&#8243;.link)&#8221; ||<br />
		end &#8220;No file to download, retry: $RETRY&#8221; &#8220;$2.link&#8221; &#8220;$2.html&#8221; &#8220;$2.txt&#8221;<br />
	waiting 45 #14400<br />
	WAIT=0<br />
	while [ -n "$WAIT" ]; do<br />
		get_file &#8220;$(cat &#8220;$2&#8243;.link)&#8221; &#8220;$2&#8243;<br />
		test -n &#8220;$(grep -e &#8220;\(ERREUR\)\|\(Emplacement: $1 \[suivant\]\)&#8221; &#8220;$2&#8243;.txt 2&gt;&amp;1)&#8221; &amp;&amp;<br />
			WAIT=&#8221;$(sed -ne &#8216;s/Retry-After: \([0-9]*\)/\1/p&#8217; &#8220;$2&#8243;.txt)&#8221; ||<br />
			end &#8220;Download OK, retry: $RETRY&#8221; &#8220;$2.link&#8221; &#8220;$2.html&#8221; &#8220;$2.txt&#8221;<br />
		test -n &#8220;$WAIT&#8221;  &amp;&amp;<br />
			waiting $WAIT ||<br />
			cat &#8220;$2&#8243;.txt &gt; &#8220;$2&#8243;.txt.$RETRY<br />
		RETRY=$(($RETRY+1))<br />
		echo &#8220;Download failed: $RETRY&#8221;<br />
	done<br />
done<br />
Y a des truc intéressant mais pas que pour le téléchargement: $!, privoxy, /proc/$PID&#8230;( mais je me suis peut-être pas assez cassé la tête pour le &#8216; while [-d /proc/$PID ]; &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : barul</title>
		<link>http://geekfault.org/2009/08/26/plowshare-megaupload-rapidshare-en-cli/comment-page-1/#comment-948</link>
		<dc:creator>barul</dc:creator>
		<pubDate>Sun, 26 Jun 2011 12:08:24 +0000</pubDate>
		<guid isPermaLink="false">http://geekfault.org/?p=1427#comment-948</guid>
		<description>C&#039;est ni jdownloader ni plowshare qui vont te décompresser tes .rar … unrar, par exemple, le fera.</description>
		<content:encoded><![CDATA[<p>C&#8217;est ni jdownloader ni plowshare qui vont te décompresser tes .rar … unrar, par exemple, le fera.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : don-harry</title>
		<link>http://geekfault.org/2009/08/26/plowshare-megaupload-rapidshare-en-cli/comment-page-1/#comment-923</link>
		<dc:creator>don-harry</dc:creator>
		<pubDate>Fri, 15 Apr 2011 22:58:50 +0000</pubDate>
		<guid isPermaLink="false">http://geekfault.org/?p=1427#comment-923</guid>
		<description>oui mais lancer jdownloader sur un dedier je trouve sa laborieux sans x forwarding la webui tourne mal et avec il faut 10 minute pour clicker sur l iface bref humhum 
et pour plowshare j avoue que il plai bien mais j attend de voir si il va me decompresse mes rar</description>
		<content:encoded><![CDATA[<p>oui mais lancer jdownloader sur un dedier je trouve sa laborieux sans x forwarding la webui tourne mal et avec il faut 10 minute pour clicker sur l iface bref humhum<br />
et pour plowshare j avoue que il plai bien mais j attend de voir si il va me decompresse mes rar</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : majax</title>
		<link>http://geekfault.org/2009/08/26/plowshare-megaupload-rapidshare-en-cli/comment-page-1/#comment-345</link>
		<dc:creator>majax</dc:creator>
		<pubDate>Wed, 03 Mar 2010 20:33:45 +0000</pubDate>
		<guid isPermaLink="false">http://geekfault.org/?p=1427#comment-345</guid>
		<description>wé oké.</description>
		<content:encoded><![CDATA[<p>wé oké.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Tito</title>
		<link>http://geekfault.org/2009/08/26/plowshare-megaupload-rapidshare-en-cli/comment-page-1/#comment-344</link>
		<dc:creator>Tito</dc:creator>
		<pubDate>Wed, 03 Mar 2010 17:41:26 +0000</pubDate>
		<guid isPermaLink="false">http://geekfault.org/?p=1427#comment-344</guid>
		<description>Euh ne ne connais personne qui utilise encore Mandriva pour t&#039;aider, mais essaye de réinstaller le paquet Tesseract</description>
		<content:encoded><![CDATA[<p>Euh ne ne connais personne qui utilise encore Mandriva pour t&#8217;aider, mais essaye de réinstaller le paquet Tesseract</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : majax</title>
		<link>http://geekfault.org/2009/08/26/plowshare-megaupload-rapidshare-en-cli/comment-page-1/#comment-342</link>
		<dc:creator>majax</dc:creator>
		<pubDate>Wed, 03 Mar 2010 12:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://geekfault.org/?p=1427#comment-342</guid>
		<description>Bonjour 

Moi sous mandriva la reconnaissance captcha, ne marche pas. Que pourait je faire ?</description>
		<content:encoded><![CDATA[<p>Bonjour </p>
<p>Moi sous mandriva la reconnaissance captcha, ne marche pas. Que pourait je faire ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : bragon</title>
		<link>http://geekfault.org/2009/08/26/plowshare-megaupload-rapidshare-en-cli/comment-page-1/#comment-338</link>
		<dc:creator>bragon</dc:creator>
		<pubDate>Sun, 28 Feb 2010 18:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://geekfault.org/?p=1427#comment-338</guid>
		<description>bon voilà ça fonctionne directos avec les captcha sur Gentoo à présent.

Voila la méthode :

1) rajoutez à votre /etc/portage/package.keywords
net-misc/plowshare 

2) Rajoutez à votre /etc/portage/package.use
app-text/tesseract tiff linguas_en
media-gfx/imagemagick tiff
net-misc/plowshare  view-captcha

3) emerge -av net-misc/plowshare

It roul&#039;z</description>
		<content:encoded><![CDATA[<p>bon voilà ça fonctionne directos avec les captcha sur Gentoo à présent.</p>
<p>Voila la méthode :</p>
<p>1) rajoutez à votre /etc/portage/package.keywords<br />
net-misc/plowshare </p>
<p>2) Rajoutez à votre /etc/portage/package.use<br />
app-text/tesseract tiff linguas_en<br />
media-gfx/imagemagick tiff<br />
net-misc/plowshare  view-captcha</p>
<p>3) emerge -av net-misc/plowshare</p>
<p>It roul&#8217;z</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Tito</title>
		<link>http://geekfault.org/2009/08/26/plowshare-megaupload-rapidshare-en-cli/comment-page-1/#comment-236</link>
		<dc:creator>Tito</dc:creator>
		<pubDate>Sat, 24 Oct 2009 14:25:16 +0000</pubDate>
		<guid isPermaLink="false">http://geekfault.org/?p=1427#comment-236</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-187&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-187&quot; rel=&quot;nofollow&quot;&gt;ssx3max&lt;/a&gt; :&lt;/strong&gt;
(...) Très pratique, puisque qu’il permet de lancer 2, 3, 4 ou même 100 fichiers à télécharger sur plusieurs services (MU, RS, Free..) sans qu’on ai à se soucier de lancer de nouveau un down, ou se soucier à remplir le captcha&lt;/blockquote&gt;
PlowShare le permet aussi, en mettant toutes les URL dans un .txt ;-)</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-187"><p>
<strong><a href="#comment-187" rel="nofollow">ssx3max</a> :</strong><br />
(&#8230;) Très pratique, puisque qu’il permet de lancer 2, 3, 4 ou même 100 fichiers à télécharger sur plusieurs services (MU, RS, Free..) sans qu’on ai à se soucier de lancer de nouveau un down, ou se soucier à remplir le captcha</p></blockquote>
<p>PlowShare le permet aussi, en mettant toutes les URL dans un .txt <img src='http://geekfault.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : brag</title>
		<link>http://geekfault.org/2009/08/26/plowshare-megaupload-rapidshare-en-cli/comment-page-1/#comment-191</link>
		<dc:creator>brag</dc:creator>
		<pubDate>Mon, 07 Sep 2009 16:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://geekfault.org/?p=1427#comment-191</guid>
		<description>pour info :

LINGUAS=&quot;de de_FR en es fr it nl pt vi&quot; emerge -av app-text/tesseract</description>
		<content:encoded><![CDATA[<p>pour info :</p>
<p>LINGUAS=&#8221;de de_FR en es fr it nl pt vi&#8221; emerge -av app-text/tesseract</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : ssx3max</title>
		<link>http://geekfault.org/2009/08/26/plowshare-megaupload-rapidshare-en-cli/comment-page-1/#comment-187</link>
		<dc:creator>ssx3max</dc:creator>
		<pubDate>Fri, 28 Aug 2009 06:53:08 +0000</pubDate>
		<guid isPermaLink="false">http://geekfault.org/?p=1427#comment-187</guid>
		<description>Intéressant, j&#039;ai dl le script au cas où, mais j&#039;utilise déjà JDownaloder (appli Java) qui me permet de lancer plusieurs download de n&#039;importe quel services, et les télécharge seul, en décryptant le captcha :) Très pratique, puisque qu&#039;il permet de lancer 2, 3, 4 ou même 100 fichiers à télécharger sur plusieurs services (MU, RS, Free..) sans qu&#039;on ai à se soucier de lancer de nouveau un down, ou se soucier à remplir le captcha ;)</description>
		<content:encoded><![CDATA[<p>Intéressant, j&#8217;ai dl le script au cas où, mais j&#8217;utilise déjà JDownaloder (appli Java) qui me permet de lancer plusieurs download de n&#8217;importe quel services, et les télécharge seul, en décryptant le captcha <img src='http://geekfault.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Très pratique, puisque qu&#8217;il permet de lancer 2, 3, 4 ou même 100 fichiers à télécharger sur plusieurs services (MU, RS, Free..) sans qu&#8217;on ai à se soucier de lancer de nouveau un down, ou se soucier à remplir le captcha <img src='http://geekfault.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Sn4kY</title>
		<link>http://geekfault.org/2009/08/26/plowshare-megaupload-rapidshare-en-cli/comment-page-1/#comment-186</link>
		<dc:creator>Sn4kY</dc:creator>
		<pubDate>Wed, 26 Aug 2009 16:26:07 +0000</pubDate>
		<guid isPermaLink="false">http://geekfault.org/?p=1427#comment-186</guid>
		<description>Un autre script pour télécharger sur dl.free.fr en CLI : 
http://tools.akiletour.fr/2009/07/20/wget-un-fichier-sur-dlfreefr/ :)</description>
		<content:encoded><![CDATA[<p>Un autre script pour télécharger sur dl.free.fr en CLI :<br />
<a href="http://tools.akiletour.fr/2009/07/20/wget-un-fichier-sur-dlfreefr/" rel="nofollow">http://tools.akiletour.fr/2009/07/20/wget-un-fichier-sur-dlfreefr/</a> <img src='http://geekfault.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

