Bit of work to set things up

This commit is contained in:
Lewis Dale committed 2023-03-14 21:08:33 +00:00
1 parent 811f63a207
commit a5e0902366
4 files changed
+30 -22

No files matched your search

+1 -1
View File
@@ -112,7 +112,7 @@ class Endpoint {
{
$card = $document->filter('.p-author.h-card')->eq(0);
if ($card)
if ($card->count())
{
$name = $card->filter('.p-name')?->text("");
$url = $card->filter('.u-url')?->text("");