我目前正在为aniworld.to制作刮刀。
我的目标是输入动漫名称并下载所有情节。
除了一件事,我有工作的一切...
网站有一个手表按钮。该按钮将您重定向到 https://aniworld.to/redirect/something
,该站点具有码头,这意味着该链接不在html中...
有没有办法绕过此/获取Python中的链接?还是一种显示验证码以便解决的方法?
因为验证码只会出现每个光年。
我从该页面唯一需要的是重定向链接。看起来像这样:
https://vidoza.net/embed-something.html
如果有帮助,我非常非常WIP代码在这里: https://github.com/wolfswolke/wolfswolke/wolfswolke/aniworld_scraper
I am currently working on a scraper for aniworld.to.
My goal is it to enter the anime name and get all of the Episodes downloaded.
I have everything working except one thing...
The websites has a Watch button. That Button redirects you to https://aniworld.to/redirect/SOMETHING
and that Site has a captcha which means the link is not in the html...
Is there a way to bypass this/get the link in python? Or a way to display the captcha so I can solve it?
Because the captcha only appears every lightyear.
The only thing I need from that page is the redirect link. It looks like this:
https://vidoza.net/embed-something.html
My very very wip code is here if it helps: https://github.com/wolfswolke/aniworld_scraper
发布评论
评论(1)
米奇(Mitchdu)向我展示了如何做。
如果其他人需要帮助,这里是我的代码:
Mitchdu showed me how to do it.
If anyone else needs help here is my code: https://github.com/wolfswolke/aniworld_scraper/blob/main/src/logic/captcha.py