Answers for "beautfil soup with requests module python"

1

beautifulsoup and requesrs

from bs4 import BeautifulSoup
import requests

page = requests.get('https://www.timeanddate.com/worldclock/vietnam/hanoi')
soup = BeautifulSoup(page.text, 'html.parser')

soup.find_all(id='qlook')[0].find_all(id='ct')[0]
Posted by: Guest on September-17-2020

Code answers related to "beautfil soup with requests module python"

Browse Popular Code Answers by Language