Getting the first paragraph of wikipedia, and storing it into a text file : I wanted to make a system in which we give something to be search onto the terminal of a Raspberry Pi and the Pi gives a voice output.

I've solved the text-to-speech conversion problem using pico TTS. Now what I wanted to do is go to the Wikipedia page of the term to be searched, and store the _first paragraph_ of the page to a text file.

For example, the result for input [Tiger][1] in Simple English should make a text file containing - 

**The tiger (Panthera tigris) is a carnivorous mammal. It is the largest living member of the cat family, the Felidae. It lives in Asia, mainly India, Bhutan, China and Siberia.**

  [1]: https://simple.wikipedia.org/wiki/Tiger/ "Tiger"