https://github.com/Arsenic-ATG/I-am-Feeling-Lucky
Automation that opens all the top google searches in new tabs of your browser
https://github.com/Arsenic-ATG/I-am-Feeling-Lucky
beautifulsoup beautifulsoup4 google-search python python-script requests requests-module search-keywords webscraping
Last synced: 7 days ago
JSON representation
Automation that opens all the top google searches in new tabs of your browser
- Host: GitHub
- URL: https://github.com/Arsenic-ATG/I-am-Feeling-Lucky
- Owner: Arsenic-ATG
- License: mit
- Created: 2020-08-08T07:19:48.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-02T05:53:18.000Z (almost 4 years ago)
- Last Synced: 2025-03-12T00:35:32.249Z (2 months ago)
- Topics: beautifulsoup, beautifulsoup4, google-search, python, python-script, requests, requests-module, search-keywords, webscraping
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-automations - “I’m feeling lucky” google Search
- awesome-automations - “I’m feeling lucky” google Search
README
# " I am Feeling Lucky " Google search
Whenever I search a topic on Google, I don’t look at just one search result at a time. By middle-clicking a search result link (or clicking while holding ctrl), I open the first several links in a bunch of new tabs to read later. I search Google often enough that this workflow—
- opening my browser
- searching for a topic, and middle-clicking several links one by one
- **It's Tedious 🥱**It would be nice if I could simply type a search term on the command line and have my computer automatically open a browser with all the top search results in new tabs.
this script does exactly that😃.
This is what your program does:
- Gets search keywords from the command line arguments.
- Retrieves the search results page.
- Opens a browser tab for each result.## Language used
- 🐍 python### Setup required 🛠
- Most of the stuff is plain python scripts which will only require you to have **python installed on your device** and an **IDE/text editor** to see and make changes to the scripts on your system.
- If you don't have python on your machine then you can download it from [here](https://www.python.org/downloads/)---
### Additional python libraries required for this project
- _beautifulsoup4_
- _requests_#### But how do I install additonal packages? 🤨
1. Make sure you have python package manager (**pip**) installed on your system
2. Go to command line and type ```pip install ``` { _pip3_ on mac }
3. For detailed information see [python's official tutorial on how to install packages](https://packaging.python.org/tutorials/installing-packages/)---
## 🏃♀️Get it running🏃♂️
- 👯♂️Clone/Download using ```[email protected]:Arsenic-ATG/Map-It.git```
- Run the python script :
- Pass the stuff to be searched through the command line arguments like this : ```python3 lucky.py ```
eg ```python3 lucky.py google```### Liked it ? 😃
- If you like this project then don't forget to give a star ⭐️
- For more cool automations like this you can head over to my [python automations](https://github.com/Arsenic-ATG/Python-Automations) repo