Giter Club home page Giter Club logo

nitro-generator-checker's Introduction

nitro-generator-checker's People

Contributors

dependabot[bot] avatar monosans avatar monosans[bot] avatar pre-commit-ci[bot] 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

Watchers

 avatar  avatar

nitro-generator-checker's Issues

proxies

why it says proxy timed out or proxy temporaly blocked

Error :

┏━━━━━━━┳━━━━━━━┓
┃ Total ┃ Valid ┃
┡━━━━━━━╇━━━━━━━┩
│ 1508  │ 0     │
└───────┴───────┘
Traceback (most recent call last):
  File "main.py", line 154, in <module>
    asyncio.run(main())
  File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "uvloop/loop.pyx", line 1501, in uvloop.loop.Loop.run_until_complete
  File "main.py", line 138, in main
    await NitroGeneratorChecker(
  File "main.py", line 130, in main
    await asyncio.gather(self.grab_proxies(), *coroutines)
  File "main.py", line 78, in checker
    proxy = choice(self.proxies)
  File "/usr/lib/python3.8/random.py", line 290, in choice
    raise IndexError('Cannot choose from an empty sequence') from None
IndexError: Cannot choose from an empty sequence

After a while I get this error

"ValueError: WebhookURL does not match the pattern"

$ sh ./start.sh
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /usr/lib/python3.10/site-packages (23.0.1)
Requirement already satisfied: setuptools in ~/.local/lib/python3.10/site-packages (67.6.1)
Requirement already satisfied: wheel in ~/.local/lib/python3.10/site-packages (0.40.0)
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: aiodns<4,>=3.0 in ~/.local/lib/python3.10/site-packages (from -r requirements.txt (line 1)) (3.0.0)
Requirement already satisfied: aiofiles<23.2,>=0.8 in ~/.local/lib/python3.10/site-packages (from -r requirements.txt (line 2)) (23.1.0)
Requirement already satisfied: aiohttp-socks<0.9,>=0.7 in ~/.local/lib/python3.10/site-packages (from -r requirements.txt (line 3)) (0.8.0)
Requirement already satisfied: aiohttp<4,>=3.8 in ~/.local/lib/python3.10/site-packages (from -r requirements.txt (line 4)) (3.8.4)
Requirement already satisfied: rich<14,>=12.0 in ~/.local/lib/python3.10/site-packages (from -r requirements.txt (line 5)) (13.3.3)
Requirement already satisfied: uvloop<0.18,>=0.16 in ~/.local/lib/python3.10/site-packages (from -r requirements.txt (line 6)) (0.17.0)
Requirement already satisfied: pycares>=4.0.0 in ~/.local/lib/python3.10/site-packages (from aiodns<4,>=3.0->-r requirements.txt (line 1)) (4.3.0)
Requirement already satisfied: python-socks[asyncio]<3.0.0,>=2.0.0 in ~/.local/lib/python3.10/site-packages (from aiohttp-socks<0.9,>=0.7->-r requirements.txt (line 3)) (2.2.0)
Requirement already satisfied: multidict<7.0,>=4.5 in ~/.local/lib/python3.10/site-packages (from aiohttp<4,>=3.8->-r requirements.txt (line 4)) (6.0.4)
Requirement already satisfied: aiosignal>=1.1.2 in ~/.local/lib/python3.10/site-packages (from aiohttp<4,>=3.8->-r requirements.txt (line 4)) (1.3.1)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in ~/.local/lib/python3.10/site-packages (from aiohttp<4,>=3.8->-r requirements.txt (line 4)) (4.0.2)
Requirement already satisfied: attrs>=17.3.0 in /usr/lib/python3.10/site-packages (from aiohttp<4,>=3.8->-r requirements.txt (line 4)) (22.2.0)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in ~/.local/lib/python3.10/site-packages (from aiohttp<4,>=3.8->-r requirements.txt (line 4)) (3.1.0)
Requirement already satisfied: yarl<2.0,>=1.0 in ~/.local/lib/python3.10/site-packages (from aiohttp<4,>=3.8->-r requirements.txt (line 4)) (1.8.2)
Requirement already satisfied: frozenlist>=1.1.1 in ~/.local/lib/python3.10/site-packages (from aiohttp<4,>=3.8->-r requirements.txt (line 4)) (1.3.3)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/lib/python3.10/site-packages (from rich<14,>=12.0->-r requirements.txt (line 5)) (2.14.0)
Requirement already satisfied: markdown-it-py<3.0.0,>=2.2.0 in ~/.local/lib/python3.10/site-packages (from rich<14,>=12.0->-r requirements.txt (line 5)) (2.2.0)
Requirement already satisfied: mdurl~=0.1 in ~/.local/lib/python3.10/site-packages (from markdown-it-py<3.0.0,>=2.2.0->rich<14,>=12.0->-r requirements.txt (line 5)) (0.1.2)
Requirement already satisfied: cffi>=1.5.0 in ~/.local/lib/python3.10/site-packages (from pycares>=4.0.0->aiodns<4,>=3.0->-r requirements.txt (line 1)) (1.15.1)
Requirement already satisfied: idna>=2.0 in /usr/lib/python3.10/site-packages (from yarl<2.0,>=1.0->aiohttp<4,>=3.8->-r requirements.txt (line 4)) (3.4)
Requirement already satisfied: pycparser in /usr/lib/python3.10/site-packages (from cffi>=1.5.0->pycares>=4.0.0->aiodns<4,>=3.0->-r requirements.txt (line 1)) (2.21)
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /usr/lib/python3.10/runpy.py:196 in _run_module_as_main                                          │
│                                                                                                  │
│   193 │   main_globals = sys.modules["__main__"].__dict__                                        │
│   194 │   if alter_argv:                                                                         │
│   195 │   │   sys.argv[0] = mod_spec.origin                                                      │
│ ❱ 196 │   return _run_code(code, main_globals, None,                                             │
│   197 │   │   │   │   │    "__main__", mod_spec)                                                 │
│   198                                                                                            │
│   199 def run_module(mod_name, init_globals=None,                                                │
│                                                                                                  │
│ /usr/lib/python3.10/runpy.py:86 in _run_code                                                     │
│                                                                                                  │
│    83 │   │   │   │   │      __loader__ = loader,                                                │
│    84 │   │   │   │   │      __package__ = pkg_name,                                             │
│    85 │   │   │   │   │      __spec__ = mod_spec)                                                │
│ ❱  86 │   exec(code, run_globals)                                                                │
│    87 │   return run_globals                                                                     │
│    88                                                                                            │
│    89 def _run_module_code(code, init_globals=None,                                              │
│                                                                                                  │
│ ~/nitro-generator-checker-main/nitro_generator_checker/__main__.py:59 in <module>      │
│                                                                                                  │
│   56                                                                                             │
│   57 if __name__ == "__main__":                                                                  │
│   58 │   set_event_loop_policy()                                                                 │
│ ❱ 59 │   asyncio.run(main())                                                                     │
│   60                                                                                             │
│                                                                                                  │
│ /usr/lib/python3.10/asyncio/runners.py:44 in run                                                 │
│                                                                                                  │
│   41 │   │   events.set_event_loop(loop)                                                         │
│   42 │   │   if debug is not None:                                                               │
│   43 │   │   │   loop.set_debug(debug)                                                           │
│ ❱ 44 │   │   return loop.run_until_complete(main)                                                │
│   45 │   finally:                                                                                │
│   46 │   │   try:                                                                                │
│   47 │   │   │   _cancel_all_tasks(loop)                                                         │
│                                                                                                  │
│ in uvloop.loop.Loop.run_until_complete:1517                                                      │
│                                                                                                  │
│ ~/nitro-generator-checker-main/nitro_generator_checker/__main__.py:54 in main          │
│                                                                                                  │
│   51 │   console = Console()                                                                     │
│   52 │   configure_logging(console)                                                              │
│   53 │   cfg = get_config("config.ini")                                                          │
│ ❱ 54 │   await NitroChecker.run_from_configparser(cfg, console=console)                          │
│   55                                                                                             │
│   56                                                                                             │
│   57 if __name__ == "__main__":                                                                  │
│                                                                                                  │
│ ~/nitro-generator-checker-main/nitro_generator_checker/nitro_checker.py:64 in          │
│ run_from_configparser                                                                            │
│                                                                                                  │
│    61 │   ) -> None:                                                                             │
│    62 │   │   cfg = config["DEFAULT"]                                                            │
│    63 │   │   async with ClientSession(cookie_jar=DummyCookieJar()) as session:                  │
│ ❱  64 │   │   │   ngc = cls(                                                                     │
│    65 │   │   │   │   session=session,                                                           │
│    66 │   │   │   │   max_connections=cfg.getint("MaxConnections", 512),                         │
│    67 │   │   │   │   webhook_url=cfg.get("WebhookURL"),                                         │
│                                                                                                  │
│ ~/nitro-generator-checker-main/nitro_generator_checker/nitro_checker.py:46 in __init__ │
│                                                                                                  │
│    43 │   │   console: Optional[Console] = None,                                                 │
│    44 │   ) -> None:                                                                             │
│    45 │   │   validators.timeout(timeout)                                                        │
│ ❱  46 │   │   validators.webhook_url(webhook_url)                                                │
│    47 │   │                                                                                      │
│    48 │   │   self.console = console or Console()                                                │
│    49 │   │   self.counter = Counter()                                                           │
│                                                                                                  │
│ ~/nitro-generator-checker-main/nitro_generator_checker/validators.py:64 in webhook_url │
│                                                                                                  │
│   61 │   │   r"https:\/\/discord\.com\/api\/webhooks\/[^\/]+\/[^\/]+", value                     │
│   62 │   ):                                                                                      │
│   63 │   │   msg = "WebhookURL does not match the pattern"                                       │
│ ❱ 64 │   │   raise ValueError(msg)                                                               │
│   65                                                                                             │
│   66                                                                                             │
│   67 def timeout(value: float) -> None:                                                          │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ValueError: WebhookURL does not match the pattern

This is always the output, no matter if inputting start.sh or python3 -m nitro_generator_checker.
OS is EndeavourOS, ArchLinux-based distro.

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.