Skip to content

Commit 6022c39

Browse files
committed
Requested Changes Applied
1 parent 83b995b commit 6022c39

File tree

1 file changed

+5
-5
lines changed
  • Scripts/Web_Scrappers/Google_Search_Using_Python

1 file changed

+5
-5
lines changed

Scripts/Web_Scrappers/Google_Search_Using_Python/code.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ def gSearch(query : str) -> str:
55
for item in search(query, tld = "co.in", num=10, stop = 10, pause = 2):
66
print(item)
77

8+
if __name__ == "__main__":
9+
# This is the text that you want to search for.
10+
query = input("Enter your query : ")
811

9-
# This is the text that you want to search for.
10-
query = input("Enter your query : ")
11-
12-
# Search Function called
13-
gSearch(query)
12+
# Search Function called
13+
gSearch(query)

0 commit comments

Comments
 (0)