From 202312ff4c24ed52d6b28ecd6b6247471a0ac00f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=C5=A0incek?= <35937483+ivan-sincek@users.noreply.github.com> Date: Wed, 25 Sep 2024 23:43:21 +0200 Subject: [PATCH] Minor Update --- README.md | 6 +++--- pyproject.toml | 4 ++-- src/chad/chad.py | 8 ++++---- src/chad_extractor/chad_extractor.py | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index d5856cc..219d516 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ python3 -m pip install --upgrade build python3 -m build -python3 -m pip install dist/google_chad-6.3-py3-none-any.whl +python3 -m pip install dist/google_chad-6.4-py3-none-any.whl ``` ## Shortest Possible @@ -279,7 +279,7 @@ Additionally, to avoid hitting rate limits on platforms like [Instagram's](https ## Usage ```fundamental -Chad v6.3 ( github.com/ivan-sincek/chad ) +Chad v6.4 ( github.com/ivan-sincek/chad ) Usage: chad -q queries [-s site ] [-x proxies ] [-o out ] Example: chad -q queries.txt [-s *.example.com] [-x proxies.txt] [-o results.json] @@ -346,7 +346,7 @@ DEBUG ``` ```fundamental -Chad Extractor v6.3 ( github.com/ivan-sincek/chad ) +Chad Extractor v6.4 ( github.com/ivan-sincek/chad ) Usage: chad-extractor -t template -res results -o out [-s sleep] [-rs random-sleep] Example: chad-extractor -t template.json -res chad_results -o report.json [-s 1.5 ] [-rs ] diff --git a/pyproject.toml b/pyproject.toml index b4d6466..9b88654 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "google-chad" -version = "6.3" +version = "6.4" authors = [{ name = "Ivan Sincek" }] description = "Not another Google Dorking tool." readme = "README.md" @@ -19,7 +19,7 @@ dependencies = [ "asyncio>=3.4.3", "colorama>=0.4.6", "datetime>=5.2", - "nagooglesearch>=7.1", + "nagooglesearch>=7.2", "playwright>=1.47.0", "regex>=2023.8.8", "requests>=2.31.0", diff --git a/src/chad/chad.py b/src/chad/chad.py index 2a6e5f5..d54ebfc 100644 --- a/src/chad/chad.py +++ b/src/chad/chad.py @@ -196,9 +196,9 @@ def run(self): error = client.get_current_error() if error: termcolor.cprint(error, "yellow") - if error == client.get_init_error(): + if error == "INIT_ERROR": exit_program = True - elif error == client.get_requests_error() or error == client.get_rate_limit_error(): + elif error == "REQUESTS_ERROR" or error == "429_TOO_MANY_REQUESTS": if entry["proxy"]: remove_proxy = True else: @@ -337,7 +337,7 @@ def remove_proxy(self, proxy): class MyArgParser(argparse.ArgumentParser): def print_help(self): - print("Chad v6.3 ( github.com/ivan-sincek/chad )") + print("Chad v6.4 ( github.com/ivan-sincek/chad )") print("") print("Usage: chad -q queries [-s site ] [-x proxies ] [-o out ]") print("Example: chad -q queries.txt [-s *.example.com] [-x proxies.txt] [-o results.json]") @@ -568,7 +568,7 @@ def main(): if validate.run(): print("###########################################################################") print("# #") - print("# Chad v6.3 #") + print("# Chad v6.4 #") print("# by Ivan Sincek #") print("# #") print("# Search Google Dorks like Chad. #") diff --git a/src/chad_extractor/chad_extractor.py b/src/chad_extractor/chad_extractor.py index 06bc0cd..0a6e99c 100644 --- a/src/chad_extractor/chad_extractor.py +++ b/src/chad_extractor/chad_extractor.py @@ -749,7 +749,7 @@ def __page_block(self, request): class MyArgParser(argparse.ArgumentParser): def print_help(self): - print("Chad Extractor v6.3 ( github.com/ivan-sincek/chad )") + print("Chad Extractor v6.4 ( github.com/ivan-sincek/chad )") print("") print("Usage: chad-extractor -t template -res results -o out [-s sleep] [-rs random-sleep]") print("Example: chad-extractor -t template.json -res chad_results -o report.json [-s 1.5 ] [-rs ]") @@ -1103,7 +1103,7 @@ def main(): if validate.run(): print("###########################################################################") print("# #") - print("# Chad Extractor v6.3 #") + print("# Chad Extractor v6.4 #") print("# by Ivan Sincek #") print("# #") print("# Extract and validate data from Chad results or plaintext files. #")