you-get bilili 502? - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
simple2025
0D
V2EX    Python

you-get bilili 502?

  •  
  •   simple2025 2024-01-24 19:31:48 +08:00 1665 次点击
    这是一个创建于 700 天前的主题,其中的信息可能已经有所发展或是发生改变。
    you-get --playlist --format=dash-flv720 -o D:\SX --debug https://www.bilibili.com/video/BV13t411G7oh 
     [DEBUG] HTTP Error with code502 [DEBUG] HTTP Error with code502 [DEBUG] HTTP Error with code502 you-get: version 0.4.1650, a tiny downloader that scrapes the web. you-get: Namespace(version=False, help=False, info=False, url=False, json=False, no_merge=False, no_caption=False, postfix=False, force=False, skip_existing_file_size_check=False, format='dash-flv720', output_filename=None, output_dir='D:\\SX', player=None, cookies=None, timeout=600, debug=True, input_file=None, password=None, playlist=True, first=None, last=None, size=None, auto_rename=False, insecure=False, http_proxy=None, extractor_proxy=None, no_proxy=False, socks_proxy=None, stream=None, itag=None, m3u8=False, URL=['https://www.bilibili.com/video/BV13t411G7oh']) Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\py311\Scripts\you-get.exe\__main__.py", line 7, in <module> File "C:\py311\Lib\site-packages\you_get\__main__.py", line 92, in main main(**kwargs) File "C:\py311\Lib\site-packages\you_get\common.py", line 1870, in main script_main(any_download, any_download_playlist, **kwargs) File "C:\py311\Lib\site-packages\you_get\common.py", line 1762, in script_main download_main( File "C:\py311\Lib\site-packages\you_get\common.py", line 1380, in download_main download_playlist(url, **kwargs) File "C:\py311\Lib\site-packages\you_get\common.py", line 1866, in any_download_playlist m.download_playlist(url, **kwargs) Fie "C:\py311\Lib\site-packages\you_get\extractors\bilibili.py", line 658, in download_playlist_by_url self.__class__().download_by_url(purl, **kwargs) File "C:\py311\Lib\site-packages\you_get\extractor.py", line 48, in download_by_url self.prepare(**kwargs) File "C:\py311\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:\py311\Lib\site-packages\you_get\common.py", line 477, in get_content respOnse= urlopen_with_retry(req) ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\py311\Lib\site-packages\you_get\common.py", line 446, in urlopen_with_retry raise http_error File "C:\py311\Lib\site-packages\you_get\common.py", line 437, in urlopen_with_retry return request.urlopen(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\py311\Lib\urllib\request.py", line 216, in urlopen return opener.open(url, data, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\py311\Lib\urllib\request.py", line 525, in open respOnse= meth(req, response) ^^^^^^^^^^^^^^^^^^^ File "C:\py311\Lib\urllib\request.py", line 634, in http_response respOnse= self.parent.error( ^^^^^^^^^^^^^^^^^^ File "C:\py311\Lib\urllib\request.py", line 563, in error return self._call_chain(*args) ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\py311\Lib\urllib\request.py", line 496, in _call_chain result = func(*args) ^^^^^^^^^^^ File "C:\py311\Lib\urllib\request.py", line 643, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 502: Bad Gateway 

    我用的有问题吗?这个还是我抄的.

    2 条回复    2024-01-24 19:49:53 +08:00
    renmu
        1
    renmu  
       2024-01-24 19:39:40 +08:00 via Android   1
    可能你没登录下不了 720p 的吧,而且 dash 貌似没有 flv 流了,我具体不清楚 youget 命令行的参数
    simple2025
        2
    simple2025  
    OP
       2024-01-24 19:49:53 +08:00
    @renmu 换工具了...换 bilix
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2944 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 29ms UTC 12:29 PVG 20:29 LAX 04:29 JFK 07:29
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86