Update test.py
This commit is contained in:
parent
8c65f23327
commit
28b97da190
1 changed files with 1 additions and 1 deletions
2
test.py
2
test.py
|
|
@ -79,7 +79,7 @@ def blogquest():
|
|||
date_end = html_content.find('</div>', date_start)
|
||||
|
||||
# Use the default date if no date is found
|
||||
blog_date = '01/01/2023' if date_start == -1 or date_end == -1 else html_content[date_start:date_end]
|
||||
# blog_date = '01/01/2023' if date_start == -1 or date_end == -1 else html_content[date_start:date_end]
|
||||
|
||||
# Extract the blog title
|
||||
blog_title = html_content[title_start:title_end]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue