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

Recommended Answers

All 12 Replies

Show your code.

            $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

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

So what functions you use. I was troubled. Tks

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.

help me

commented: Stop demanding. Ask nicely. -3

It's not possible in PHP.

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.

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

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?

so no other way not you?. Or use such language?
tks all

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.