Folks,
Look at this youtube serp:
You are shown 10 search results.
Now, if you want to see more results, you got to scroll to the bottom of the page and only then more search results would be presented. Otherwise not.
Q1.
My question is, what php function or javascript function youtube is using here to feed you new search results like this ?
Q2.
With php or cURL php, how would you load the page on your screen and get php/cURL php to scroll to the bottom of the page for more results to be presented ?
Which php functions would you use here to do this ?
And, which php cURL functions would you use here to do this ?
I need to know the functions names to further look into them on the php.net manual. Do not know where to start unless I learn the functions names first.
Yes. You have guessed it. I am trying the get php, php cURL to fetch pages (youtube search result pages) and scrape search result links youtube presents. Youtube only presents 10 links unless you scroll to the bottom of the page for more results to load. I need to teach my web agent to scroll to the bottom of the page after scraping the links on the page. And so, this thread is now opened.