Answers for "python soup request"

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.select('table#dailyClimate tr'):
Posted by: Guest on July-14-2020

Browse Popular Code Answers by Language