0

Hi all,

I'm taking the content of the page html kissanime.com.
I use curl taken but no way to get.

Everyone helped me get this way with

3
Contributors
12
Replies
53
Views
2 Years
Discussion Span
Last Post by Nguyá»…n_6
0
            $crl = curl_init();
            $url = "http://kissanime.com/";
            curl_setopt($crl, CURLOPT_URL, $url);
            curl_setopt($crl, CURLOPT_HEADER, 1);
            curl_setopt($crl, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0');
            curl_setopt ($crl, CURLOPT_FOLLOWLOCATION, false);
            curl_setopt($crl, CURLOPT_FOLLOWLOCATION, 1);
            curl_setopt($crl, CURLOPT_RETURNTRANSFER, 1);
            $content = curl_exec($crl);
            curl_close ($crl);

I only get part ajax of page. how to bypass ajax page

Tks all

0

There are no functions you can use. You would have to build a webpage renderer that also executes every Javascript method. I don't know of anything that does that already. Perhaps it's not even entirely possible.

0

My copyright thief alarm is screaming.

Why would we help you write something that is going to crawl around other peoples websites and nick all of their content? Sounds very dodgy indeed.

I think it is fair to say, lets not carry on with this thread until a very good reason is given for this program.

0

I was to learn about crawlers on CloudFlare server. But difficultly should post.
Please help me.
Tks all.

0

You cannot load the data that is being loaded through AJAX with cUrl.

There are no functions you can use.

It's not possible in PHP.

Which of those replies don't you understand?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.