2016-03-20, 21:32
I'm trying to scrape all URLs from within a JS script on a webpage using BeautifulSoup, the script looks like this.
I want to scrape all the video "url" links from within this JS script. I'm pretty convinced I can not do this with BeautifulSoup, so what could I use instead (and preferably, what is the correct code).
The URL also updates every time the page is loaded (and expires after a set time), so is it possible to write a bit of code that always gets a fresh URL?
I want to scrape all the video "url" links from within this JS script. I'm pretty convinced I can not do this with BeautifulSoup, so what could I use instead (and preferably, what is the correct code).
The URL also updates every time the page is loaded (and expires after a set time), so is it possible to write a bit of code that always gets a fresh URL?