fix: prtester css replacement (#3123)

This commit is contained in:
Dag 2022-10-29 12:25:45 +02:00 committed by GitHub
parent 8779c09e89
commit 7250940a05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
.github/prtester.py vendored
View File

@ -68,7 +68,7 @@ def testBridges(bridges,status):
# if all example/default values are present, form the full request string, run the request, replace the static css
# file with the url of em's public instance and then upload it to termpad.com, a pastebin-like-site.
r = requests.get(URL + bridgestring + formstring)
pagetext = r.text.replace('static/HtmlFormat.css','https://feed.eugenemolotov.ru/static/HtmlFormat.css')
pagetext = r.text.replace('static/style.css','https://rss-bridge.org/bridge01/static/style.css')
pagetext = pagetext.encode("utf_8")
termpad = requests.post(url="https://termpad.com/", data=pagetext)
termpadurl = termpad.text

View File

@ -14,7 +14,7 @@ class PikabuBridge extends BridgeAbstract
'Горячее' => 'hot',
'Свежее' => 'new',
],
'defaultValue' => 'hot'
'defaultValue' => 'hot',
];
const PARAMETERS = [