Chore: Updating app.py

This commit is contained in:
Halcy0nic
2024-09-04 13:32:46 -06:00
parent 8f8945bea6
commit 7e65c813fd
+1 -1
View File
@@ -145,7 +145,7 @@ def parse_and_store_data():
try:
print(f"Fetching data from {url}")
response = requests.get(url, headers=headers, timeout=10)
print(f"Status code: {response.status_code}")
if response.status_code == 200:
soup = BeautifulSoup(response.text, 'html.parser')
table = soup.find('table')