Git Product home page Git Product logo

rssify's Introduction

I looked at a few online services that provide custom created RSS feeds for websites that don't have one. None of them were free of charge without being too much limited in functionality for me.

So I hacked together this very simple rssify.py script. It reads from a config file your websites you want to rssify. It could be easily extened for more features if needed. For now it only parses the title and date via css selectors and generates a feed.xml file which can be imported into newsboat/newsbeuter or I guess any other rss reader.

[Jodel Engineering Blog]
url = https://jodel.com/engineering/
item_title = .post-title > a
item_date = .post-date
item_date_format = %%b %%d, %%Y
item_timezone = Europe/Berlin

The script runs once daily in a cronjob on my local machine.

rssify's People

Contributors

h43z avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rssify's Issues

Add today if no date available

Hi, love this script. I am struggling adding a piece of code to this if there is no date available on the website that can be parsed. Would it be possible to add the current date instead? I do not have sufficient coding experience for doing this, unfortunately, I wasted few days by trying to add it. :-(

docker

Hi, just out of curiosity, do you plan to deploy a docker image, maybe on an alpine base? It would be great!

Add custom cookie for websites behind login

Can you please add a custom cookie option into the code, so rssify is able to reach content behind a login-required website.

I would login to the website with Chrome and export the cookie data with txt cookie saver extension (or similar) and paste it into rssify script.

With "Requests html " this is possible.

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.