Installation de BeautifulSoup4
pip install beautifulsoup4
Hurt Hornet
pip install beautifulsoup4
pip install bs4 #this'll do the work
#start
from bs4 import BeautifulSoup
import requests
req = requests.get('https://www.slickcharts.com/sp500')
soup = BeautifulSoup(req.text, 'html.parser')
pip3 install beautifulsoup4
#to install beautiful soup use this command
pip install beautifulsoup4
to install beautiful soup use this command
pip install beautifulsoup4