Skip to content

Commit 5ff659f

Browse files
committed
solved syntatic error
1 parent c8209f9 commit 5ff659f

4 files changed

Lines changed: 17 additions & 7 deletions

File tree

gdcli/commands/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def __query_build_phone__(self, args: Dict) -> str:
8383
self.parser.print_usage()
8484
return None
8585

86-
def __query_build_file__(args) -> str:
86+
def __query_build_file__(self,args) -> str:
8787
try:
8888
if(args.get("search_query")):
8989
return f'https://google.com/search?q={args.get("search_query")} filetype:{args.get("file_type")}'

gdcli/utils/cli_arguments/args.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@ def _initialise_args__(self):
88
'''Commamd line tool for Google dorks\n
99
1010
1) -op 1 for general query \n
11-
>> gd -op 1 -q ninja -s instagram -e gamer \n
11+
>> gdcli -op 1 -q ninja -s instagram -e gamer \n
1212
1313
2) -op 2 for instagram user finding
14-
>> gd -op 2 -q ninja -b gamer -l usa
14+
>> gdcli -op 2 -q ninja -b gamer -l usa
15+
16+
3) -op 2 for phone number search
17+
>> gdcli -op 2 "223234566"
1518
16-
3) -op to for specific filetype
17-
>> gd -op 3 -q python -f docx
19+
4) -op to for specific filetype
20+
>> gdcli -op 3 -q python -f docx
1821
1922
''')
2023
self.parser.add_argument(

readme.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,14 @@ Install google dork cli using pip
2323
>> gdcli -op 1 -q ninja -s instagram -e gamer
2424

2525
2) -op 2 for instagram user finding
26-
>> gdcli -op 2 -q ninja -b gamer -l usa
26+
>> gdcli -op 2 -q ninja -b gamer -l usa
27+
28+
3) -op 2 for phone number search
29+
>> gdcli -op 2 "223234566"
30+
31+
4) -op to for specific filetype
32+
>> gdcli -op 3 -q python -f docx
33+
2734

2835

2936

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
long_description = (this_directory / "README.md").read_text()
55
setup(
66
name="gdcli",
7-
version="1.0.8",
7+
version="1.0.9",
88
author="Subrahmanya s hegade",
99
author_email="hegadedevelopment@gmail.com",
1010
description='''

0 commit comments

Comments
 (0)