Python Web Scraping Tutorial 4 - BeautifulSoup4 & Exception Handling

preview_player
Показать описание
When writing scrapers, it's important to think about the overall pattern for your code in order to handle exceptions and make it readable at the same time. You'll also likely want to reuse code. Make you scrapers scrape the web quickly and reliably.

------

----

----
Schedule: New educational videos every week
-----

-----

-----
Learn Something New:
------
-----
Learn Something New:
------
Рекомендации по теме
Комментарии
Автор

Good tutorial, Good explanation. I hope other programmers follow this tuts too. Keep it up

jumarashid
Автор

Chak de fatte... maza aa gaya. Good learning ☺️

delhitepawan
Автор

Let's look at how to connect our scraper reliably with error and exception handling.

karramsos
Автор

Sukhvinder unable to locate code. Please share appropriate link.

anuragarunedlabadkar
Автор

i got an error while running the last file scrapetest_re.py
Traceback (most recent call last):
File line 19, in <module>
File line 12, in getTitle
bsObj = BeautifulSoup(html.read(), "lxml")
File line 198, in __init__
% ", ".join(features))
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?

zainnoman
Автор

why I get the error while using lxml ????

theglobalconflict
Автор

from 15:06 it says title not found but your code shows an interesting title

dhanghartimagar