The article https://wutheringwaves.kurogames.com/zh-tw/main/news/detail/2596 has no article content
property in the API and causes a cheerio load error during runtime, this commit fixes that issue and
falls back to an empty RSS item description for these kind of articles.
Closes#19124
- Fix article link generation logic by using default value 'ai' when item.type is undefined
- Optimize article parsing process by using Promise.allSettled to ensure partial failures don't block overall results
* 添加源"中国国家博物馆"
* 添加源"中国国家博物馆"
* 添加源"中国国家博物馆"
* Update lib/routes/chnmuseum/xingnew.ts
Only use template literals when necessary.
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/routes/chnmuseum/xingnew.ts
Only use template literals when necessary.
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/routes/chnmuseum/xwzt.ts
Only use template literals when necessary.
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/routes/chnmuseum/xwzt.ts
Only use template literals when necessary.
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/routes/chnmuseum/xingnew.ts
change categories to 'travel'
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/routes/chnmuseum/xwzt.ts
change categories to 'travel'
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
---------
Co-authored-by: liji <test1@123.com>
* feat(route/bbc): support BBC Learningenglish chinese channel
* refactor(route/bbc): use spread operator over concat
* Update lib/routes/bbc/learningenglish.ts
* fix(route/cool18): switch puppeteer content fetching due to HTML being disabled
* fix(route/cool18): Cancel the hard coding of the id
* fix(route/cool18): Remove puppeteer and use json parse
* fix(route/cool18): Add default page size
* fix(route/cool18): Change the non-home page to the previous acquisition method
* fix(route/cool18): Fix some bugs
* fix(route/cool18): Unify network requests with ofetch. Optimize code structure
---------
Co-authored-by: Gabrlie <gabrlie@gabrlie.top>
* fix(route/hpoi/info): use query param to avoid fetcherror
* fix(route/hpoi/info): update site parse function
* Update lib/routes/hpoi/info.ts
fix variable name which forget modify
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/routes/hpoi/info.ts
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
---------