From 29e253fb5fe0da643a5f6ee929ce2be64ff6d6dc Mon Sep 17 00:00:00 2001 From: Lucas Leandro Ramos Date: Fri, 24 Mar 2017 16:44:18 -0300 Subject: [PATCH] better --- src/pornsearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pornsearch.js b/src/pornsearch.js index 2d4c900..643341d 100644 --- a/src/pornsearch.js +++ b/src/pornsearch.js @@ -35,7 +35,7 @@ const Pornsearch = { } return { - title: data.attr('title'), + title: data.find('img').attr('title'), url: 'http://pornhub.com/' + data.attr('href'), duration: data.find('.duration').text(), thumb: data.find('img').attr('data-mediumthumb').replace('(m=ecuK8daaaa)', '')