Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,6 +23,7 @@ def days_until_new_year()-> str: #it's import to specify the return type
|
|
| 23 |
response.raise_for_status()
|
| 24 |
parsed_content = BeautifulSoup(response.content, 'lxml')
|
| 25 |
element = parsed_content.find('el_d2')
|
|
|
|
| 26 |
return element.text
|
| 27 |
|
| 28 |
except Exception as e:
|
|
|
|
| 23 |
response.raise_for_status()
|
| 24 |
parsed_content = BeautifulSoup(response.content, 'lxml')
|
| 25 |
element = parsed_content.find('el_d2')
|
| 26 |
+
print(element)
|
| 27 |
return element.text
|
| 28 |
|
| 29 |
except Exception as e:
|