Skip to content

Commit

Permalink
remove m tag
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasLeandro1204 committed Mar 24, 2017
1 parent e520b73 commit a02d2eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ If has success, the return will be an array with ~~possibly less than~~ 20 video
{
title: 'video title',
url: 'video url',
duration: 'video duration',
thumb: 'video thumbnail'
}
```
Expand Down
2 changes: 1 addition & 1 deletion src/pornsearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Pornsearch = {
title: data.attr('title'),
url: 'http://pornhub.com/' + data.attr('href'),
duration: data.find('.duration').text(),
thumb: data.find('img').attr('data-mediumthumb')
thumb: data.find('img').attr('data-mediumthumb').replace('(m=ecuK8daaaa)', '')
};
}
}
Expand Down

0 comments on commit a02d2eb

Please sign in to comment.