We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 720feed + 85eac9d commit a883b11Copy full SHA for a883b11
1 file changed
src/scrapers/daily_sun_scrape.py
@@ -36,7 +36,7 @@ def fetch_news():
36
published_at_dt = published_at_dt.replace(tzinfo=timezone.utc)
37
published_at = published_at_dt.isoformat().replace('+00:00', 'Z')
38
39
- if published_at >= three_days_ago:
+ if published_at_dt >= three_days_ago:
40
# Extract sport type from title
41
title = article["headline"]
42
sports_type = extract_sport_type_from_title(title)
0 commit comments