RE: trick websites into thinking curl script has javascript?
"YupLounge website analyse en optimalisatie" <[email protected]>
| Newsgroups | gmane.comp.web.curl.php |
|---|---|
| Message-ID | <89F6B93A68E041F68B31C0EAB136F433@yuploung008f4f> |
First of all you have to read the headers carefully. A server can't see if you have javascript enabled or not. Second step is to read all the information send by the server and the response. Using javascriptyou have to read the javascript files and translate them. But some can be very hard to translate, so a javascript interpreter is needed. Firefox can be used for that. How to? Google is your friend. Luck willem _____ Van: [email protected] [mailto:[email protected]] Namens andrew burman Verzonden: maandag 15 februari 2010 23:37 Aan: [email protected] Onderwerp: trick websites into thinking curl script has javascript? Hi How to trick websites into thinking that my php curl script has javascript capabilities? Because when reading some web pages with curl it will get redirected to a page stating there is no javascript so I can't read the the correct content like a normal browser. perhaps I could stop the redirect? but that means I would have to mark certain websites that do this, is there another way? Thanks Andrew _____ Find your next place with Ninemsn property Looking <http://clk.atdmt.com/NMN/go/157631292/direct/01/> for a place to rent, share or buy? _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php