Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Trivial HTML extractor utility

by Dominus (Parson)
on Nov 22, 2007 at 06:17 UTC ( #652311=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
        }
      }
    }
    
  2. or download this
      for i in `cat reddit`; do
        GET $i | grep -i title
      done
    
  3. or download this
    #!/usr/bin/perl
    
    ...
      $s =~ tr/\n/ /;
      print "$s\n";
    }
    
  4. or download this
      for i in `cat reddit`; do
        GET $i | htmlx title
      done
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://652311]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2014-09-19 00:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls