Skip to content

Commit 5565bcc

Browse files
committed
fix: douyin
1 parent 6173e8b commit 5565bcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/sources/douyin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface Res {
1111

1212
export default defineSource(async () => {
1313
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()
14+
const cookie = (await $fetch.raw("https://login.douyin.com/")).headers.getSetCookie()
1515
const res: Res = await myFetch(url, {
1616
headers: {
1717
cookie: cookie.join("; "),

0 commit comments

Comments
 (0)