From 0da8578f095275c35c9cf94db83d7099ef3022ec Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 7 Nov 2020 11:13:58 -0500 Subject: [PATCH] Fix --- commands/search/pornhub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')}`; } };