Quantcast
Channel: devnotcorp » html
Browsing latest articles
Browse All 2 View Live

Image may be NSFW.
Clik here to view.

Extract links using LibXML

Here’s a little example of the usage of perl’s XML::LibXML to extract links from a HTML page. #!/usr/bin/perl use strict; use warnings; use LWP::Simple; use XML::LibXML; my $url =...

View Article


Image may be NSFW.
Clik here to view.

Extract links using ruby and mechanize

#!/usr/bin/ruby require 'rubygems' require 'mechanize' url = "http://fantasyfilmfest.com/pages/filme.html"; fw =...

View Article

Browsing latest articles
Browse All 2 View Live