diff --git a/bridges/PornhubBridge.php b/bridges/PornhubBridge.php index 104463a8..b8f1dec8 100644 --- a/bridges/PornhubBridge.php +++ b/bridges/PornhubBridge.php @@ -88,7 +88,8 @@ class PornhubBridge extends BridgeAbstract $item['uri'] = 'https://www.pornhub.com' . $url; // Content - $image = $element->find('img', 0)->getAttribute('data-src'); + $videoImage = $element->find('img', 0); + $image = $videoImage->getAttribute('data-src') ?: $videoImage->getAttribute('src'); if ($show_images === true) { $item['content'] = ''; }