Fix / folder in pygg
This commit is contained in:
parent
b8d386d005
commit
c835aa3191
@ -107,7 +107,8 @@ def check_files(id):
|
||||
jhtml = json.loads(pre.get_text())
|
||||
html = bs4.BeautifulSoup(jhtml["html"], "html.parser")
|
||||
trs = html.select("tr")
|
||||
return len(trs) == 1 and "mkv" in trs[0].get_text().lower()
|
||||
filename = trs[0].get_text().lower()
|
||||
return len(trs) == 1 and "mkv" in filename and "/" not in filename
|
||||
|
||||
|
||||
def search_ygg(query, multi, full):
|
||||
|
Loading…
Reference in New Issue
Block a user