Member-only story
Python is so powerful!
Web scraping allows us to extract the public data from website so that we can use it for some purpose.
Usually, we can only view the downloaded web page but what if you want to automate or you want to extract the TSLA stock price every other minute? Yes, it is possible to do it manually but this way is too time-consuming, not scalable, and highly not recommended. That’s where web scraping comes to help us gather and use valuable data that isn’t always available via APIs.

In this post, we’ll learn how to use BeautifulSoup & Requests to perform a quick and effective web-scraping for TSLA Stock Price Alert, an email will be automatically sent to notify the price has been now dropped. Let’s dive in.
1-Import The Necessary Libraries
2-Loading Webpages with request
The requests module helps to send HTTP requests in Python. So the next step is to inspect…