Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

这个python文件有个问题 #6

Closed
96bit opened this issue Apr 4, 2022 · 1 comment
Closed

这个python文件有个问题 #6

96bit opened this issue Apr 4, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@96bit
Copy link

96bit commented Apr 4, 2022

在第28行的位置,
response = requests.get(f'https://www.iesdouyin.com/web/api/v2/aweme/iteminfo/?item_ids={vid}', headers=HEADERS)
这个位置需要加上头部 'User-Agent' 不然请求不到数据

@missuo
Copy link
Owner

missuo commented Apr 4, 2022

已修复,谢谢反馈!

@missuo missuo closed this as completed Apr 4, 2022
@missuo missuo added the bug Something isn't working label Apr 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants