Web scraping | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Web scraping

Hello I need someone who know extract datset use web scraping in python selenium please

24th Feb 2022, 10:59 PM
Halima El amri
1 Answer
+ 5
import requests from bs4 import BeautifulSoup URL = "http://www.values.com/inspirational-quotes" r = requests.get(URL) soup = BeautifulSoup(r.content, 'html5lib') # If this line causes an error, run 'pip install html5lib' or install html5lib print(soup.prettify())
26th Feb 2022, 2:32 PM
Vaibhav
Vaibhav - avatar