mirror of
https://github.com/friendica/friendica
synced 2025-04-28 02:30:16 +00:00
Probing for Zot improved and Pumpio removed
This commit is contained in:
parent
9e1362ba46
commit
21fc28029a
3 changed files with 83 additions and 271 deletions
|
@ -386,10 +386,12 @@ class Feed
|
|||
|
||||
$orig_plink = $item['plink'];
|
||||
|
||||
try {
|
||||
$item['plink'] = DI::httpClient()->finalUrl($item['plink']);
|
||||
} catch (TransferException $exception) {
|
||||
Logger::notice('Item URL couldn\'t get expanded', ['url' => $item['plink'], 'exception' => $exception]);
|
||||
if (!$dryRun) {
|
||||
try {
|
||||
$item['plink'] = DI::httpClient()->finalUrl($item['plink']);
|
||||
} catch (TransferException $exception) {
|
||||
Logger::notice('Item URL couldn\'t get expanded', ['url' => $item['plink'], 'exception' => $exception]);
|
||||
}
|
||||
}
|
||||
|
||||
if (empty($item['title'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue