forked from friendica/friendica-addons
adaptation for 2024.03
This commit is contained in:
parent
450fac395f
commit
bbc2632a93
|
@ -308,7 +308,7 @@ function retrieve_resource(array $resource) {
|
|||
DBA::update('retriever_rule', ['data' => json_encode($retriever_rule['data'])], ['id' => intval($retriever_rule["id"])], $retriever_rule);
|
||||
unlink($cookiejar);
|
||||
}
|
||||
$resource['data'] = $fetch_result->getBody();
|
||||
$resource['data'] = $fetch_result->getBodyString();
|
||||
$resource['http-code'] = $fetch_result->getReturnCode();
|
||||
$resource['type'] = $fetch_result->getContentType();
|
||||
$resource['redirect-url'] = $fetch_result->getRedirectUrl();
|
||||
|
|
Loading…
Reference in a new issue