Đã Đóng

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.

Kỹ năng: CGI, Khai thác dữ liệu, Perl, Web Scraping

Xem thêm: 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

Về Bên Thuê:
( 8 nhận xét ) Dubai, Canada

Mã Dự Án: #1728646

4 freelancer đang chào giá trung bình $188 cho công việc này

gangabass

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

$200 USD trong 2 ngày
(168 Đánh Giá)
6.1
negaboys

Lets do this. Check your PM.

$200 USD trong 2 ngày
(7 Đánh Giá)
3.9
B84dPp9OL

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

$250 USD trong 1 ngày
(0 Đánh Giá)
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 trong 15 ngày
(0 Đánh Giá)
0.0