The purpose of this application is to demonstrate the use of the requests and BeautifulSoup libraries to handle web tasks such as getting content from websites and parsing their HTML.

The Django component of the application handles the navigation patterns (urls), the request/response application logic (views) and the rendering of the final result (templates).

EU Referendum
EU Referendum: Results on the British vote on membership of the EU

Please be patient waiting for the results page to load as the process is requesting and scraping data from 26 separate pages (one for each letter of the alphabet). The scraping process should respect the frequency of requests to the BBC server.

In practice, this sort of process would be set up as something like a scheduled Celery task so fresh data can be accessed directly from the database. Of course, EU Referendum results are static in nature.

View Referendum Results

Speech #1: Sir Winston Churchill
  • Blood, Toil, Tears and Sweat
  • 13th May, 1940
  • House of Commons, London, UK
View Churchill Speech
Speech #2: Abraham Lincoln
  • The Gettysburg Address
  • 19th November, 1863
  • Gettysburg, Pennsylvania
View Gettysburg Address