Python Web Scraping BeautifulSoup
Description
Python web scraping tutorial using BeautifulSoup and requests.
Python Web Scraping BeautifulSoup.py
import requests
from bs4 import BeautifulSoup
html = requests.get('https://example.com').text
soup = BeautifulSoup(html,'html.parser')
print(soup.title.text)
Comments (0)
Add CommentNo comments yet. Be the first to comment!