search working but at 50%
This commit is contained in:
parent
fcc4af88af
commit
01abdeff8c
1 changed files with 2 additions and 1 deletions
3
main.py
3
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)
|
||||
|
||||
|
|
Reference in a new issue