豆瓣反爬增强
This commit is contained in:
@@ -36,6 +36,7 @@ export async function GET(request: NextRequest) {
|
||||
'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
|
||||
'Accept-Language': 'zh-CN,zh;q=0.9,en;q=0.8',
|
||||
Referer: 'https://movie.douban.com/',
|
||||
Cookie: 'bid=sadjkfhadskbfasdfdjh'
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -41,6 +41,7 @@ export async function GET(request: NextRequest) {
|
||||
Accept: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
|
||||
'Accept-Language': 'zh-CN,zh;q=0.9,en;q=0.8',
|
||||
Origin: 'https://movie.douban.com',
|
||||
Cookie: 'bid=sadjkfhadskbfasdfdjh'
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user