Click here to Skip to main content
15,795,581 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am trying to scrape all tables from Area dropdown list from this website Data Tables | U.S. Drought Monitor[^].I am new to scrapping and has no clue how approach this problem. Can someone please guide me.
Thank you

What I have tried:

import requests
import re

url = ''
response = requests.get(url)

soup = BeautifulSoup(response.text,'lxml')

items = soup.find_all('select',class_='form-select')

Updated 6-Jun-23 10:15am

1 solution

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900