style: auto format

This commit is contained in:
GitHub Action
2022-01-22 19:21:30 +00:00
parent 3478eebd01
commit 6686292d54
2 changed files with 19 additions and 13 deletions
+12 -12
View File
@@ -10,6 +10,18 @@ pageClass: routes
<RouteEn author="EsuRt" example="/hanime/video" path="/hanime/video"/>
## iwara
### User
<RouteEn author="Fatpandac" example="/iwara/users/kelpie/video" path="/iwara/users/:username/:type?" :paramsDesc="['username, can find in userpage', 'video by default']" radar="1" rssbud="1">
| type | video | image |
| :--: | :---: | :---: |
| | video | image |
</RouteEn>
## Kemono
### Posts
@@ -79,15 +91,3 @@ For example: https://www.webtoons.com/zh-hant/drama/gongzhuweimian/list?title_no
### [Naver](https://comic.naver.com)
<RouteEn author="zfanta" example="/webtoons/naver/651673" path="/webtoons/naver/:titleId" :paramsDesc="['titleId of naver webtoon']" />
## iwara
### User
<RouteEn author="Fatpandac" example="/iwara/users/kelpie/video" path="/iwara/users/:username/:type?" :paramsDesc="['username, can find in userpage', 'video by default']" radar="1" rssbud="1">
| type | video | image |
| :--: | :---: | :---: |
| | video | image |
</RouteEn>
+7 -1
View File
@@ -33,7 +33,13 @@ module.exports = async (ctx) => {
let bio;
const authorInfo = '.VEKKL';
if (capture(authorInfo).html() !== null) {
bio = `<br><br><hr><span><p>` + capture(authorInfo).html().replace(/<\/?span[^>]*>/g, "").replace(/<\/?p[^>]*>/g, " ") + `</p></span><hr>`;
bio =
`<br><br><hr><span><p>` +
capture(authorInfo)
.html()
.replace(/<\/?span[^>]*>/g, '')
.replace(/<\/?p[^>]*>/g, ' ') +
`</p></span><hr>`;
} else {
bio = '';
}