web scraping in python with beautifulsoup code example
Example 1: BeautifulSoup - scraping the link of the website
import requests
from bs4 import BeautifulSoup
page = requests.get('http://www.example.com')
soup = BeautifulSoup(page.content, 'html.parser')
print(soup.select_one('p a').attrs['href']) # get the link of the website
Example 2: web scraping python
Python OneStop Solution..
link: https://github.com/itzanuragsinghania/Python-One-Stop