diff --git a/bridges/PornhubBridge.php b/bridges/PornhubBridge.php
index b8f1dec8..788ef58a 100644
--- a/bridges/PornhubBridge.php
+++ b/bridges/PornhubBridge.php
@@ -87,11 +87,15 @@ class PornhubBridge extends BridgeAbstract
$url = $element->find('a', 0)->href;
$item['uri'] = 'https://www.pornhub.com' . $url;
+ // Duration
+ $marker = $element->find('div.marker-overlays var', 0);
+ $duration = $marker->innertext ?? '';
+
// Content
$videoImage = $element->find('img', 0);
$image = $videoImage->getAttribute('data-src') ?: $videoImage->getAttribute('src');
if ($show_images === true) {
- $item['content'] = '
';
+ $item['content'] = sprintf('
%s', $item['uri'], $image, $duration);
}
$uploaded = explode('/', $image);