fsch
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import feedparser
|
||||
|
||||
def rssfeed(url,raw):
|
||||
def rssfeed(url,raw,params={}):
|
||||
al=[]
|
||||
f=feedparser.parse(raw)
|
||||
for e in f['entries']:
|
||||
al.append(e['link'])
|
||||
al.append((e['link'],e))
|
||||
return {"url": url, "next_page": None, "article_links": al, "objecttype":"index"}
|
||||
|
||||
Reference in New Issue
Block a user