mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-02-16 07:09:54 +03:00
fix: prtester css replacement (#3123)
This commit is contained in:
parent
8779c09e89
commit
7250940a05
2 changed files with 2 additions and 2 deletions
2
.github/prtester.py
vendored
2
.github/prtester.py
vendored
|
@ -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
|
||||
|
|
|
@ -14,7 +14,7 @@ class PikabuBridge extends BridgeAbstract
|
|||
'Горячее' => 'hot',
|
||||
'Свежее' => 'new',
|
||||
],
|
||||
'defaultValue' => 'hot'
|
||||
'defaultValue' => 'hot',
|
||||
];
|
||||
|
||||
const PARAMETERS = [
|
||||
|
|
Loading…
Add table
Reference in a new issue