Skip to content

Commit 670213f

Browse files
committed
Add emojis to search
1 parent 7a5e5a5 commit 670213f

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/arguments/search.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ def search_for_results(self, save=False):
6363
search_error = SearchError("No answer found", "Please try reddit")
6464
else:
6565
data = self.utility_object.get_ans(questions)
66+
print('''
67+
\U0001F604 Hopefully you found what you were looking for!
68+
\U0001F4C2 You can save an answer to a file with '-file'
69+
70+
Not found what you were looking for \U00002754
71+
\U0001F4C4 Open browser and post your question on StackOverflow with '-n [title (oprional)]'
72+
73+
\U0001F50E To search more use '-s'
74+
''')
6675

6776
if save:
6877
filename = SaveSearchResults(data)

src/arguments/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def make_request(self, que, tag: str):
2929
:return: Json response from the api call.
3030
:rtype: Json format data
3131
"""
32-
print("Searching for the answer")
32+
print("\U0001F50E Searching for the answer")
3333
try:
3434
resp = requests.get(self.__get_search_url(que, tag))
3535
except:

0 commit comments

Comments
 (0)