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