update rss_proxy.py
* testing fixes description
This commit is contained in:
@@ -86,9 +86,9 @@ def init_proxy(app):
|
|||||||
cached_item = rdb.get(cache_key)
|
cached_item = rdb.get(cache_key)
|
||||||
|
|
||||||
title = item.find("title")
|
title = item.find("title")
|
||||||
print(title.text)
|
|
||||||
new_title = re.sub(r'&#\d+;', '', title.text)
|
new_title = re.sub(r'&#\d+;', '', title.text)
|
||||||
title.text = new_title
|
title.text = new_title
|
||||||
|
print(title.text)
|
||||||
|
|
||||||
if cached_item:
|
if cached_item:
|
||||||
cached_items.append(cached_item.decode())
|
cached_items.append(cached_item.decode())
|
||||||
|
|||||||
Reference in New Issue
Block a user