Skip to content

Application that scrapes articles from The Onion website and allows users to store articles of interest and comments on those articles in a Mongo database.

Notifications You must be signed in to change notification settings

bpzimmerman/fake-news

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fake News (The Onion) Scraper

This application uses Cheerio to scrape the articles from The Onion. It allows users to save articles to a MongoDB and allows comments to be attached to the saved articles.

Main Screenshot

Instructions

  1. The application is located as follows:

New Articles

New Articles Screenshot

  1. Clicking the New Articles button will scrape the articles off The Onion website and display the headlines linked to the full story on The Onion website. A picture (if available) and summary (if available) of the article are also displayed.

  2. Clicking the Save Article button next to the article headline will save the article's information into a Mongo Database.

Saved Articles

Saved Articles Screenshot

  1. Clicking the Saved Articles button will pull the saved information from the Mongo Database and display the articles as before except with two buttons Delete Article and Comments.

  2. Clicking the Delete Article button will remove the article and all associated comments from the database.

Comments

Comments Screenshot

  1. Clicking the Comments button will open a modal that will allow the user to add a comment to the article. Multiple comments can be associated with the same article and will display in a list just above the new comment text box.

  2. Clicking the x next to the comment will remove just that comment from the database.

About

Application that scrapes articles from The Onion website and allows users to store articles of interest and comments on those articles in a Mongo database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published