GilbertClaus commited on
Commit
851d5c4
·
1 Parent(s): 060c0ea

Merge branch 'main' of https://huggingface.co/spaces/GilbertClaus/Nekopoi

Browse files
Files changed (1) hide show
  1. others.py +1 -1
others.py CHANGED
@@ -97,7 +97,7 @@ def ouo_bypass(url, retries=3, attempt = 0):
97
  if res.headers.get('Location'): break
98
 
99
  bs4 = BeautifulSoup(res.content, 'html.parser')
100
- inputs = bs4.form.findAll("input", {"name": re.compile(r"token$")})
101
  data = { input.get('name'): input.get('value') for input in inputs }
102
  data['x-token'] = RecaptchaV3()
103
 
 
97
  if res.headers.get('Location'): break
98
 
99
  bs4 = BeautifulSoup(res.content, 'html.parser')
100
+ inputs = bs4.form.find_all("input", {"name": re.compile(r"token$")})
101
  data = { input.get('name'): input.get('value') for input in inputs }
102
  data['x-token'] = RecaptchaV3()
103