mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-09-02 20:52:44 +02:00
fix: various small fixes (#3580)
This commit is contained in:
@@ -27,9 +27,10 @@ class GettrBridge extends BridgeAbstract
|
||||
|
||||
public function collectData()
|
||||
{
|
||||
$user = $this->getInput('user');
|
||||
$api = sprintf(
|
||||
'https://api.gettr.com/u/user/%s/posts?offset=0&max=%s&dir=fwd&incl=posts&fp=f_uo',
|
||||
$this->getInput('user'),
|
||||
$user,
|
||||
min($this->getInput('limit'), 20)
|
||||
);
|
||||
$data = json_decode(getContents($api), false);
|
||||
|
Reference in New Issue
Block a user