NAME
Mojo::Ecrawler - A Eeay crawler for html page!
VERSION
Version 0.04
SYNOPSIS
$re1
=
"div.TodayNews"
;
#scope tag
$re2
=
"li a"
;
# line tag
my
$pcontent
=geturlcontent(
$lurl
);
my
$pcout
=getdiv(
$pcontent
,
$re1
,
$re2
);
$pcout
;
...
EXPORT
getulcontent()
Using Mojo::UserAgent to get the page content。
IN:
$url
,the page's url.
OUT:Mojo dom object .
getdiv()
Get content of filter using Mojo:DOM
IN:1,Mojo dom object;
2,
$re1
: scope tag(div.xxx div
#xxx div xx ..).
3,
$rel
: line tag(a hi ..);
OUT: the final content.
AUTHOR
ORANGE, <bollwarm at ijz.me>
BUGS
Please report any bugs or feature requests to bug-mojo-ecrawler at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Mojo-Ecrawler. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Mojo::Ecrawler
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
Copyright 2016 ORANGE.
This program is released under the following license: Perl