Skip to content

Commit

Permalink
fix: first day of month not finding sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
Márcio Gabriel committed Oct 26, 2024
1 parent affe474 commit 8ac0e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapers/paulo_amorim.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def _get_todays_features(self):
strong_tag = p_tag.find("strong")
if strong_tag is None:
continue
strong_text = unicodedata.normalize("NFKC", strong_tag.text)
strong_text = unicodedata.normalize("NFKC", strong_tag.text.replace("º", ""))
movie_matches_today = strong_text.lower().startswith(
today_str
) or strong_text.lower().startswith(today_str_no_leading_zero)
Expand Down

0 comments on commit 8ac0e41

Please sign in to comment.