Spaces:
Runtime error
Runtime error
Update app.py (#4)
Browse files- Update app.py (99f4503cf2135e979d3518ce65fd37dcca30396e)
Co-authored-by: vumichien <vumichien@users.noreply.huggingface.co>
app.py
CHANGED
@@ -18,7 +18,7 @@ def data_scraping(url_list):
|
|
18 |
for url in url_list:
|
19 |
response = requests.get(url)
|
20 |
soup = BeautifulSoup(response.text, "html.parser")
|
21 |
-
div_class = 'grid
|
22 |
div = soup.find('div', {'class': div_class})
|
23 |
for a in div.find_all('a', href=True):
|
24 |
model_list.append(a['href'])
|
|
|
18 |
for url in url_list:
|
19 |
response = requests.get(url)
|
20 |
soup = BeautifulSoup(response.text, "html.parser")
|
21 |
+
div_class = 'grid grid-cols-1 gap-5 2xl:grid-cols-2'
|
22 |
div = soup.find('div', {'class': div_class})
|
23 |
for a in div.find_all('a', href=True):
|
24 |
model_list.append(a['href'])
|