From 4a5ed792ff3f9ad24f9d51128b48e1ee81e2ecef Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 7 Nov 2020 11:11:47 -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 d552e785..fab5e4eb 100644 --- a/commands/search/pornhub.js +++ b/commands/search/pornhub.js @@ -43,7 +43,7 @@ module.exports = class PornhubCommand extends Command { .query({ search: query }); if (text.includes('
')) return null; const $ = cheerio.load(text); - const video = $('li[class="pcVideoListItem js-pop videoblock videoBox]').eq(5); + const video = $('li[class="pcVideoListItem js-pop videoblock videoBox"]').eq(5); return `https://www.pornhub.com/view_video.php?viewkey=${video.attr('_vkey')}`; } };