Fix style
This commit is contained in:
parent
ec5a78db38
commit
3fa2d80507
@ -33,7 +33,7 @@ class FC2ContentsResolver implements Resolver
|
|||||||
|
|
||||||
$thumbnailNode = $xpath->query('//*[@class="main_thum_img"]/a')->item(0);
|
$thumbnailNode = $xpath->query('//*[@class="main_thum_img"]/a')->item(0);
|
||||||
if ($thumbnailNode) {
|
if ($thumbnailNode) {
|
||||||
$metadata->image = preg_replace('~^http:~', "https:", $thumbnailNode->getAttribute('href'));
|
$metadata->image = preg_replace('~^http:~', 'https:', $thumbnailNode->getAttribute('href'));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $metadata;
|
return $metadata;
|
||||||
|
Loading…
Reference in New Issue
Block a user