Fix title fetching
This commit is contained in:
parent
48a58ffca6
commit
0d2d36251a
@ -198,7 +198,7 @@ function pageScrape(config: IConfig, task: IConfigTask, done: (err: any, result?
|
||||
}
|
||||
|
||||
const $ = cheerio.load(result);
|
||||
const title = $('span[itemprop=name]').text();
|
||||
const title = $('meta[itemprop=name]').attr("content")
|
||||
|
||||
if (config.debug)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user