Getting the initial contend of a window | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Getting the initial contend of a window

It's usual that a contend of a window changes over the time passing (even when no interaction is performwd by the user). How to get the evolution of the document?

26th Nov 2018, 7:27 PM
Daniel Bandeira
Daniel Bandeira - avatar
3 Answers
+ 8
If it's changing and you have no way how to get recent values you need to scrape it. Choose tools of your desire, you can pick up javascript with fancy phantomJS, puppeteer, with jQuery you can go with cheerioJS, nightmareJS. In python you can choose selenium/scrapy/robotframework etc...
11th Dec 2018, 8:53 PM
r8w9
r8w9 - avatar
+ 4
It's totally up to you.
12th Dec 2018, 6:12 AM
r8w9
r8w9 - avatar
+ 1
I maked this question sometime ago and it's good now see that my investigations are pointing to a correct way. Thank you for replying me. I want to use PHP tools for scraping pages. Do you think is it a good choice?
11th Dec 2018, 11:13 PM
Daniel Bandeira
Daniel Bandeira - avatar