From 314137d1628f201fe7098e07a1a66a170e24d7bf Mon Sep 17 00:00:00 2001 From: ehsang Date: Sat, 7 Dec 2024 19:46:25 +0330 Subject: [PATCH] retialer 403 fix --- say/crawler/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/say/crawler/__init__.py b/say/crawler/__init__.py index c923f152..25e9152c 100644 --- a/say/crawler/__init__.py +++ b/say/crawler/__init__.py @@ -142,12 +142,9 @@ def get_data(self, force): return url = self.API_URL_NOT_FRESH % self.dkp - print("url:") - print(url) api_response = self.call_api(url) parsed_result = self.parse_result(api_response) - print(parsed_result) if int(parsed_result["status"]) == 200: parsed_result = self.parse_result(api_response) elif parsed_result["status"] == 302 and "fresh" in parsed_result["redirect_url"]["uri"]: