In this post, today I am going to explain you another GitHub repository search wikipedia articles through command line by help of python.
Search wikipedia article on command line
Fetch is use to get information about anything on the shell using Wikipedia.
Fetch helps you to quickly look about anything and it is all possible with wikipidea webscrapping you can get full wikipedia article on the topic or you can also look at the introduction about the topic.
Yes you can look about anything on your terminal no need of browser it makes your life easy.
You can also search your topics on your command line
- Python 3.6
setuptoolsif it isn’t already:
pip install setuptools
Note: For Linux use pip3
- Clone this repo:
git clone https://github.com/yashsinghcodes/fetch.git
- Move into the
fetchdirectory and run the
cd fetch python setup.py install
Note: For Linux use python3 as it required python 3 or higher
usage: fetch [-h] [-s SEARCH] [-i INFO] [-q QUICK] optional arguments: -h, --help show this help message and exit -s SEARCH, --search SEARCH Search any topic -i INFO, --info INFO Get info on any topic(Use correct name) -q QUICK, --quick QUICK Get the summary on any topic
Please comment and share this post. If you are interested to contribute GitHub repository the WhatsApp us.