Skip to content
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

Merged
merged 8 commits into from
Oct 23, 2024
Merged

Release Pixiv & SIS001 #1

merged 8 commits into from
Oct 23, 2024

Conversation

keocheung
Copy link
Owner

No description provided.

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

String.raw should be used to avoid escaping \.
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

String.raw should be used to avoid escaping \.
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

String.raw should be used to avoid escaping \.
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

String.raw should be used to avoid escaping \.
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

String.raw should be used to avoid escaping \.
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

String.raw should be used to avoid escaping \.
@keocheung keocheung merged commit 1919974 into release-pixiv-sis Oct 23, 2024
19 of 23 checks passed
keocheung pushed a commit that referenced this pull request Dec 31, 2024
* 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant