VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Beautiful Soup Tutorial - Web Scraping in Python

Beautiful Soup Tutorial - Web Scraping in Python

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
The Beautiful Soup module is used for web scraping in Python. Learn how to use the Beautiful Soup and Requests modules in this tutorial. After watching, you will be able to start scraping the web on your own. -Code: https://github.com/vprusso/youtube_tutorials/tree/master/web_scraping_and_automation/beautiful_soup Tutorial from Vincent Russo of Lucid Programming. Check out his YouTube channel: http://bit.ly/lucidcode -Vincent on
Date: 2022-03-14

Comments and reviews: 6


Guys, I have a problem with this and would appreciate any help:
Whenever I attempt to run this program I get this error. I have followed all the steps, typed it correctly, installed it into the same folder as my program and python, installed all the other software in the comments section (lxml, parser) but I still get this error, if I have missed anything please tell me as it is getting very annoying now. The error is -ModuleNotFoundError: No module named 'requests'-

reply

I would like to say that my first computer was an Osborne 8088 (cira, 1981). I begin programming in the mid-1980s in Dbase, Pascal, and C as a hobby. In the 1980s, we would log into bulletin boards that were someone's computer, which had games and other things to trade and share. This was my internet when I was a kid. I just want to say thank you, FreeCodeCamp, for bringing the joy back into computer programming for me with such rich and insightful content.
reply

apparenty in the whitehouse website, first in is None, so to avoid error, before appending a_tag to urls, make sure a_tag is not None
...
a_tag = ...
if a_tag is not None:
urls.append(a_tag.attrs['href'])

reply

For anyone getting the
AttributeError: 'NoneType' object has no attribute 'attrs'
error - the list returns two items that are empty for some reason.
Use
if a_tag is not None:
before you append to urls

reply

searching with tags -div- doesn't work with link.text. I don't think it recognizes div to be text. what do I need to do instead to find key words?
reply

I am only 11 minutes in, and this is one of the clearest explanations of the data extraction syntax that I have come across so far.
reply
Add a review, comment






Other channel videos