-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release Pixiv & SIS001 #1
Conversation
cache.tryGet(novel.link, async () => { | ||
const content = await getNovelContent(novel.novelId, token); | ||
const rawText = novelTextRe.exec(content.data)[1]; | ||
novel.description = `${langDivLeft}<blockquote>${novel.novelCaption}</blockquote><p>${unescape(rawText.replaceAll('\\u', '%u'))}</p>${langDivRight}` |
Check failure
Code scanning / ESLint
Prefer using the `String.raw` tag to avoid escaping `\`. Error
const content = await getNovelContent(novel.novelId, token); | ||
const rawText = novelTextRe.exec(content.data)[1]; | ||
novel.description = `${langDivLeft}<blockquote>${novel.novelCaption}</blockquote><p>${unescape(rawText.replaceAll('\\u', '%u'))}</p>${langDivRight}` | ||
.replaceAll('\\n', '</p><p>') |
Check failure
Code scanning / ESLint
Prefer using the `String.raw` tag to avoid escaping `\`. Error
const rawText = novelTextRe.exec(content.data)[1]; | ||
novel.description = `${langDivLeft}<blockquote>${novel.novelCaption}</blockquote><p>${unescape(rawText.replaceAll('\\u', '%u'))}</p>${langDivRight}` | ||
.replaceAll('\\n', '</p><p>') | ||
.replaceAll('\\t', '\t') |
Check failure
Code scanning / ESLint
Prefer using the `String.raw` tag to avoid escaping `\`. Error
cache.tryGet(novel.link, async () => { | ||
const content = await getNovelContent(novel.novelId, token); | ||
const rawText = novelTextRe.exec(content.data)[1]; | ||
novel.description = `${langDivLeft}<blockquote>${novel.novelCaption}</blockquote><p>${unescape(rawText.replaceAll('\\u', '%u'))}</p>${langDivRight}` |
Check failure
Code scanning / ESLint
Prefer using the `String.raw` tag to avoid escaping `\`. Error
const content = await getNovelContent(novel.novelId, token); | ||
const rawText = novelTextRe.exec(content.data)[1]; | ||
novel.description = `${langDivLeft}<blockquote>${novel.novelCaption}</blockquote><p>${unescape(rawText.replaceAll('\\u', '%u'))}</p>${langDivRight}` | ||
.replaceAll('\\n', '</p><p>') |
Check failure
Code scanning / ESLint
Prefer using the `String.raw` tag to avoid escaping `\`. Error
const rawText = novelTextRe.exec(content.data)[1]; | ||
novel.description = `${langDivLeft}<blockquote>${novel.novelCaption}</blockquote><p>${unescape(rawText.replaceAll('\\u', '%u'))}</p>${langDivRight}` | ||
.replaceAll('\\n', '</p><p>') | ||
.replaceAll('\\t', '\t') |
Check failure
Code scanning / ESLint
Prefer using the `String.raw` tag to avoid escaping `\`. Error
* feat(route): add route for university: whu swrh (#1) * feat(route): add route for university: whu swrh * Update swrh.ts * Update swrh.ts fixed the weixin url * update swrh.ts for html and weixin content * feat(route): add route for university: whu swrh * update for fetching pubdate.
No description provided.