Suljettu

Perl Function to get mp4 url from putlocker

Hi,

So here is what I need, I need a perl script to :

1. login to putlocker (since putlocker has captcha on their login page, the script should have a seperate login page where it should display the captcha and I can login, after the first successful login, it should save the cookies and use them from then on.)

2. once logged in, the function should follow the following structure to :

sub preFUNCTION_NAME {

my ($u,$ua) = @_;

##LOGIN SHOULD BE DONE HERE

my $res = $ua->get($u->{url})->decoded_content; #get the page

$res =~ /<meta name="description" content="(.*?)" \/>/gis; #find the name of the file from the page

$u->{file_name_orig} = $1.".flv"; #adding the extension to the video

$res =~ /file: "(.*?)",/gis; # finding the file on the page

($u->{url}) = $1; # assigning it to $u

return $u; #returning the info

}

Please note that the above code is the template and is written to work on another site, NOT putlocker, so it might be a bit different.

the most important part of the function is that it should get the info from : $u->{url} and store all the values etc in $u and return it.

Taidot: CGI, tiedonlouhinta, Perl, Tietojen kaavinta verkosta

Näytä lisää: putlocker mp4 url, putlocker url, putlocker url mp4, find video url putlocker, mp4 putlocker, url mp4 perl, url putlocker, work ua, scraping web content, perl get, GIS work, get web content written, get in written, function - 1 to 1, find perl, finding template, c template function, url putlocker mp4, get code, url scraping, function, url name, find flv, perl script file, code function

Tietoa työnantajasta:
( 8 arvostelua ) Dubai, Canada

Projektin tunnus: #1728646

4 freelanceria on tarjonnut keskimäärin 188 $ tähän työhön

gangabass

I can do this for you. See PM for details.

200 $ USD 2 päivässä
(168 arvostelua)
6.1
negaboys

Lets do this. Check your PM.

200 $ USD 2 päivässä
(7 arvostelua)
3.9
B84dPp9OL

Custom software development - <b><i>Removed by Admin</i></b>

250 $ USD 1 päivässä
(0 arvostelua)
0.0
syamr

I am perl expert with unix knowledge. I guess I can take this job and deliver good quality work. Thanks Syamr

100 $ USD 15 päivässä
(0 arvostelua)
0.0