Bit of work to set things up
This commit is contained in:
1 parent
811f63a207
commit
a5e0902366
4 files changed
+30
-22
No files matched your search
+1
-1
@@ -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("");
|
||||
|
||||
Reference in new issue
Block a user