-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
feat(route): apple podcast latest episodes #16530
base: master
Are you sure you want to change the base?
feat(route): apple podcast latest episodes #16530
Conversation
Successfully generated as following: http://localhost:1200/apple/podcast/latest-episodes - Failed ❌
|
@TonyRL do I need to config required ENV to output the correct xml? |
apple: { | ||
auth?: string; | ||
cookie?: string; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a
should come right before b
Line 81 in a152390
bilibili: { |
{ | ||
name: 'APPLE_AUTH', | ||
description: | ||
'Apple Authorization. can be found at `https://podcasts.apple.com/us/library/latest-episodes`.Open Developer Tools and navigate to Network tab. locate request `amp-api.podcasts.apple.com/v1/me/library/latest-episodes` and copy Authorization from header', | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (!auth || !cookie) { | ||
throw new ConfigNotFoundError('Either Auth or Cookie is not configured!'); | ||
} | ||
const data = await ofetch(link, { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use the API of /v1/editorial/us/groupings
as well which does not require setting up cookie unless it's paid
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could u provide more context? the cookie here is used to fetch the personal subscription.
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
Successfully generated as following: http://localhost:1200/apple/podcast/latest-episodes - Failed ❌
|
This PR is stale because it has been opened for more than 3 weeks with no activity. Comment or this will be closed in 7 days. |
Involved Issue / 该 PR 相关 Issue
Close #
Example for the Proposed Route(s) / 路由地址示例
New RSS Route Checklist / 新 RSS 路由检查表
Puppeteer
Note / 说明