README: Fetch->FeedFetch

master
pictuga 2017-03-08 15:17:40 -10:00 committed by GitHub
parent ff9690666d
commit fe3f6b7e33
1 changed files with 2 additions and 4 deletions

View File

@ -207,10 +207,8 @@ url = 'http://newspaper.example/feed.xml'
options = morss.Options(csv=True, md=True) # arguments
morss.crawler.sqlite_default = '/tmp/morss-cache.db' # sqlite cache location
rss = morss.Fetch(url, options) # this only grabs the RSS feed
rss = morss.Before(rss, options) # applies first round of options
rss = morss.Gather(rss, url, options) # this fills the feed and cleans it up
rss = morss.After(rss, options) # applies second round of options
rss = morss.FeedFetch(url, options) # this only grabs the RSS feed
rss = morss.FeedGather(rss, url, options) # this fills the feed and cleans it up
output = morss.Format(rss, options) # formats final feed
```