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())