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

[download fail]: bilibili #1300

Open
bslzyp opened this issue Dec 15, 2023 · 1 comment
Open

[download fail]: bilibili #1300

bslzyp opened this issue Dec 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@bslzyp
Copy link

bslzyp commented Dec 15, 2023

Website name: bilibili

OS:: Windows

Video URL:: https://www.bilibili.com/video/BV1QC4y1A7pr/

Stack overflow

you-get -i https://www.bilibili.com/video/BV1QC4y1A7pr/ --debug
[DEBUG] get_content: https://www.bilibili.com/video/BV1QC4y1A7pr/
[DEBUG] get_content: https://www.bilibili.com/video/BV1QC4y1A7pr/
[DEBUG] get_content: https://interface.bilibili.com/v2/playurl?appkey=iVGUTjsxvpLeuDCf&cid=1354752654&otype=json&qn=112&quality=112&type=&sign=c1134dfda56e6590abaa01ac96b43d85
[DEBUG] HTTP Error with code504
[DEBUG] HTTP Error with code429
[DEBUG] HTTP Error with code429
you-get: version 0.4.1650, a tiny downloader that scrapes the web.
you-get: Namespace(URL=['https://www.bilibili.com/video/BV1QC4y1A7pr/'], auto_rename=False, cookies=None, debug=True, extractor_proxy=None, first=None, force=False, format=None, help=False, http_proxy=None, info=True, input_file=None, insecure=False, itag=None, json=False, last=None, m3u8=False, no_caption=False, no_merge=False, no_proxy=False, output_dir='.', output_filename=None, password=None, player=None, playlist=False, postfix=False, size=None, skip_existing_file_size_check=False, socks_proxy=None, stream=None, timeout=600, url=False, version=False)
Traceback (most recent call last):
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\Scripts\you-get.exe\__main__.py", line 7, in <module>
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get\__main__.py", line 92, in main
    main(**kwargs)
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get\common.py", line 1870, in main
    script_main(any_download, any_download_playlist, **kwargs)
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get\common.py", line 1762, in script_main
    download_main(
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get\common.py", line 1382, in download_main
    download(url, **kwargs)
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get\common.py", line 1861, in any_download
    m.download(url, **kwargs)
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get\extractor.py", line 48, in download_by_url
    self.prepare(**kwargs)
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get\extractors\bilibili.py", line 276, in prepare
    api_content = get_content(api_url, headers=self.bilibili_headers(referer=self.url))
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get\common.py", line 477, in get_content
    response = urlopen_with_retry(req)
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get\common.py", line 446, in urlopen_with_retry
    raise http_error
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get\common.py", line 437, in urlopen_with_retry
    return request.urlopen(*args, **kwargs)
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 531, in open
    response = meth(req, response)
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 640, in http_response
    response = self.parent.error(
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 569, in error
    return self._call_chain(*args)
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 502, in _call_chain
    result = func(*args)
  File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 429: Too Many Requests

Screenshots

none

Additional context

none

@bslzyp bslzyp added the bug Something isn't working label Dec 15, 2023
@CAIYUNXIN47
Copy link

I have the same problem, do you have solution now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants