We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6173e8b commit 5565bccCopy full SHA for 5565bcc
server/sources/douyin.ts
@@ -11,7 +11,7 @@ interface Res {
11
12
export default defineSource(async () => {
13
const url = "https://www.douyin.com/aweme/v1/web/hot/search/list/?device_platform=webapp&aid=6383&channel=channel_pc_web&detail_list=1"
14
- const cookie = (await $fetch.raw("https://www.douyin.com/passport/general/login_guiding_strategy/?aid=6383")).headers.getSetCookie()
+ const cookie = (await $fetch.raw("https://login.douyin.com/")).headers.getSetCookie()
15
const res: Res = await myFetch(url, {
16
headers: {
17
cookie: cookie.join("; "),
0 commit comments