Skip to content

baryluk/ressit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple script for submiting links to reddit, based
on existing RSS feed.

Requires:
  reddit_api >= 1.0     (https://github.com/mellort/reddit_api)
  feedparser >= 5.0.1   (apt-get install python-feedparser)

Uses shelve module (which uses anydbm, which uses Berkley DB)
for storing what was uploaded.

Example configuration in file example_config.ini,
pass it as argument to ressit.py

Know what are you doing before using this script.
Read reddit term of usage, and do not spam reddit unacassarly.
Not following sane behaviour will end with account or IP address blocked.


TODO:
  - OPML parser
  - use updateFrequency and other meta-informations from feed
  - adjust frequency dynamically, depending how often it changes beeteewen updates.

Known Issues:
  - needs UTF-8 locale settings to work properly
    Workarounds:
      * enable quiet mode to prevent printing new (or any) post titles
      * make sure you run with correct locales (actually terminal settings),
        it can be useful to set LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
        (usefull when calling ressit in non-daemon mode from cron).
        You can set it cron, or apply locales system-wide.

About

RSS to reddit uploader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages