Merge pull request #24 from himynameisdave/master

Fixes the issue with "/"'s in the page title
This commit is contained in:
Jia Hao 2016-01-21 08:17:33 +07:00
commit 673851202f
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ function getTitle(url, callback) {
}
const $ = cheerio.load(body);
const pageTitle = $("title").text();
const pageTitle = $("title").text().replace(/\//g, "");
callback(null, pageTitle);
});
}