skip to Main Content

how can I scrape the subtitle from a javascript driven page with python

I am trying to scrape this site: https://www.msn.com/nl-be/nieuws/other/de-50-beste-netflix-series-volgens-the-new-york-times/ss-BB1kJC5H?rc=1&ocid=winp1taskbar&cvid=c774477be4b04494b3690631644cf5a9&ei=3#image=2 I am trying to get the title 'Friday Night Lights' but I don't seem to get past the javascript. I am using python and selenium or beautifullsoup. tried WebDriverWait(driver, 10) I used…

VIEW QUESTION

JSONPath extracting

I have used an online helper, https://jsonpath.com/ to find a working jsonpath to extract a value from the attacehd json structure. The expressionis as follows: $.activations[0].bidReference How can I translate this into "python"? I have tried this: jdata = response.json()…

VIEW QUESTION
Back To Top
Search