-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
main.py
39 lines (35 loc) · 1.03 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
from Username import *
from title import *
from search import search
from reverseimagesearch import reverseimagesearch
R = '\033[31m' # red
G = '\033[32m' # green
C = '\033[36m' # cyan
W = '\033[0m' # white
def main():
while True:
ch='y'
title()
print(C+"1."+W+"Check in Social Media")
print(C+"2."+W+"Platforms and Website")
ch=input(C+"root@social_scraper:~/Username#"+C+"Enter the choice:"+W)
if ch=='1':
username()
elif ch=='2':
print(C+"1."+W+"Keyword Search")
print(C+"2."+W+"Image Search")
ch1=input(C+"root@social_scraper:~/Username/search#"+C+"Enter the choice:"+W)
if ch1=='1':
search()
elif ch1=='2':
reverseimagesearch()
else:
print("Invalid Choice")
ch=input("Do you want to Continue(Y/N):")
if ch=='y' or ch=='Y':
continue
else:
print("\nThank You")
return
if __name__ == '__main__':
main()