mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
style: auto format
This commit is contained in:
+12
-12
@@ -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>
|
||||
|
||||
@@ -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 = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user