pip install beautifulsoup4
pip install lxml
pip instal html5lib
pip install requests
from bs4 import BeautifulSoup
import requests
source = requests.get('http://example.com').text
soup = BeautifulSoup(source, 'lxml')
pip install beautifulsoup4
pip install lxml
pip instal html5lib
pip install requests
from bs4 import BeautifulSoup
import requests
source = requests.get('http://example.com').text
soup = BeautifulSoup(source, 'lxml')