Skip to content

jsjyhzy/rss2sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSS to SQL

Preserving your subscribed RSS feeds into a relational database. View docs for specification

Installation

pip install rss2sql

Attention: connector friends of SQLAlchemy need to be installed manually.

Usage

Within code

from rss2sql import SQL
SQL('/path/to/configuration','uri://of:your@own/database').fetch()

Within commandline

python rss2sql.py -c /path/to/configuration -d uri://of:your@own/database --hide_banner

Discover mode

Configuration file is needed, omit the field section, and run

python rss2sql.py -c /path/to/configuration  --discover

the configuration file should look like

rss:
  url: http://songshuhui.net/feed
sql:
  tablename: nyaa