mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-11 11:22:48 +02:00
cleanup
This commit is contained in:
@@ -135,7 +135,7 @@ def getArtSciRepeaters(lat=0, lon=0):
|
||||
if zipCode.isnumeric():
|
||||
try:
|
||||
artsci_url = f"http://www.artscipub.com/mobile/showstate.asp?zip={zipCode}"
|
||||
response = requests.get(artsci_url)
|
||||
response = requests.get(artsci_url, timeout=urlTimeoutSeconds)
|
||||
if response.status_code!=200:
|
||||
logger.error(f"Location:Error fetching data from {artsci_url} with status code {response.status_code}")
|
||||
soup = bs.BeautifulSoup(response.text, 'html.parser')
|
||||
|
||||
Reference in New Issue
Block a user