forked from friendica/friendica-addons
adaptation for 2024.03
This commit is contained in:
parent
e0226981a1
commit
26e95978b2
|
@ -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);
|
DBA::update('retriever_rule', ['data' => json_encode($retriever_rule['data'])], ['id' => intval($retriever_rule["id"])], $retriever_rule);
|
||||||
unlink($cookiejar);
|
unlink($cookiejar);
|
||||||
}
|
}
|
||||||
$resource['data'] = $fetch_result->getBody();
|
$resource['data'] = $fetch_result->getBodyString();
|
||||||
$resource['http-code'] = $fetch_result->getReturnCode();
|
$resource['http-code'] = $fetch_result->getReturnCode();
|
||||||
$resource['type'] = $fetch_result->getContentType();
|
$resource['type'] = $fetch_result->getContentType();
|
||||||
$resource['redirect-url'] = $fetch_result->getRedirectUrl();
|
$resource['redirect-url'] = $fetch_result->getRedirectUrl();
|
||||||
|
|
Loading…
Reference in a new issue