Created
May 15, 2011 23:27
-
-
Save metaperl/973675 to your computer and use it in GitHub Desktop.
read the NCD testimonies (my distributor id is 907947)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use Mojo::UserAgent; | |
my $ua = Mojo::UserAgent->new; | |
my $starturl = 'http://www.testimonyinfo.com/'; | |
print $ua->max_redirects(3)->get($starturl)->res->body; | |
#sub find_next_link { | |
# $ua->dom->find('a[href=^"Condition" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment