Jump to content

Recommended Posts

Ok now there is a problem, that I need to copy dynamicaly generated web pages text (it must work like search crawler). In simple pages it's not difficult, just opening the webpage with fopen() or file() and copying content to array. And the thing is that text is equal to browsers outputed view->page source and in dynamically generated web pages there are no needed text for me using this functions. What I need is text that browser outputing with function view selection source. How can I copy geberated  text? Please help me, I don't now where to start.

Thank you in advance

Thanks for the reply, but that doesn't work, maybe I described problem in bad way. I try to cover it with couple examples.

First picture is what I get, second is what I need.

I gues, maybe it's difficult or impossible to build solution in php, but I don't know what language could help me.

 

[attachment deleted by admin]

Source code that is manipulated by Javascript client-side does not show up within the normal source because it needs to be parsed by the browsers Javascript engine which then manipulates the dom. I'm not sure you could capture this without using some sort of browser plugin.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.