diff --git a/README.md b/README.md index 8ec9f97f8..98e3660eb 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,8 @@ We now have a section for miscellaneous scripts as well.
Sahil Bairagi

💻
tauseefmohammed2

💻
Ameya Deshpande

💻 +
Naman Jain

💻 +=======
T3cH_W1z4rD

💻
Meghana Varanasi

💻 @@ -127,4 +129,4 @@ SR No | Project | Author 2 | [Pycon Proposals Scraper](https://github.com/Python-World/Python_and_the_Web/tree/master/Scripts/Web_Scrappers/Pycon_Proposals)| [Aditya Jetely](https://github.com/AdityaJ7) 3 | [Hacktoberfest Events Scraper](https://github.com/Python-World/Python_and_the_Web/tree/master/Scripts/Web_Scrappers/Hacktoberfest_Events)| [Aditya Jetely](https://github.com/AdityaJ7) 4 | [Wifi Speed Tester](https://github.com/Python-World/Python_and_the_Web/tree/master/Scripts/Miscellaneous/Wifi_Speed)| [AdeshChoudhar19](https://github.com/AdeshChoudhar19) -5 | [Google Search Using Python](https://github.com/Python-World/Python_and_the_Web/tree/master/Scripts/Miscellaneous/Wifi_Speed)| [Naman Jain](https://github.com/nj1902) +5 | [Google Search Using Python](https://github.com/Python-World/Python_and_the_Web/tree/master/Scripts/Web_Scrappers/Google_Search_Using_Python)| [Naman Jain](https://github.com/nj1902) diff --git a/Scripts/Web_Scrappers/Google Search Using Python/README.md b/Scripts/Web_Scrappers/Google_Search_Using_Python/README.md similarity index 86% rename from Scripts/Web_Scrappers/Google Search Using Python/README.md rename to Scripts/Web_Scrappers/Google_Search_Using_Python/README.md index 556bef525..f7e8e1ad4 100644 --- a/Scripts/Web_Scrappers/Google Search Using Python/README.md +++ b/Scripts/Web_Scrappers/Google_Search_Using_Python/README.md @@ -23,7 +23,7 @@ search(query, tld='co.in', lang='en', num=10, start=0, stop=None, pause=2) - +
💻 Naman Jain 💻

💻 Naman Jain 💻

diff --git a/Scripts/Web_Scrappers/Google_Search_Using_Python/code.py b/Scripts/Web_Scrappers/Google_Search_Using_Python/code.py new file mode 100644 index 000000000..3d2470efe --- /dev/null +++ b/Scripts/Web_Scrappers/Google_Search_Using_Python/code.py @@ -0,0 +1,12 @@ +# We will be using the search() function from the googlesearch module. +from googlesearch import search + +def query_finder(query : str): + for item in search(query, tld = "co.in", num=10, stop = 10, pause = 2): + print(item) + +if __name__ == "__main__": + query = input("Enter your query : ") # This is the text that you want to search for. + query_finder(query) + + \ No newline at end of file diff --git a/Scripts/Web_Scrappers/Google Search Using Python/requirements.txt.txt b/Scripts/Web_Scrappers/Google_Search_Using_Python/requirements.txt similarity index 100% rename from Scripts/Web_Scrappers/Google Search Using Python/requirements.txt.txt rename to Scripts/Web_Scrappers/Google_Search_Using_Python/requirements.txt