Skip to main content

Simple but gold

Project description

$${\textbf{Luanon} \space \textbf{Python} \space \textbf{Library}}$$

$${An \space intellectual \space product \space of \space \color{lightyellow}Lua \space \color{lightgreen}Non \space \color{lightblue}Team}$$

đói.gif
💜🩷💛ツ💚💙🩵


Ghi chú

  • Nhóm hỗ trợ Telegram: LuaNonCommunity

  • Phiên bản hiện tại: 1.0.0-dev (là chưa có gì hết😁)

    Giải thích
    DS Không hoạt động, đang sửa lại
    TN Không hoạt động, không có thời gian sửa lại
    CO Hoạt động bình thường

Cây dự án

  • Cái trạng thái xem ở 👆.

    Module Python Trạng thái Mô tả
    cloudscraper ≥ 3.12 DS Bypass cloudflare bằng thư viện requests và jsdom.
    hcaptcha ≥ 3.12 TN Bypass hcaptcha bằng thư viện requests.
    image ≥ 3.12 TN Bộ xử lý hình ảnh để train AI cho hcaptcha
    js_runtime ≥ 3.12 CO Chạy Javascript trong Python.

CloudScraper

  • Chủ: @luanon404

  • Cu li: @ToDuy

  • Một số link tham khảo:

  • Một số ví dụ:

    from luanon.cloudscraper import CloudflareScraper
    
    try:
        scraper = CloudflareScraper(
            user_agent="Mozilla/5.0",
            cf_max_retries=1,
            cf_debug=True
        )
        resp = scraper.get(
            "https://nowsecure.nl/",
            proxies={
                "http": "http://ip:port",
                "https": "http://ip:port"
            },
            verify=False
        )
        print(f"Status code: {resp.status_code}")
        print(f"Source: {resp.text}")
    except Exception as ex:
        print(f"Lỗi: {repr(ex)}")
    

HCaptcha

  • Chả biết ghi gì nữa.

Image

  • Chả biết ghi gì nữa.

JS_Runtime

  • Một số ví dụ:

    from luanon.js_runtime import JSRuntime
    
    try:
        with JSRuntime() as js_runtime:
            result, error, log = js_runtime.eval("console.log('Hello, world!'); 1 + 1;")
            if error:
                raise Exception(f"Lỗi: {error}")
            else:
                print(f"Kết quả: {result}, log: {log}")
    except Exception as ex:
        print(f"Lỗi: {repr(ex)}")
    
    from luanon.js_runtime import JSRuntime
    
    try:
        js_runtime = JSRuntime()
        result, error, log = js_runtime.eval("console.log('Hello, world!'); 1 + 1;")
        if error:
            raise Exception(f"Lỗi: {error}")
        else:
            print(f"Kết quả: {result}, log: {log}")
        js_runtime.close()
    except Exception as ex:
        print(f"Lỗi: {repr(ex)}")
    

$${\textbf{©2023 LuaNonTeam. All Rights Reserved.}}$$

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

luanon-1.0.0.dev0.tar.gz (112.2 kB view hashes)

Uploaded Source

Built Distribution

luanon-1.0.0.dev0-py3-none-any.whl (122.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page