Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: RE: UserFriendly.org Full Size version forwarder :)

by Anonymous Monk
on Jun 08, 2001 at 21:34 UTC ( #86993=note: print w/ replies, xml ) Need Help??


in reply to Re: RE: UserFriendly.org Full Size version forwarder :)
in thread UserFriendly.org Full Size version forwarder :)

#!/usr/global/bin/perl -w use File::Basename; my $search_url = 'http://www.userfriendly.org/cgi-bin/texhtml?form=uf/ +rdf\&action=search'; my $comics_dir = '/home/user/.comics/'; open(IN, "wget -q -O - $search_url |") or die $!; while (<IN>) { last if /Today\'s Strip/; } <IN> =~ m|<link>(.*)</link>|; my $gif = $comics_dir . basename($1); system("wget -q -O $gif $1"); system("xv $gif");


Comment on Re: Re: RE: UserFriendly.org Full Size version forwarder :)
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://86993]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2014-08-31 00:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls