Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 a log crumbles through the grate...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-10-17 01:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (218 votes). Check out past polls.

    Notices?