update rss_proxy.py
* testing fixes description
This commit is contained in:
@@ -53,7 +53,7 @@ def init_proxy(app):
|
||||
r = requests.get(url, timeout=10, proxies=proxies)
|
||||
|
||||
xml_data = r.text
|
||||
# xml_data = xml_data.replace("&", "&")
|
||||
xml_data = xml_data.replace("&", "&")
|
||||
_encoding = xml_data.split('encoding="')[1].split('"')[0]
|
||||
if '<?xml version="1.0" encoding="' in xml_data:
|
||||
xml_data = xml_data.replace(
|
||||
|
||||
Reference in New Issue
Block a user