Skip to content

Projectjav#21525

Open
Exat1979 wants to merge 6 commits intoDIYgod:masterfrom
Exat1979:projectjav
Open

Projectjav#21525
Exat1979 wants to merge 6 commits intoDIYgod:masterfrom
Exat1979:projectjav

Conversation

@Exat1979
Copy link
Copy Markdown

Involved Issue / 该 PR 相关 Issue

No issue to close

Example for the Proposed Route(s) / 路由地址示例

/projectjav/actress/ibuki-aoi-20076
/projectjav/actress/rima-arai-22198/

New RSS Route Checklist / 新 RSS 路由检查表

  • New Route / 新的路由
  • Anti-bot or rate limit / 反爬/频率限制
    • If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
  • Date and time / 日期和时间
    • Parsed / 可以解析
    • Correct time zone / 时区正确
  • New package added / 添加了新的包
  • Puppeteer

Note / 说明

No time, only date is given on website. As such I didn't include timezone

@github-actions github-actions bot added the route label Mar 27, 2026
@github-actions github-actions bot added the auto: not ready to review Users can't get the RSS feed output according to automated testing results label Mar 27, 2026
@github-actions
Copy link
Copy Markdown
Contributor

test

@github-actions
Copy link
Copy Markdown
Contributor

Successfully generated as following:

http://localhost:1200/projectjav/actress/ibuki-aoi-20076 - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>FetchError: [GET] &quot;https://projectjav.com/actress/ibuki-aoi-20076&quot;: 403 Forbidden
Route: /projectjav/actress/:id
Full Route: /projectjav/actress/ibuki-aoi-20076
Node Version: v24.14.1
Git Hash: 4f65dd4c
http://localhost:1200/projectjav/actress/rima-arai-22198/ - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>FetchError: [GET] &quot;https://projectjav.com/actress/rima-arai-22198&quot;: 403 Forbidden
Route: /projectjav/actress/:id/
Full Route: /projectjav/actress/rima-arai-22198/
Node Version: v24.14.1
Git Hash: 4f65dd4c

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 27, 2026

Auto Review

No clear rule violations found in the current diff.

@Exat1979
Copy link
Copy Markdown
Author

Exat1979 commented Mar 27, 2026

Successfully generated as following:

http://localhost:1200/projectjav/actress/ibuki-aoi-20076 - Failed ❌

HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>FetchError: [GET] &quot;https://projectjav.com/actress/ibuki-aoi-20076&quot;: 403 Forbidden
Route: /projectjav/actress/:id
Full Route: /projectjav/actress/ibuki-aoi-20076
Node Version: v24.14.1
Git Hash: 4f65dd4c

http://localhost:1200/projectjav/actress/rima-arai-22198/ - Failed ❌

Maybe Github IPs are blocked? This has been working for months for me.

Copy link
Copy Markdown
Collaborator

@TonyRL TonyRL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix all the lint issues as well

import { rootUrl, processItems } from './utils';

export const route: Route = {
path: ['/actress/:id', '/actress/:id/'],
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use only one route path

async function handler(ctx) {
const id = ctx.req.param('id');
const currentUrl = `${rootUrl}/actress/${id}`;
return await processItems(currentUrl, cache.tryGet);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The whole cache.tryGet function can be imported directly. No need to pass it as parameter.

@github-actions github-actions bot removed the auto: not ready to review Users can't get the RSS feed output according to automated testing results label Apr 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

Successfully generated as following:

http://localhost:1200/projectjav/actress/ibuki-aoi-20076 - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>FetchError: [GET] &quot;https://projectjav.com/actress/ibuki-aoi-20076&quot;: 403 Forbidden
Route: /projectjav/actress/:id
Full Route: /projectjav/actress/ibuki-aoi-20076
Node Version: v24.14.1
Git Hash: 3a26dd0b
http://localhost:1200/projectjav/actress/rima-arai-22198/ - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>NotFoundError:
Route: /projectjav/actress/rima-arai-22198/
Full Route: /projectjav/actress/rima-arai-22198/
Node Version: v24.14.1
Git Hash: 3a26dd0b

@github-actions github-actions bot added the auto: not ready to review Users can't get the RSS feed output according to automated testing results label Apr 8, 2026
@github-actions github-actions bot added auto: not ready to review Users can't get the RSS feed output according to automated testing results and removed auto: not ready to review Users can't get the RSS feed output according to automated testing results labels Apr 9, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

Successfully generated as following:

http://localhost:1200/projectjav/actress/ibuki-aoi-20076 - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>FetchError: [GET] &quot;https://projectjav.com/actress/ibuki-aoi-20076&quot;: 403 Forbidden
Route: /projectjav/actress/:id{[^/]+/?}
Full Route: /projectjav/actress/ibuki-aoi-20076
Node Version: v24.14.1
Git Hash: 27872307
http://localhost:1200/projectjav/actress/rima-arai-22198/ - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>FetchError: [GET] &quot;https://projectjav.com/actress/rima-arai-22198&quot;: 403 Forbidden
Route: /projectjav/actress/:id{[^/]+/?}
Full Route: /projectjav/actress/rima-arai-22198/
Node Version: v24.14.1
Git Hash: 27872307

@Exat1979
Copy link
Copy Markdown
Author

Exat1979 commented Apr 9, 2026

After removing the second route it didn't work when using a trailing slash, so I added some logic to allow it.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

Auto Review

No clear rule violations found in the current diff.

Copy link
Copy Markdown
Collaborator

@TonyRL TonyRL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import { processItems, rootUrl } from './utils';

export const route: Route = {
path: '/actress/:id{[^/]+/?}',
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
path: '/actress/:id{[^/]+/?}',
path: '/actress/:id',

Comment on lines +76 to +82
.some((el) => {
if (content(el).text().includes('Date added')) {
dateText = content(el).next().text().trim();
return true;
}
return false;
});
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use find() instead of some() as you should not have side effects in some()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto: not ready to review Users can't get the RSS feed output according to automated testing results route

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants