Skip to content

Commit

Permalink
fix: don't hardcode republication_interval. Fixes #271
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Mar 14, 2024
1 parent a829050 commit 7c982ad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/kleinanzeigen_bot/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ async def _extract_ad_page_info(self, directory:str, ad_id:int) -> dict[str, Any
info['contact'] = await self._extract_contact_from_ad_page()

# process meta info
info['republication_interval'] = 7 # a default value for downloaded ads
info['id'] = ad_id

try: # try different locations known for creation date element
Expand Down

0 comments on commit 7c982ad

Please sign in to comment.