You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your script works but not always, any time it can raise this error:
AttributeError: 'NoneType' object has no attribute 'findAll'
with open('output_no_bypass.csv', 'r') as file:
filedata = file.readlines()
for line in filedata:
print('\nBEFORE:\n',line,'\n')
links = re.findall(REGEX, line)
for link in links:
if 'nxbrew.com' not in link:
bypassed = bypass(link)
print(link, '>>', bypassed)
line = line.replace(link, bypassed)
print('\nAFTER:\n',line,'\n')
with open('output_bypass.csv', 'a') as output:
output.write(line)
BEFORE:
#1 Anagrams Sudokus Bundle,https://nxbrew.com/1-anagrams-sudokus-bundle-switch-nsp-eshop/,"Mar 04, 2022",Puzzle,Eclipse Games,eShop,NSP,01007360179AE000,207 MB,English,12.0.0,12.0.0 + Atmosphere 0.19.0,"{'1Fichier': [['https://ouo.io/nWfmKG9']], 'Google Drive': [['https://ouo.io/A88VyD']], 'MegaUp': [['https://ouo.io/VJ5pXp']]}",{},{},{},{},{},{},{},{},{},{},{},{},{},{}
https://ouo.io/nWfmKG9 >> https://1fichier.com/?dj796bxcrk3jdk3lk7lf&af=327151
Traceback (most recent call last):
File "/run/media/kudy/DATA/Projects/Parser/bypass.py", line 100, in <module>
bypassed = bypass(link)
File "/run/media/kudy/DATA/Projects/Parser/bypass.py", line 86, in bypass
bypassed = ouo_bypass(url)['bypassed_link']
File "/run/media/kudy/DATA/Projects/Parser/bypass.py", line 55, in ouo_bypass
inputs = bs4.form.findAll("input", {"name": re.compile(r"token$")})
AttributeError: 'NoneType' object has no attribute 'findAll'
The text was updated successfully, but these errors were encountered:
Your script works but not always, any time it can raise this error:
AttributeError: 'NoneType' object has no attribute 'findAll'
The text was updated successfully, but these errors were encountered: