File size: 200 Bytes
2e20f5f
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
from bs4 import BeautifulSoup
import requests

url = "https://en.wikipedia.org/wiki/List_of_largest_companies_by_revenue"
page = requests.get(url)
soup = BeautifulSoup(page.text, 'html')

print(soup)