m13253 / BiliDan

Play videos on Bilibili.com with MPV and Danmaku2ASS
http://m13253.blogspot.com/2014/06/watch-bilibili-with-biligrab-danmaku2ass.html
Other
513 stars 69 forks source link

"Error message: overspeed" when trying to acquire cid #79

Closed dogtopus closed 3 years ago

dogtopus commented 7 years ago

I know that this project has been discontinued, but decided to post this issue anyway just for future reference.

It seems that similar issue also exists in Biligrab (cnbeining/Biligrab#30)

Log:

INFO: Loading video info...
ERROR: Error message: overspeed
ERROR: Can not get 'cid' from av314
Traceback (most recent call last):
  File "./bilidan.py", line 587, in <module>
    sys.exit(main())
  File "./bilidan.py", line 572, in main
    retval = retval or biligrab(url, debug=args.debug, verbose=args.verbose, media=args.media, comment=args.comment, cookie=args.cookie, quality=quality, source=source, keep_fps=args.keep_fps, mpvflags=mpvflags, d2aflags=d2aflags, fakeip=args.fakeip)
  File "./bilidan.py", line 302, in biligrab
    video_metadata = fetch_video_metadata(aid, pid)
  File "./bilidan.py", line 111, in fetch_video_metadata
    raise ValueError('Can not get \'cid\' from %s' % url)
ValueError: Can not get 'cid' from av314
m13253 commented 7 years ago

Thank you for your report. I will wait for Biligrab's response, because the parsing kernel is ported from that project.

dogtopus commented 7 years ago

Just tried it again and the problem no longer existed. Seems like an API quota issue. Do Bilibili have API quotas like Youtube? I am not very familiar with Bilibili's API...

cnbeining commented 7 years ago

Yes in their documentation.

dogtopus commented 7 years ago

@cnbeining Too bad :( I have a feeling that this problem will reappear again at any time. API key authentication just don't work very well with open source projects :(

cnbeining commented 7 years ago

From the agreement I've met with them I am not supposed to release new API keys, so I do not bother to get a new one.

We could do a pool though.