Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 25 02:54
    vipchw commented #2839
  • Nov 23 21:27
    soimort-bot closed #2938
  • Nov 23 21:27
    soimort-bot locked #2938
  • Nov 23 21:27
    soimort-bot commented #2938
  • Nov 23 21:27
    sincos2007 opened #2938
  • Nov 21 09:12
    soimort-bot closed #2937
  • Nov 21 09:12
    soimort-bot locked #2937
  • Nov 21 09:12
    soimort-bot commented #2937
  • Nov 21 09:12
    CHN-FR opened #2937
  • Nov 18 20:40

    soimort on postfix-filenames

    (compare)

  • Nov 18 20:39
    soimort closed #2936
  • Nov 18 20:39

    soimort on develop

    add param "--postfix" to postfi… (compare)

  • Nov 18 17:30
    soimort opened #2936
  • Nov 18 17:21

    soimort on postfix-filenames

    add param "--postfix" to postfi… (compare)

  • Nov 18 17:10

    soimort on develop

    fix the "name m3u8 is not defin… (compare)

  • Nov 18 16:32
    soimort closed #2888
  • Nov 18 16:32

    soimort on develop

    add param m3u8 , allow download… Merge branch 'develop' of https… (compare)

  • Nov 18 16:32
    soimort commented #2888
  • Nov 18 15:01
    soimort commented #2926
  • Nov 18 15:01
    soimort closed #2926
ericzhang-debug
@ericzhang-debug
Hello,Everyone . I have one issue for a long time : every time I install it on my computer (via brew or pip) ,it always showed me wrong to download any resources . But I just need to wait for some days without any additional operations , it turns to regular service . Why i can't use it immediately after installation ???? Thank you for replying me!!!
大家好。我有一个问题很久了:每次我安装you-get在我的电脑上(通过brew或pip),接着马上去下载,它总是显示我错误。但我只需要等几天,什么额外的操作都不用管,它就自动的可以正常使用了。为什么我不能在安装后立即使用它????谢谢各位回复我!!!
iverosnmsc
@iverosnmsc
大家好啊,为什么下载youtbe上的视频总显示Merging video parts... Merging without re-encode failed.
Try again re-encoding audio,最后下载的视频无法播放
daixian
@daixian
@iverosnmsc 看看是不是ffmpeg有问题
Lee Wang
@LeeW-jc
Hello everyone, I have a problem, since May 16, 2021, my computer system is windows, you-get can not start, typing you-get in cmd does not give any response and no error is reported, I suspect that it is not possible to continue using you-get on windows.(大家好,我遇到一个问题,在2021年5月16日开始,我的电脑系统是windows, you-get无法启动,在cmd中输入you-get没有任何响应,也没有报错,我怀疑是无法继续在windows上使用you-get.)
hansili
@hansili:matrix.org
[m]
Hi everyone, youtube does not seem to work, the unit test fails for me reporting an http 404 error.
nan Wang
@nwnw:matrix.org
[m]
hansili: confirmed same issue here: urllib.error.HTTPError: HTTP Error 400: Bad Request
you-get --debug 'https://www.youtube.com/watch?v=jNQXAC9IVRw'
[DEBUG] get_content: https://www.youtube.com/get_video_info?video_id=jNQXAC9IVRw&eurl=https%3A%2F%2Fy
[DEBUG] HTTP Error with code404
[DEBUG] HTTP Error with code404
[DEBUG] HTTP Error with code400
you-get: version 0.4.1520, a tiny downloader that scrapes the web.
hansili
@hansili:matrix.org
[m]
nan Wang: thx
Northurland
@Northurland
Issue: Cannot download youtube videos, get error 404. After that I tried you-get for another video website, all worked normal for that site... Just Youtube. One of my friends also met the exact issue.
Atul Tripathi
@atul1503
supplying -p with the full path of the media player doesnot work.
Hint
@xzx534142447
Requirement already satisfied: you-get in /usr/local/python3/lib/python3.6/site-packages
You are using pip version 9.0.1, however version 21.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
but use "you-get"。It said "you-get command not found"
nuomi1
@nuomi1
https://github.com/nuomi1/you-get/tree/feature/fix-missevan 适配了猫耳 FM 的新版 API,但是没法提 PR,请问如何处理?
1 reply
Allen Tsui
@scegg
bilibili hdflv2 failed with ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)

you-get --debug -c bl.txt --format=hdflv2 https://www.bilibili.com/bangumi/play/ep401367
[DEBUG] get_content: https://www.bilibili.com/bangumi/play/ep401367
you-get: This bangumi currently has 7 videos. (use --playlist to download all videos.)
[DEBUG] get_content: https://api.bilibili.com/pgc/player/web/playurl?avid=588418696&cid=349418858&qn=0&type=&otype=json&ep_id=401367&fnver=0&fnval=16
[DEBUG] get_content: https://api.bilibili.com/pgc/player/web/playurl?avid=588418696&cid=349418858&qn=120&type=&otype=json&ep_id=401367&fnver=0&fnval=8
[DEBUG] get_content: https://api.bilibili.com/pgc/player/web/playurl?avid=588418696&cid=349418858&qn=80&type=&otype=json&ep_id=401367&fnver=0&fnval=8
[DEBUG] get_content: https://api.bilibili.com/pgc/player/web/playurl?avid=588418696&cid=349418858&qn=64&type=&otype=json&ep_id=401367&fnver=0&fnval=8
[DEBUG] get_content: https://api.bilibili.com/pgc/player/web/playurl?avid=588418696&cid=349418858&qn=32&type=&otype=json&ep_id=401367&fnver=0&fnval=8
[DEBUG] get_content: https://api.bilibili.com/pgc/player/web/playurl?avid=588418696&cid=349418858&qn=16&type=&otype=json&ep_id=401367&fnver=0&fnval=8
[DEBUG] get_content: https://api.bilibili.com/pgc/player/web/playurl?avid=588418696&cid=349418858&qn=120&type=&otype=json&ep_id=401367&fnver=0&fnval=16
[DEBUG] get_content: https://api.bilibili.com/pgc/player/web/playurl?avid=588418696&cid=349418858&qn=80&type=&otype=json&ep_id=401367&fnver=0&fnval=16
[DEBUG] get_content: https://api.bilibili.com/pgc/player/web/playurl?avid=588418696&cid=349418858&qn=64&type=&otype=json&ep_id=401367&fnver=0&fnval=16
[DEBUG] get_content: https://api.bilibili.com/pgc/player/web/playurl?avid=588418696&cid=349418858&qn=32&type=&otype=json&ep_id=401367&fnver=0&fnval=16
[DEBUG] get_content: https://api.bilibili.com/pgc/player/web/playurl?avid=588418696&cid=349418858&qn=16&type=&otype=json&ep_id=401367&fnver=0&fnval=16
[DEBUG] get_content: http://comment.bilibili.com/349418858.xml
site: Bilibili
title: 镇魂街 第二季:重制版第7话 以血洗血
stream:

- format:        hdflv2
  container:     flv
  quality:       高清 1080P+
  size:          783.8 MiB (821847203 bytes)
# download-with: you-get --format=hdflv2 [URL]

Downloading 镇魂街 第二季:重制版第7话 以血洗血.flv ...
0.0% ( 0.0/783.8MB) ├────────────────────────────────────────┤[1/1] you-get: version 0.4.1527, a tiny downloader that scrapes the web.
you-get: Namespace(URL=['https://www.bilibili.com/bangumi/play/ep401367'], auto_rename=False, cookies='bl.txt', debug=True, extractor_proxy=None, first=None, force=False, format='hdflv2', help=False, http_proxy=None, info=False, input_file=None, insecure=False, itag=None, json=False, last=None, no_caption=False, no_merge=False, no_proxy=False, output_dir='.', output_filename=None, password=None, player=None, playlist=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\Allen\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 1350, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1240, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1286, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1235, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1006, in _send_output
self.send(msg)
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 946, in send
self.connect()
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1409, in connect
self.sock = self._context.wrap_socket(self.sock,

File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\ssl.py", line 1040, in _create
self.do_handshake()
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)
Allen Tsui
@scegg
Downloading using mp4 is ok. Flv is still not possible.
Allen Tsui
@scegg

workaround: edit source /src/you_get/common.py

add:
ssl._create_default_https_context = ssl._create_unverified_context

below:
import ssl

3 replies
xun527
@xun527
腾讯会员视频下载问题:加载cook后,什么时候能实现去除腾讯视频的水印呢
gqc1129
@gqc1129
you-get可以下载youtube的视频合辑吧。 you-get -u(--url) 没整明白,有什么中文的文档或者大佬给个案例也行。
syswow64uwu
@syswow64uwu:matrix.org
[m]
Any way to use you-get directly from within Python?
I want to download YouTube videos, get the downloaded file path in a variable, the video title into a variable, all this directly from within Python.
I don't wanna use it from Command Line.
syswow64uwu
@syswow64uwu:matrix.org
[m]
What a dead chat
RedemptionC
@RedemptionC

Downloading ADA Lecture 1.1: Introduction (19-09-12).mp4 ...
100% ( 63.7/ 63.7MB) ├███████████████████████████████████████████████████████████████████████████████████████████████┤[1/1] 2 MB/s

- title:         ADA Lecture 2: Divide and Conquer - Part 1
   size:         428.5 MiB (449283621 bytes)
    url:         https://youtu.be/ywJJvBwha4s

Downloading ADA Lecture 2: Divide and Conquer - Part 1.mp4 ...
27.7% (118.8/428.5MB) ├██████████████████████████─────────────────────────────────────────────────────────────────────┤[1/1] 75 kB/s

why does this speed slow down so much?
what
@iqakb
Hi everyone, i know this might seem simple, but how do you download a specific video from a playlist?
Allen Tsui
@scegg

you-get https://www.bilibili.com/video/BV1nQ4y127v5 -d
[DEBUG] get_content: https://www.bilibili.com/video/BV1nQ4y127v5
[DEBUG] get_content: https://www.bilibili.com/video/BV1nQ4y127v5
[DEBUG] get_content: https://interface.bilibili.com/v2/playurl?appkey=iVGUTjsxvpLeuDCf&cid=386731535&otype=json&qn=112&quality=112&type=&sign=4b37737a57503187200d424a6df906fa
[DEBUG] get_content: https://interface.bilibili.com/v2/playurl?appkey=iVGUTjsxvpLeuDCf&cid=386731535&otype=json&qn=80&quality=80&type=&sign=b1e7d04a5f1db8b0596b477c1824def8
[DEBUG] get_content: https://interface.bilibili.com/v2/playurl?appkey=iVGUTjsxvpLeuDCf&cid=386731535&otype=json&qn=64&quality=64&type=&sign=3a9e9e9e8eb74e88d7a38e927807bfcd
[DEBUG] get_content: https://interface.bilibili.com/v2/playurl?appkey=iVGUTjsxvpLeuDCf&cid=386731535&otype=json&qn=32&quality=32&type=&sign=5db7edab80ea5ebea30cc86dc30acf5d
[DEBUG] get_content: https://api.bilibili.com/x/player/playurl?avid=717288641&cid=386731535&qn=16&type=&otype=json&fnver=0&fnval=16&fourk=1
[DEBUG] get_content: https://interface.bilibili.com/v2/playurl?appkey=iVGUTjsxvpLeuDCf&cid=386731535&otype=json&qn=16&quality=16&type=&sign=5853c176690811ef49cd2829d84738f0
[DEBUG] get_content: http://comment.bilibili.com/386731535.xml
site: Bilibili
title: 【看理想 | 当代艺术】中国最好的艺术家之一,理解自己的作品吗?
stream:

- format:        dash-flv
  container:     mp4
  quality:       高清 1080P
  size:          37.4 MiB (39169220 bytes)
# download-with: you-get --format=dash-flv [URL]

Downloading 【看理想 - 当代艺术】中国最好的艺术家之一,理解自己的作品吗?.mp4 ...
100% ( 37.4/ 37.4MB) ├████████████████████████████████████████┤[1/2] 199 MB/syou-get: version 0.4.1545, a tiny downloader that scrapes the web.
you-get: Namespace(URL=['https://www.bilibili.com/video/BV1nQ4y127v5'], auto_rename=False, cookies=None, debug=True, extractor_proxy=None, first=None, force=False, format=None, help=False, http_proxy=None, info=False, input_file=None, insecure=False, itag=None, json=False, last=None, no_caption=False, no_merge=False, no_proxy=False, output_dir='.', output_filename=None, password=None, player=None, playlist=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\Allen\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 1350, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1240, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1286, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1235, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1006, in _send_output
self.send(msg)
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 946, in send
self.connect()
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1409, in connect
self.sock = self._context.wrap_socket(self.sock,
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\ssl.py", line 1040, in _create
self.do_handshake()
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Allen\AppData\Local\Programs\Python\Py

Traceback (most recent call last):
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\Scripts\you-get-script.py", line 11, in <module>
load_entry_point('you-get==0.4.1545', 'console_scripts', 'you-get')()
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1545-py3.8.egg\you_get__main__.py", line 92, in main
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1545-py3.8.egg\you_get\common.py", line 1831, in main
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1545-py3.8.egg\you_get\common.py", line 1713, in script_main
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1545-py3.8.egg\you_get\common.py", line 1345, in download_main
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1545-py3.8.egg\you_get\common.py", line 1822, in any_download
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1545-py3.8.egg\you_get\extractor.py", line 61, in download_by_url
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1545-py3.8.egg\you_get\extractor.py", line 238, in download
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1545-py3.8.egg\you_get\common.py", line 1022, in download_urls
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1545-py3.8.egg\you_get\common.py", line 649, in url_save
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1545-py3.8.egg\you_get\common.py", line 649, in <listcomp>
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1545-py3.8.egg\you_get\common.py", line 533, in url_size
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1545-py3.8.egg\you_get\common.py", line 408, in urlopen_with_retry
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 525, in open
response = self._open(req, data)
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 502, in _call_chain
result = func(*args)
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 1393, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 1353, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>
b站这个证书问题还没解决呢
DNACore
@DNACore
我看you-get支持贴吧视频下载
那复制贴吧的哪个链接呢
NoAnyLove
@NoAnyLove

发现报issue有点麻烦了,所以直接post到这里。
问题:B站使用cookies下载视频可能会失败
版本:0.4.1545
命令:

you-get --cookies <your-firefox-profile-path>\cookies.sqlite -i https://www.bilibili.com/video/BV1744y1h7CM

traceback:

Traceback (most recent call last):                                                             
  File "e:\python39\lib\runpy.py", line 197, in _run_module_as_main                            
    return _run_code(code, main_globals, None,                                                 
  File "e:\python39\lib\runpy.py", line 87, in _run_code                                       
    exec(code, run_globals)                                                                    
  File "E:\Python39\Scripts\you-get.exe\__main__.py", line 7, in <module>                      
  File "e:\python39\lib\site-packages\you_get\__main__.py", line 92, in main                   
    main(**kwargs)                                                                             
  File "e:\python39\lib\site-packages\you_get\common.py", line 1834, in main                   
    script_main(any_download, any_download_playlist, **kwargs)                                 
  File "e:\python39\lib\site-packages\you_get\common.py", line 1716, in script_main            
    download_main(                                                                             
  File "e:\python39\lib\site-packages\you_get\common.py", line 1348, in download_main          
    download(url, **kwargs)                                                                    
  File "e:\python39\lib\site-packages\you_get\common.py", line 1825, in any_download           
    m.download(url, **kwargs)                                                                  
  File "e:\python39\lib\site-packages\you_get\extractor.py", line 48, in download_by_url       
    self.prepare(**kwargs)                                                                     
  File "e:\python39\lib\site-packages\you_get\extractors\bilibili.py", line 192, in prepar     
e                                                                                              
    initial_state = json.loads(initial_state_text)                                             
  File "e:\python39\lib\json\__init__.py", line 339, in loads                                  
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '                       
TypeError: the JSON object must be str, bytes or bytearray, not NoneType

分析:初步分析发现是在get_content函数中, 无脑将所有cookies都发送出去了,B站那边检测到后就不返回内容。
修复:打算给get_content添加一个cookie_filter参数,只提交相关的cookies。
代码示例:

def bilibili_cookie(cookie):
    retrun 'bilibili' in cookie.domain

def get_content(url, headers={}, decoded=True, cookie_filter=None):
    # 省略无关代码
    if cookies:
        cookie_strings = []
        for cookie in list(cookies):
            if cookie_filter and not cookie_filter(cookie):
                continue
            cookie_strings.append(cookie.name + '=' + cookie.value)
        cookie_headers = {'Cookie': '; '.join(cookie_strings)}
        req.headers.update(cookie_headers)

如果觉得没问题的话我就提交PR修复。

wllpeter
@wllpeter
you-get 下载很多爱奇艺短视频 下载不了 会报错 例如:https://www.iqiyi.com/v_2gkebjkxeb8.html
Lewis Chan
@baiwfg2
总感觉gitter 没slack 好用。大家是怎么搜索以往的讨论记录呢?貌似得不断往上scroll,才会显示出更老的记录
acyanbird
@acyanbird
嘿各位,我在墙外使用 you-get 今天出现了限速现象,维持在 70 kb 左右,youtube-dl 也是如此,下载b站没有问题。是youtube相关出现了什么问题吗
win和ubuntu都有这个问题,我已经升级到了最新版本
ndyd
@yslpro
下载视频怎么把封面一起下载下来?
Joseph
@Joseph0717
YouTube下载只有几十K每秒 什么原因,挂梯子了
99436258
@99436258
C:\Users\滑稽>you-get https://www.bilibili.com/video/BV1FU4y1p7f3?p=1 --debug
[DEBUG] get_content: https://www.bilibili.com/video/BV1FU4y1p7f3?p=1
[DEBUG] get_content: https://www.bilibili.com/video/BV1FU4y1p7f3?p=1
you-get: This is a multipart video. (use --playlist to download all parts.)
you-get: version 0.4.1545, a tiny downloader that scrapes the web.
you-get: Namespace(URL=['https://www.bilibili.com/video/BV1FU4y1p7f3?p=1'], auto_rename=False, cookies=None, debug=True, extractor_proxy=None, first=None, force=False, format=None, help=False, http_proxy=None, info=False, input_file=None, insecure=False, itag=None, json=False, last=None, no_caption=False, no_merge=False, no_proxy=False, output_dir='.', output_filename=None, password=None, player=None, playlist=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 "d:\python\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "d:\python\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "D:\python\Scripts\you-get.exe__main.py", line 7, in <module>
File "d:\python\lib\site-packages\you_get\
main__.py", line 92, in main
main(kwargs)
File "d:\python\lib\site-packages\you_get\common.py", line 1831, in main
script_main(any_download, any_download_playlist,
kwargs)
File "d:\python\lib\site-packages\you_get\common.py", line 1713, in script_main
download_main(
File "d:\python\lib\site-packages\you_get\common.py", line 1345, in download_main
download(url, kwargs)
File "d:\python\lib\site-packages\you_get\common.py", line 1822, in any_download
m.download(url,
kwargs)
File "d:\python\lib\site-packages\you_get\extractor.py", line 48, in download_by_url
self.prepare(**kwargs)
File "d:\python\lib\site-packages\you_get\extractors\bilibili.py", line 220, in prepare
current_quality = playinfo['data']['quality'] or None # 0 indicates an error, fallback to None
KeyError: 'data'
麻烦各位大佬看看
bslzyp
@bslzyp
我也遇到这个错误, print(playinfo)显示{'code': -404, 'message': '啥都木有', 'ttl': 1, 'session': '74d455478d0ef106b893ee3ba3a45d25'}
ngolynguyen
@ngolynguyen
hi there, Douyin.com can not download right now. link here: you-get --output-dir G:\DouYinDownloader\1795767842 https://www.douyin.com/video/6916751803921026317