Answers for "beautifulsoup requests 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
0

while scraping table data i am getting output as none

for row in soup.find('table', id='dailyClimate').find_all('tr'):
Posted by: Guest on July-14-2020

Code answers related to "beautifulsoup requests python"

Browse Popular Code Answers by Language