From 67b1422f8803081e1e283ae0b3e6b54fcfe9f34c Mon Sep 17 00:00:00 2001 From: Joan Cano Date: Tue, 4 Jul 2023 13:40:18 +0200 Subject: [PATCH] Changed http to https --- wallamanta/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallamanta/worker.py b/wallamanta/worker.py index dd48fcf..2b31b66 100644 --- a/wallamanta/worker.py +++ b/wallamanta/worker.py @@ -29,7 +29,7 @@ class Worker: def request(self, product_name, n_articles, latitude=constants.LATITUDE, longitude=constants.LONGITUDE, distance='0', condition='all', min_price=0, max_price=10000000, category="", subcategories=[]): distance = str(int(distance) * 1000) - url = (f"http://api.wallapop.com/api/v3/general/search?keywords={product_name}" + url = (f"https://api.wallapop.com/api/v3/general/search?keywords={product_name}" f"&order_by=newest&latitude={latitude}" f"&longitude={longitude}" f"&distance={distance}"