Skip to content

Commit

Permalink
Remove arrow from IL parser (#7348)
Browse files Browse the repository at this point in the history
  • Loading branch information
tay authored Nov 5, 2024
1 parent 9ead11a commit 0ac1347
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions parsers/IL.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
from logging import Logger, getLogger
from zoneinfo import ZoneInfo

import arrow
from bs4 import BeautifulSoup
from requests import Response, Session, get

Expand Down Expand Up @@ -102,7 +101,7 @@ def extract_price_date(soup):
date_str = date_str.split(sep=" - ")
date_str = date_str.pop(1)

date = arrow.get(date_str, "DD.MM.YYYY").datetime
date = datetime.strptime(date_str, "%d.%m.%Y")

return date

Expand Down

0 comments on commit 0ac1347

Please sign in to comment.