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

print(f"第{num}次请求无水印视频!") #1

Open
viponedream opened this issue May 9, 2020 · 5 comments
Open

print(f"第{num}次请求无水印视频!") #1

viponedream opened this issue May 9, 2020 · 5 comments

Comments

@viponedream
Copy link

print(f"第{num}次请求无水印视频!")

抓到的都是有水印的。

@viponedream
Copy link
Author

             # 禁止重定向,视频真实地址在 response.headers['location'] 中
                res = requests.get(video['video_url'], headers=headers, allow_redirects=False)

这里读到的内容为空。

@viponedream
Copy link
Author

有水印的就可以,无水印的就不行。

@viponedream
Copy link
Author

应该是不稳定还是什么的。
有时可以获取无水印, 有时不行。

@naiveliberty
Copy link
Owner

naiveliberty commented May 10, 2020 via email

@viponedream
Copy link
Author

可能是IP的问题吧。

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