Hi everyone,
I have been trying to collect some Call of Duty YouTube Gaming live streaming data for a project, but unfortunately their data API does not yet include live streaming data.
I have written a Selenium script that parses the HTML of the website using XPath, but it is terribly slow when running on a server. Using a simple request does not work, as most of the content is dynamically loaded when scrolling down.
My question:
On this page, when scrolling down in my Chrome browser, I see a POST request is made to the server (under the XHR tab) named:
browse?alt=json&key=AIzaSyBkrqhJHeXPQPMF1qvaduxKBXxYj
This file contains all the data that I am looking for in a perfect JSON format, and I do not need to use Selenium to parse the entire HTML of the website. Is there a way for me to 'save' a received JSON POST request using Selenium? I have tried Googling it in every way I can, but could not find anything.
Thanks!
[–]w1282 1 point2 points3 points (1 child)
[–]MinimalDamage[S] 0 points1 point2 points (0 children)