skip to Main Content

Requesting JSON data in python for web-scraping

I use the code below to fetch the JSON data for some of the stocks (e.g. https://www.tipranks.com/stocks/tsla/forecast ): import json import requests url = " https://tr-frontend-cdn.azureedge.net/bff/prod/stock/tsla/payload.json?ver=1678406987078" req = requests.get(url) data = req.json() But the website also has the data for…

VIEW QUESTION
Back To Top
Search