Skip to content

Commit

Permalink
fresh product changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan-g committed Sep 15, 2024
1 parent 1c11ab7 commit 728c79c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions say/crawler/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,9 @@ def __init__(self, url):
def get_data(self, fresh, force=False):
if self.dkp is None:
return


# fresh products have different api
if fresh:
if fresh == False:
url = self.API_URL_NOT_FRESH % self.dkp
if force:
r = requests.get(url)
Expand Down

0 comments on commit 728c79c

Please sign in to comment.