I feel like this has been done by someone before and found some GitHub scripts, but it's no exactly what I need. I need to automate the monthly download of FEMA flood hazard shapefiles from the FEMA Map Service Center https://msc.fema.gov/portal/advanceSearch#searchresultsanchor. Currently, our team manually selects a state, picks each county, and downloads the files. I'd like to script this process so that all county shapefiles for a given state (or all states) are downloaded automatically every month and stored in an enterprise SDE geodatabase.
Requirements:
Automate searching for available county datasets
Extract direct download links for each county
Download all available shapefiles
Import into SDE using arcpy
Any guidance, sample scripts, or Esri tools that might help would be appreciated