Skip to content

Little Python demo of using site scraping to grab the Wikiquotes "Quote of the day" using BeautifulSoup and Requests library

Notifications You must be signed in to change notification settings

shivinder/wikiquotes-quote-of-the-day-grabber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

Little demo using site scraping to grab the Wikiquote "Quote of the day". The URL to the website, for reference, is https://en.wikiquote.org/wiki/Main_Page

Dependencies

Execution steps

It is recommended to work inside a Python Virtual Environment. The following steps include this.

  • Install a new python virtual environment using python3 -m venv env
  • Activate the virtual environment using . env/bin/activate
  • Install the required libraries using pip install -r requirements.txt
  • Change permissions on the main executable python file chmod u+x quote-grabber.py
  • Run the script using ./quote-grabber.py

Possible use cases

Initially I used it to set a new motd in the vm's. But it can be used for other similar purposes.

About

Little Python demo of using site scraping to grab the Wikiquotes "Quote of the day" using BeautifulSoup and Requests library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages