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
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
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