From 4a9b505499790b999007f712317902ad58071924 Mon Sep 17 00:00:00 2001 From: pictuga Date: Mon, 27 Apr 2020 18:12:14 +0200 Subject: [PATCH] README: update python lib instructions --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 96ef2b6..abcf684 100644 --- a/README.md +++ b/README.md @@ -246,10 +246,11 @@ url = 'http://newspaper.example/feed.xml' options = morss.Options(csv=True) # arguments morss.crawler.sqlite_default = '/tmp/morss-cache.db' # sqlite cache location +url = morss.UrlFix(url) # make sure the url is properly formatted 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 +output = morss.FeedFormat(rss, options, 'unicode') # formats final feed ``` ## Cache information