diff --git a/main.py b/main.py index c9c26b2..b77c7b4 100644 --- a/main.py +++ b/main.py @@ -42,7 +42,8 @@ class Scraper: def search(self, session) -> str: if self.debug: print("Going to search page...", end = " ") - reponse = session.get(f"{self.url}/index.php") + reponse = session.get(f"{self.url}/search.php", params = {"keywords": self.requested_app, "sr": "topics", "sf": "titleonly"}) + if self.debug: print(reponse.status_code, reponse.url) with open("temp.html", "w") as f: # debug f.writelines(reponse.text)