python-responses

Python Requests (Web Scraping) - Building a cookie to be able to view data in a website

六眼飞鱼酱① 提交于 2019-12-13 03:22:10
问题 I'm trying to scrape a finance website to make an application that compares the accuracy of financial data from various other websites (google/yahoo finance). This is a personal project that I started really just to learn Python programming and writing scripts. The URL I am trying to scrape (specifically the stock's "Key Data" like Market Cap, Volume, Etc) is here: https://www.marketwatch.com/investing/stock/sbux I've figured out (with the help of others) that a cookie must be built and sent