Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1189,7 +1189,6 @@ def fetch_and_store_data_market():
|
|
| 1189 |
response = requests.get(api_url, params=scraperapi_params)
|
| 1190 |
if response.status_code == 200:
|
| 1191 |
soup = BeautifulSoup(response.content, 'html.parser')
|
| 1192 |
-
if soup:
|
| 1193 |
table = soup.find("table", {"class": "tableagmark_new"})
|
| 1194 |
if table:
|
| 1195 |
headers = [th.get_text(strip=True) for th in table.find_all("th")]
|
|
|
|
| 1189 |
response = requests.get(api_url, params=scraperapi_params)
|
| 1190 |
if response.status_code == 200:
|
| 1191 |
soup = BeautifulSoup(response.content, 'html.parser')
|
|
|
|
| 1192 |
table = soup.find("table", {"class": "tableagmark_new"})
|
| 1193 |
if table:
|
| 1194 |
headers = [th.get_text(strip=True) for th in table.find_all("th")]
|