Giter Site home page Giter Site logo

rss2json's Introduction

rss2json python script

this rss2json script will convert any rss feed link into proper formated json data, and its supports RSS, ATOM, Google alerts rss feeds, .rss files.

Requirements:

Install the library:

pip install feedparser

Run function rss2json('your rss link')

sample Output:

{ "feeds":[ { "title":"Change Taiwan On Your Websites, Or Pay The Price: China To US Airlines", "summary":"US-based airlines in China could face internet trouble, snubs from Chinese ticket brokers and state-sanctioned boycotts if they do not follow Beijings order to change the way they label Taiwan on...", "link":"https://www.ndtv.com/world-news/china-to-american-airlines-delta-united-airlines-change-taiwan-on-your-websites-or-pay-the-price-1889305", "thumbnail":"https://c.ndtvimg.com/05gfdark_united-airlines-bloomberg_120x90_25_July_18.jpg", "published":"Wed, 25 Jul 2018 11:22:00 +0530" } ], "data":{ "status":"ok", "date":"July 25, 2018 11:35 AM", "version":"rss20", "title":"NDTV News - Top-stories" } }

rss2json's People

Contributors

dependabot[bot] avatar prakasharul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  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.