Skip to content

Commit

Permalink
🐛 Title not found
Browse files Browse the repository at this point in the history
  • Loading branch information
EdgarVaguencia committed Apr 27, 2017
1 parent e7d723a commit 206f327
Show file tree
Hide file tree
Showing 3 changed files with 1,046 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# npm package
node_modules

coverage
coverage

*.log
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module.exports = {
if (cheerio(i).find('.modulo-type-banner').length === 0) {
var img = cheerio(i).find('img.main');
var imgSmall = cheerio(i).find('img.mini');
var title = cheerio(i).find('div.content h4 a');
var title = cheerio(i).find('div.content p.title-wrapper a');
if (self.type === 1) {
var author = cheerio(i).find('div.wrapper a');
var category = cheerio(i).find('div.content a.rounded-label');
Expand Down Expand Up @@ -121,4 +121,4 @@ module.exports = {
this.type = 1;
return this._request();
},
};
};
Loading

0 comments on commit 206f327

Please sign in to comment.