In this tutorial, we'll go over Web Scraping with Python for Absolute Beginners.
I'll show you in this Python scraping project how to scrape live website data with Python for a shopping website. We'll install and use Beautifulsoup's HTML parser to retrieve and parse with JSON.
Beautifulsoup is a great library for scraping websites with Python to extract HTML, JSON and XML data. This tutorial covers using Beautiful soup's css selectors, find, find_all, but there are many more methods available that you can find in Beautifulsoup's documentation.
WATCH NEXT
Python Projects - https://www.youtube.com/playlist?list=PL1TBkFFBtagpgD9zy1F6AzDswMzff99Tn
MY FAVOURITE PROGRAMMING BOOKS
Python Programming https://amzn.to/3TxsJx6
Python Programming 2 https://amzn.to/3IVa0GL
HTML/CSS https://amzn.to/3vrKBBs
Javascript and jQuery https://amzn.to/3TWiOmc
Java https://amzn.to/49dcJWN
Programming Interviews https://amzn.to/3TCr218
Programming Interviews 2 https://amzn.to/3VA6Dwp
Programming Interviews 3 https://amzn.to/49iGSUp
⌨️ MY DESK SETUP (I ACTUALLY USE) ⌨️
Keyboard 1 https://amzn.to/43Bizjx
Keyboard 2 https://amzn.to/4cABlLO
Keyboard 3 https://amzn.to/3Vy9aHm
Mouse https://amzn.to/4cwMxJy
Monitor https://amzn.to/3TxxczD
CREATOR SETUP
Camera Canon M50 https://amzn.to/3PDphQ8
Condenser Microphone https://amzn.to/3vvmMJ2
Condenser Audio Interface https://amzn.to/3Vvf1xe
Microphone Arm https://amzn.to/49cHACH
Video Light https://amzn.to/3PEUvGz
GET IN TOUCH:
Website: https://imdad.codes
Instagram: https://www.instagram.com/imdadcodes
TikTok: https://www.tiktok.com/@imdadcodes
Medium: https://medium.com/@imdadcodes
️ LIKE
It takes me a long time to make these videos, please give the video a thumbs up
SUBSCRIBE:
https://www.youtube.com/@imdadcodes?sub_confirmation=1
️ WHO AM I:
I'm Imdad, a startup founder and CTO in London, UK. I love making videos about life as a technical cofounder, teaching people to code through cool programming projects and productivity.
I even teach Python tutorials as it is a great programming language that's used by the likes of Google, Facebook, Twitter, Quora and pretty much every big tech company you can name.
#PythonWebScraping #PythonScraping #BeautifulSoup
00:00 What we're building
00:45 Inspecting the source code
02:22 You should use Developer Tools
07:51 Setting up our project
11:41 Importing the libraries
12:41 Picking the page we want to scrape
16:21 Why request headers are important for scraping
20:17 Beautifulsoup for HTML Python Scraping
22:40 Beautifulsoup findall
27:56 The BEST way to Web Scrape with Python
33:24 You need to add this to every web scraper you build
38:36 Running our Python Project
39:27 Beautifulsoup Documentation Cheatsheet
40:46 My next video?
Disclaimer: The links above are affiliate links. If you decide to purchase any of these products through my links, I'll receive a small commission at no extra cost to you. This helps support my channel, and I only recommend products that I've personally used and believe in.