diff --git a/src/infer/inferTitle.js b/src/infer/inferTitle.js index fc3a212..7636f93 100644 --- a/src/infer/inferTitle.js +++ b/src/infer/inferTitle.js @@ -18,8 +18,7 @@ function inferTitle(url) { const $ = cheerio.load(data); return $('title') .first() - .text() - .replace(/\//g, ''); + .text(); }); }