-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Update bilibili.py #3005
base: develop
Are you sure you want to change the base?
Update bilibili.py #3005
Conversation
Hello @jpppppppppppppppppppppppp, 祝您健康! |
I found this problem when I run code: |
It works on bangumi links. you-get "https://www.bilibili.com/bangumi/play/ss27795?from_spmid=666.25.series.0" |
@jpppppppppppppppppppppppp Thank you very much, Now it fetches bangumi videos from Bilibili, using anonymous user identity. Like this:
But there seems still a problem, if I use -c to assign a Firefox cookie file, the program reports error.
Could you investigate further to solve this problem? |
Maybe it's a problem about cookies.sqlit. When I use cookies from Firefox the error also occur. But when I try cookies.txt which exported by plugin, it can download videos successfully. If you want to export your cookies, you can use addon of browser, for example, I use Edge and install the addon from "https://microsoftedge.microsoft.com/addons/detail/j2team-cookies/lmakhegealefmkbnagibiebebncemhgn", you can also use other tools that can export your cookies and save as "cookies.txt". |
@studentnice05 Thank you for the workaround, After converting/exporting the cookie data to cookies.txt, this patch works smoothly. cookies.txt is something like this:
|
I got an error like this: you-get: [error] oops, something went wrong. |
Me, too. Here is the full debug output:
Since this PR hasn't been merged, so the error might be fixed by this PR. |
can not download videos from Bilibili.com. It‘s not a list of VIP videos,but return a 403 problem! C:\Users\admin>you-get -o E:\Download --playlist https://www.bilibili.com/video/BV1CY4y1a78X --debug
|
two questions
|
在下载UP主空间视频时,会出现以下错误。 此问题从2023年5月开始,目前仍然存在。 以下为输出信息。
请帮帮我! |
大部分的接口都需要更换 |
I've repair some bugs in downloading bangumi from bilibili.
All problems arise from
match1(html_content, r'__INITIAL_STATE__=(.*?);\(function\(\)')
because the webpage code had changed.String
"__INITIAL_STATE__"
turned to be"initEpList"
and some code structure also changed tooI try my best to fit my need so I don't detect its robustness.
Love your works very much. When I was in high school, even before it, I already enjoyed using your code to download my favorite videos. Now as a college student, I can make your code more complete, which is very exciting for me.
顺颂时绥