Web Scraping and retrieving different chapters and verse of the Holy Bhagvat Gita.
I was bored and wanted to read The Bhagavad Gita.
Go to python Download Page.
pip3 install -r requirements.txt
PIP is a cross-platform package manager for installing and managing Python packages (which can be found in the Python Package Index)
The above command will install following pacakages.
- BeautifulSoup4
- Requests
python3 main.py
- You could choose among different options:
- Retrieve: Everything - All 700 verses
- Retrieve: A single chapter - All verses from selected chapter
- Retrieve: Specific verse from a specific chapter
- Retrieve and display a random quote & more..
- You could choose to save output file in:
- Markdown (.md) format (Recommended)
- Or text (.txt) format
- CTRL + C (^C) will terminate and abort the program in any given time
- And more..
- Re-wrote all code from scratch (made more readable and understandable code then before).
- Moved all the functions to separate file (myfunctions.py).
- Menu now is cleaner and has more options.
- Should work in Linux and OS X as well (Not Tested).
- Your won't ever see an traceback.
- Add Readme file
- Retrieve and download Original verse audio
# The End.