Git Product home page Git Product logo

ouo-bypass's Introduction

ouo-bypass

Script to bypass ouo.io/press short links (incl reCaptcha v3 bypass)

ouo-bypass's People

Contributors

neppu-nep avatar xcscxr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ouo-bypass's Issues

AttributeError: 'NoneType' object has no attribute 'findAll'

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'

curl_cffi.curl.CurlError: Failed to perform, ErrCode: 28, Reason: 'Operation timed out after 30002 milliseconds with 0 bytes received'

URL
https://ouo.io/MhI7WZ

ERROR:
Traceback (most recent call last):
File "C:\Users\Thinkpad\AppData\Local\Programs\Python\Python39\lib\site-packages\curl_cffi\requests\session.py", line 436, in request
c.perform()
File "C:\Users\Thinkpad\AppData\Local\Programs\Python\Python39\lib\site-packages\curl_cffi\curl.py", line 191, in perform
self._check_error(ret, action="perform")
File "C:\Users\Thinkpad\AppData\Local\Programs\Python\Python39\lib\site-packages\curl_cffi\curl.py", line 84, in _check_error
raise error
curl_cffi.curl.CurlError: Failed to perform, ErrCode: 28, Reason: 'Operation timed out after 30002 milliseconds with 0 bytes received'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\private file\cache\Eclipse\python_script_practice\web_crawler_download\ouo_bypass_v1.py", line 87, in
out = ouo_bypass(url)
File "D:\private file\cache\Eclipse\python_script_practice\web_crawler_download\ouo_bypass_v1.py", line 60, in ouo_bypass
res = client.get(tempurl, impersonate="chrome110")
File "C:\Users\Thinkpad\AppData\Local\Programs\Python\Python39\lib\site-packages\curl_cffi\requests\session.py", line 438, in request
raise RequestsError(e)
curl_cffi.requests.errors.RequestsError: Failed to perform, ErrCode: 28, Reason: 'Operation timed out after 30002 milliseconds with 0 bytes received'

Uploading 1694747516387.png…

return None

IMG_20220625_153435

Why it returns None when i run on heroku but works when running locally ?

How to run script?

As someone who doesn't use python very much, it is a really confusing on how one is to install/run? this script. can a simple readme.txt doc be made for those, like myself. containing a super brief explanation on how to operate this. for example does it use Tampermonkey? is it always running in the background? is it a commandline script? do you need to use IDLE to run it? things like this. would help the less informed? Thanks anyways!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.