Giter VIP home page Giter VIP logo

bevyproject's Introduction

Welcome to FindFeed!

Features

FindFeed determines if a url contains a syndication feed and processes that feed.

If a feed is found, FindFeed will print out the title, url, and sentiment of each post in the feed along with the positive and negative indicators used to determine the sentiment.

Sample Response
---------------------------------------------------------------------------
Title: This drone is cleaning windows 1,100 feet above the ground, so
humans don't have to

URL: https://mashable.com/video/window-washing-drones-aerones-cleaning-
turbines/

Positive Indicator Words:
['right', 'kind']

Negative Indicator Words:
['dangerous']

The overall sentiment of this post is neutral!
---------------------------------------------------------------------------

If a feed is not found, FindFeed will alert the user.

Sample Response
No feed found on this site. Try another!
'End'

If FindFeed is unable to determine if a feed is present due to a '403 Forbidden' error, FindFeed will alert the user.

Sample Response
'Sorry! Not authorized to check for feeds on this site.'
'End'

Requirements

  • Python version 3
  • pip modules:
    • Requests pip install requests
    • TextBlob pip install textblob
    • BeautifulSoup pip install beautifulsoup
    • TextWrap pip install textwrap

Setup

  1. Clone this repo into the folder of your choice.

$ git clone https://github.com/JNC260/BevyProject.git

  1. Open the command line.

  2. Move into the the repo.

$ cd BevyProject/

  1. Run the following command with the url you'd like to test.

$ python findfeed.py <your url>

  • NOTE: All urls must begin with http:// or https://

bevyproject's People

Contributors

jnc260 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.