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

request was banned #29

Open
BigKunLun opened this issue Nov 27, 2024 · 2 comments
Open

request was banned #29

BigKunLun opened this issue Nov 27, 2024 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@BigKunLun
Copy link

python main.py
请输入BV号:BV135yaYfESJ
获取的cid: 26380668878, aid: 113339556437692
下载链接请求失败: request was banned
Traceback (most recent call last):
File "/Users/shijianing/CodingTime/bili2text/main.py", line 9, in
foldername = run_split(filename)
File "/Users/shijianing/CodingTime/bili2text/exAudio.py", line 47, in run_split
flv_mp3(name, target_name=folder_name)
File "/Users/shijianing/CodingTime/bili2text/exAudio.py", line 8, in flv_mp3
clip = VideoFileClip(f'{folder}/{name}.mp4')
File "/opt/homebrew/Caskroom/miniconda/base/envs/testing/lib/python3.10/site-packages/moviepy/video/io/VideoFileClip.py", line 88, in init
self.reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt,
File "/opt/homebrew/Caskroom/miniconda/base/envs/testing/lib/python3.10/site-packages/moviepy/video/io/ffmpeg_reader.py", line 35, in init
infos = ffmpeg_parse_infos(filename, print_infos, check_duration,
File "/opt/homebrew/Caskroom/miniconda/base/envs/testing/lib/python3.10/site-packages/moviepy/video/io/ffmpeg_reader.py", line 270, in ffmpeg_parse_infos
raise IOError(("MoviePy error: the file %s could not be found!\n"
OSError: MoviePy error: the file bilibili_video/None.mp4 could not be found!
Please check that you entered the correct path.

@BigKunLun
Copy link
Author

看起来这个姿势在 B 站不太行了

@lanbinleo
Copy link
Collaborator

是的,我更新了一个新的方法,是用网上的解析API,可以试试新的代码

@lanbinleo lanbinleo added the help wanted Extra attention is needed label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants