🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: fr.comp.os.linux.configuration
1 messages
1 total messages Started by switcher Mon, 05 Dec 2005 09:58
Lire les journaux gratuits (20min, Metro, Plus) automatiquement avec SCRIPT !
#1
Author: switcher
Date: Mon, 05 Dec 2005 09:58
63 lines
2353 bytes
ca marche deja pour 20min et Metro:

on peut toujours remplacer "lynx -dump" par "wget -nv"

Il faut juste remplacer "Lille" par "Paris", ou Toulouse, Marseille, 
Lyon, Ouest ... pour lire autres editions ...

Si le "One click buy" est du propriete intellectuelle, le "seul commando 
- lire 30 editions" est un autre  ...  ;-)

###
doc=`date "+%Y%m%d"`

echo $doc

twmin="http://pdf.20minutes.fr/journal/"${doc}"_LIL.pdf"

echo $twmin

lynx -dump $twmin  > ${doc}"_LIL.pdf"


xpdf -g 1024x768 ${doc}"_LIL.pdf"  &



metro="http://parex.metro.st/ftp/"$doc"_Lille.pdf"

lynx -dump $metro > $doc"_Lille.pdf"

xpdf -g 1024x768 $doc"_Lille.pdf"
###



Mais, pour Lille/paris/..Plus, on a besoin d'un password...  et j'ai 
cahngee qq carateres dans "b90ba50129fb55dc4698f65fe85ded6d", mon 
password, login ...
Quelqu'un peut m'aider ???

####

plus="http://www.lilleplus.com/fr/telecharger/telecharge.php?all=1&date="
${doc}
echo Lilleplus: $plus
echo using cookie PHPSESSID=b90ba50129fb55dc4698f65fe85ded6d

wget -nv --http-user=markov035 --http-password=ieper035 $plus

wget --no-cookies -nv --header "Cookie: 
PHPSESSID=b90ba50129fb55dc4698f65fe85ded6d" $plus

cp "telecharge.php?all=1&date="${doc}"&stat=1" plus${doc}.pdf



xpdf plus${doc}.pdf &

-- 
een appeltje te schillen met http://users.fulladsl.be/spb13810/apple/
http://users.fulladsl.be/spb13810/bwnl.htm
Breng je iMac G5 terug (ik wil binnen 2 jaar geen defecte 2de hands Apple kopen)
http://www.apple.com/nl/support/imac/repairextensionprogram/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads