From 5c05aff14acc88106ebd72f6ddd2dc80d1cacc03 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Fri, 20 Jan 2023 16:07:32 +0100 Subject: [PATCH] forgot https --- commands/pygg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/pygg.py b/commands/pygg.py index aebf01d..5e56fb4 100755 --- a/commands/pygg.py +++ b/commands/pygg.py @@ -106,7 +106,7 @@ def parse_size(size): 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") pre = res.select_one("pre") jhtml = json.loads(pre.get_text())