aboutsummaryrefslogtreecommitdiff
path: root/fetch.py
blob: a1c19ab51c43a4efef4b21385882a7d68d424172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/env python
# -*- coding: utf-8 -*-

# fetch.py
#
# You can use this script with cron, for example:
#  */30 * * * * cd ~/.pyaggr3g470r/ ; python fetch.py
# to fetch articles every 30 minutes.

import sys
from pyaggr3g470r import feedgetter

if __name__ == "__main__":
    # Point of entry in execution mode
    feed_getter = feedgetter.FeedGetter(sys.argv[1])
    feed_getter.retrieve_feed(None)
bgstack15