diff --git a/commands/search/pornhub.js b/commands/search/pornhub.js index fab5e4eb..15c16b6b 100644 --- a/commands/search/pornhub.js +++ b/commands/search/pornhub.js @@ -44,6 +44,6 @@ module.exports = class PornhubCommand extends Command { if (text.includes('
')) return null; const $ = cheerio.load(text); const video = $('li[class="pcVideoListItem js-pop videoblock videoBox"]').eq(5); - return `https://www.pornhub.com/view_video.php?viewkey=${video.attr('_vkey')}`; + return `https://www.pornhub.com/view_video.php?viewkey=${video.attr('data-video-vkey')}`; } };