forgot https
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2023-01-20 16:07:32 +01:00
parent 55db6736ba
commit 5c05aff14a

View File

@ -106,7 +106,7 @@ def parse_size(size):
def check_files(id): def check_files(id):
req = session.get(f"{YGG_DOMAIN}/engine/get_files", params={"torrent": id}) req = session.get(f"https://{YGG_DOMAIN}/engine/get_files", params={"torrent": id})
res = bs4.BeautifulSoup(req.text, "html.parser") res = bs4.BeautifulSoup(req.text, "html.parser")
pre = res.select_one("pre") pre = res.select_one("pre")
jhtml = json.loads(pre.get_text()) jhtml = json.loads(pre.get_text())