Skip to content
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

如何爬取一个用户所有作品 #2

Closed
GodeCAt opened this issue Apr 23, 2023 · 9 comments
Closed

如何爬取一个用户所有作品 #2

GodeCAt opened this issue Apr 23, 2023 · 9 comments

Comments

@GodeCAt
Copy link

GodeCAt commented Apr 23, 2023

现在只允许爬取一页视频,有没有什么方法能够爬取所有视频呢?

@Superheroff
Copy link
Owner

登录或者知道对方一个作品id的情况下可以

@GodeCAt
Copy link
Author

GodeCAt commented Apr 23, 2023

能够问一下应该怎么做吗

@GodeCAt
Copy link
Author

GodeCAt commented Apr 23, 2023

登录或者知道对方一个作品id的情况下可以

已经可以知道对方一个作品id

@Superheroff
Copy link
Owner

登录或者知道对方一个作品id的情况下可以

已经可以知道对方一个作品id

url路径改成/aweme/v1/web/locate/post/并且传入locate_item_id这个参数

@GodeCAt
Copy link
Author

GodeCAt commented Apr 23, 2023

能够问一下应该怎么做吗不需要其他参数了吗

@Superheroff
Copy link
Owner

能够问一下应该怎么做吗不需要其他参数了吗

其他不变

@GodeCAt
Copy link
Author

GodeCAt commented Apr 24, 2023

请问url具体在哪修改呢,完整url是怎样的,参数是从header传进去吗,还是从url里传进去呢。
image
这是我自己做的失败尝试

@Superheroff
Copy link
Owner

请问url具体在哪修改呢,完整url是怎样的,参数是从header传进去吗,还是从url里传进去呢。

image

这是我自己做的失败尝试

  • 方法告诉你了需要你自己完成,我不提供demo,你图片中的代码只适用于取一页的作品

@GodeCAt
Copy link
Author

GodeCAt commented Apr 25, 2023

好的,谢谢博主

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants