from bs4 import BeautifulSoup import requests source_start = requests.get(url) soup = BeautifulSoup(source_start.text, 'lxml')
[s.extract() for s in soup('style')]
Last updated 2 years ago