Alaiy commited on
Commit
b8d68d4
·
verified ·
1 Parent(s): 1060431

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
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")]