This commit is contained in:
parent
55db6736ba
commit
5c05aff14a
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user