Member-only story

The Complete Beginner’s Guide to Web Scraping

Bilal K.
2 min readNov 14, 2020

--

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.

Picture Credits: Real Python

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…

--

--

Bilal K.
Bilal K.

Written by Bilal K.

Software Engineer, I share tips and tools to help fellow developers level up.

No responses yet

Write a response