Search Wikipedia Articles Through Command Line By Help Of Python

In this post, today I am going to explain you another GitHub repository search wikipedia articles through command line by help of python.

Fetch:

Search wikipedia article on command line

Fetch is use to get information about anything on the shell using Wikipedia.

122647671 031a4780 d143 11eb 93c7 7bcb3abba1dc

Why this?

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

Requirements:

  • Python 3.6
  • bs4

Installation:

  1. Install setuptools if it isn’t already: pip install setuptools

Note: For Linux use pip3

  1. Clone this repo:git clone https://github.com/yashsinghcodes/fetch.git
  2. Move into the fetch directory and run the setup.py script:cd fetch python setup.py install

Note: For Linux use python3 as it required python 3 or higher

Usage:

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

GitHub:

Please comment and share this post. If you are interested to contribute GitHub repository the WhatsApp us.

Default image
Lingaraj Senapati
Hey There! I am Lingaraj Senapati, the Co-founder of lingarajtechhub.com My skills are Freelance, Web Developer & Designer, Corporate Trainer, Digital Marketer & Youtuber.
Articles: 228

Newsletter Updates

Enter your email address below to subscribe to our newsletter