Skip to content

Commit 314137d

Browse files
committed
retialer 403 fix
1 parent f9fcb07 commit 314137d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

say/crawler/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,9 @@ def get_data(self, force):
142142
return
143143

144144
url = self.API_URL_NOT_FRESH % self.dkp
145-
print("url:")
146-
print(url)
147145
api_response = self.call_api(url)
148146
parsed_result = self.parse_result(api_response)
149147

150-
print(parsed_result)
151148
if int(parsed_result["status"]) == 200:
152149
parsed_result = self.parse_result(api_response)
153150
elif parsed_result["status"] == 302 and "fresh" in parsed_result["redirect_url"]["uri"]:

0 commit comments

Comments
 (0)