Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 06 08:39
    elliott10 commented #2894
  • Dec 03 04:38
    soimort-bot closed #2939
  • Dec 03 04:38
    soimort-bot commented #2939
  • Dec 03 04:38
    soimort-bot locked #2939
  • Dec 03 04:38
    advancejar opened #2939
  • Nov 28 16:12
    dragonandy commented #2933
  • 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)

CleonH
@chinkiko
Hi, MA. My method is extracting audio from video after downloading using ffmpeg. As for you-get, what I know is it can download audio from audio url , and video from video url. I don’t know extra parameters to down audio only from video url either. Maybe u can try my method. If anyone know parameters for audio-only downloading pls let me know tsk
isgbuddy
@isgbuddy
you -get 谁试过能下载抖音吗?
15238655021
@15238655021
优酷会员加cookie还是无法下载1080p的,而且目前下载中途会出错,爱奇艺会员加cookie下载电影还是6分钟,有没有大佬给解答一下
CastleCat
@CastleQAQ
[DEBUG] get_content: https://www.bilibili.com/video/BV1Zs411q7tF
[DEBUG] get_content: https://www.bilibili.com/video/BV1Zs411q7tF
you-get: version 0.4.1488, 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, force=False, skip_existing_file_size_check=False, format=None, output_filename=None, output_dir='D:\视频', player=None, cookies=None, timeout=600, debug=True, input_file=None, password=None, playlist=False, auto_rename=False, insecure=False, http_proxy=None, extractor_proxy=None, no_proxy=False, socks_proxy=None, stream=None, itag=None, URL=['https://www.bilibili.com/video/BV1Zs411q7tF'])
Traceback (most recent call last):
File "e:\user software\python3.9.0\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "e:\user software\python3.9.0\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "E:\User Software\Python3.9.0\Scripts\you-get.exe__main.py", line 7, in <module>
File "e:\user software\python3.9.0\lib\site-packages\you_get\
main__.py", line 92, in main
main(kwargs)
File "e:\user software\python3.9.0\lib\site-packages\you_get\common.py", line 1799, in main
script_main(any_download, any_download_playlist,
kwargs)
File "e:\user software\python3.9.0\lib\site-packages\you_get\common.py", line 1681, in script_main
download_main(
File "e:\user software\python3.9.0\lib\site-packages\you_get\common.py", line 1328, in download_main
download(url, kwargs)
File "e:\user software\python3.9.0\lib\site-packages\you_get\common.py", line 1790, in any_download
m.download(url,
kwargs)
File "e:\user software\python3.9.0\lib\site-packages\you_get\extractor.py", line 48, in download_by_url
self.prepare(**kwargs)
File "e:\user software\python3.9.0\lib\site-packages\you_get\extractors\bilibili.py", line 193, in prepare
pn = initial_state['videoData']['videos']
KeyError: 'videos'
这个是什么问题啊
yunhai20082008
@yunhai20082008
怎么不从列表第一个开始下载
Allen Tsui
@scegg
优酷同时有HDR和1080P的时候,会下载出一个720p的片。。。
1080p的源在-i里列不出来(已经加载了cookie)
gojuukaze
@gojuukaze
西瓜视频报错

you-get https://www.ixigua.com/6851090298882392584 --debug

output:

you-get: version 0.4.1488, a tiny downloader that scrapes the web.
you-get: Namespace(URL=['https://www.ixigua.com/6851090298882392584'], auto_rename=False, cookies=None, debug=True, extractor_proxy=None, force=False, format=None, help=False, http_proxy=None, info=False, input_file=None, insecure=False, itag=None, json=False, no_caption=False, no_merge=False, no_proxy=False, output_dir='.', output_filename=None, password=None, player=None, playlist=False, skip_existing_file_size_check=False, socks_proxy=None, stream=None, timeout=600, url=False, version=False)
Traceback (most recent call last):
  File "/Users/xx/project/py37/bin/you-get", line 8, in <module>
    sys.exit(main())
  File "/Users/xx/project/py37/lib/python3.7/site-packages/you_get/__main__.py", line 92, in main
    main(**kwargs)
  File "/Users/xx/project/py37/lib/python3.7/site-packages/you_get/common.py", line 1799, in main
    script_main(any_download, any_download_playlist, **kwargs)
  File "/Users/xx/project/py37/lib/python3.7/site-packages/you_get/common.py", line 1687, in script_main
    **extra
  File "/Users/xx/project/py37/lib/python3.7/site-packages/you_get/common.py", line 1328, in download_main
    download(url, **kwargs)
  File "/Users/xx/project/py37/lib/python3.7/site-packages/you_get/common.py", line 1790, in any_download
    m.download(url, **kwargs)
  File "/Users/xx/project/py37/lib/python3.7/site-packages/you_get/extractors/ixigua.py", line 93, in ixigua_download
    conf = loads(match1(html, r"window\.config = (.+);"))
  File "/Users/xx/.pyenv/versions/3.7.9/lib/python3.7/json/__init__.py", line 341, 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
superborb
@superborb
iqiyi.com redirects me to iq.com. Do you think if I copy the iqiyi extractor it will be similar for iq?
superborb
@superborb
我的中文不好。。 因为我在国外,得用iq.com。 你们觉得能用iqiyi的extractor给iq吗?
Mort Yao
@soimort

iqiyi.com redirects me to iq.com. Do you think if I copy the iqiyi extractor it will be similar for iq?

The existing iqiyi.com extractor is unlikely to work for iq.com, but I expect the core algorithms to be pretty much similar
If someone wants to implement an extractor for iq.com, it would be nice for me to know

nraudigy2
@nraudigy2
hello, does anyone know command to download from ixigua.com?
Zhowl
@Zhowl
爱奇艺普通会员利用cookies只能下载前6分钟,开通星钻会员就可以下载完整4K版本了。(前几天爬过4K版的,昨天突然只能下载6min了,控制变量法让我觉得是这个原因,续费后结果就下载成功了- -)
Earlesscat
@Earlesscat
您好,我有一些视频想要一起下载,请问you-get是否支持从txt文件导入下载链接?谢谢
Earlesscat
@Earlesscat
Hello, I have some videos that I want to download together.I am wondering whether You-get supports importing download links from TXT files? thanks
Funny_smile
@lzkgbld
@RobinsonChina 你可以让python读取txt里面的链接然后用循环解决
Rui
@suisuiwudi
youtube的1080p60是不是还要做其他处理,下载的就是卡在0,其他画质没有问题
Thiago Franklin
@Thiagobhmg
Hello guys, I'm learning to use get-you. I would like to know if I can just download a video from youtube in HLS (m3u8), without having to convert or reprocess the video. I want to download and access the .ts files and the playlist.m3u8
*you-get
Reid
@linyongfu2013
how to download playlist from youtube ?
does download playlist still work ?
junomarian
@junomarian
Hi Dev, How to download files from text file? I have list of urls in text file in seperate lines.
Kee Kia Yun
@kiayun:matrix.org
[m]
Hi Dev, I am trying to download a list of video links from a csv file using for loop, but how can i stop the for loop after the video in the csv are all downloaded?
you-get keep skipping the downloaded files but cannot exit the execution
Jimmy Angel Pérez Díaz
@JimScope
Hi, guys you-get can be used like a lib?
lovehaven
@lovehaven
Where did the file get saved after downloading via you-get... please advise!
I am having trouble downloading paid content in youtube.. any thoughts? Many thanks!
dean.du
@wenbindu
Hi, everyone, do we have a development document?
Eric Zeng
@eric5013
Hi everyone, My you-get seems OK unitl I update my python to Version3.9, you-get still shows CERTIFICATE_VERIFY_FAILED Error although I've add param -k, do anyone has thought? Many thanks!
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