Conversation
| @@ -0,0 +1,36 @@ | |||
| import { Route } from '@/types'; | |||
Check failure
Code scanning / oxlint
typescript-eslint(consistent-type-imports) Error
| @@ -0,0 +1,36 @@ | |||
| import { Route } from '@/types'; | |||
Check failure
Code scanning / oxlint
simple-import-sort(imports) Error
| @@ -0,0 +1,101 @@ | |||
| import got from '@/utils/got'; | |||
Check failure
Code scanning / oxlint
simple-import-sort(imports) Error
|
test |
|
Successfully generated as following: http://localhost:1200/projectjav/actress/ibuki-aoi-20076 - Failed ❌http://localhost:1200/projectjav/actress/rima-arai-22198/ - Failed ❌ |
Auto Review
|
Maybe Github IPs are blocked? This has been working for months for me. |
TonyRL
left a comment
There was a problem hiding this comment.
Please fix all the lint issues as well
| import { rootUrl, processItems } from './utils'; | ||
|
|
||
| export const route: Route = { | ||
| path: ['/actress/:id', '/actress/:id/'], |
| async function handler(ctx) { | ||
| const id = ctx.req.param('id'); | ||
| const currentUrl = `${rootUrl}/actress/${id}`; | ||
| return await processItems(currentUrl, cache.tryGet); |
There was a problem hiding this comment.
The whole cache.tryGet function can be imported directly. No need to pass it as parameter.
Involved Issue / 该 PR 相关 Issue
No issue to close
Example for the Proposed Route(s) / 路由地址示例
New RSS Route Checklist / 新 RSS 路由检查表
PuppeteerNote / 说明
No time, only date is given on website. As such I didn't include timezone