style: auto format
This commit is contained in:
parent
03f5ce91cb
commit
6ff87c7d9c
|
|
@ -131,8 +131,7 @@ function extractPubDate($: cheerio.CheerioAPI): string {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
function getDescription($: cheerio.CheerioAPI) : string | null {
|
||||
function getDescription($: cheerio.CheerioAPI): string | null {
|
||||
const content = $('#articleContent');
|
||||
if (content.length) {
|
||||
return content.first().html()?.trim();
|
||||
|
|
|
|||
Loading…
Reference in New Issue