Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 06 08:16
    robonxt commented #2907
  • Oct 06 08:16
    robonxt commented #2907
  • Oct 06 08:16
    robonxt commented #2907
  • Oct 04 17:35
    soimort-bot commented #2984
  • Oct 04 17:35
    nuomi1 opened #2984
  • Sep 26 06:02
    soldatjiang synchronize #2958
  • Sep 26 02:09
    soimort-bot commented #2983
  • Sep 26 02:09
    0x4ea5 opened #2983
  • Sep 24 18:22
    ottomanvictor commented on fd5e313
  • Sep 24 11:58
    chasemao closed #2880
  • Sep 22 12:36
    soimort-bot commented #2982
  • Sep 22 12:36
    StdioA opened #2982
  • Sep 22 07:44
    Grom03 edited #2981
  • Sep 21 21:47
    soimort-bot commented #2981
  • Sep 21 21:47
    Grom03 opened #2981
  • Sep 20 03:18
    soimort-bot commented #2980
  • Sep 20 03:18
    xiangxw opened #2980
  • Sep 17 16:51
    cclauss commented #2932
  • Sep 17 16:50
    cclauss commented #2932
  • Sep 17 16:47
    Inc0n commented #2932
Allen Tsui
@scegg

you-get --debug -c cna.txt http://v.youku.com/v_show/id_XNDcyNjAyODQ1Ng==.html?spm=a2hzp.8253869.0.0
you-get: Found cna in imported cookies. Use it
[DEBUG] get_content: https://ups.youku.com/ups/get.json?vid=XNDcyNjAyODQ1Ng==&ccode=0519&client_ip=192.168.1.1&utid=4E9nFyMr2BYCAdoSaqSGXDnY&client_ts=1593492929&ckey=DIl58SLFxFNndSV1GFNnMQVYkx1PP5tKe1siZu/86PR1u/Wh1Ptd%2BWOZsHHWxysSfAOhNJpdVWsdVJNsfJ8Sxd8WKVvNfAS8aS8fAOzYARzPyPc3JvtnPHjTdKfESTdnuTW6ZPvk2pNDh4uFzotgdMEFkzQ5wZVXl2Pf1/Y6hLK0OnCNxBj3%2Bnb0v72gZ6b0td%2BWOZsHHWxysSo/0y9D2K42SaB8Y/%2BaD2K42SaB8Y/%2BahU%2BWOZsHcrxysooUeND
site: 优酷 (Youku)
title: 南宋公务员升职记:徐谓礼文书
stream:

- format:        mp4hd2v2
  container:     mp4
  video-profile: 超清
  size:          85.0 MiB (89148763 bytes)
  m3u8_url:      http://pl-ali.youku.com/playlist/m3u8?vid=XNDcyNjAyODQ1Ng&type=mp4hd2v3&ups_client_netip=777920f1&utid=4E9nFyMr2BYCAdoSaqSGXDnY&ccode=0519&psid=48775af3de0f7d48d1398a6fd3733e9b35b19&duration=1112&expire=18000&drm_type=1&drm_device=0&dyt=0&btf=&ups_ts=1593492934&onOff=0&encr=0&ups_key=7ad169f6cb5c2c2a8c5b93482ae58793
# download-with: you-get --format=mp4hd2v2 [URL]

Downloading 南宋公务员升职记:徐谓礼文书.mp4 ...
0.0% ( 0.0/ 85.0MB) ├────────────────────────────────────────┤[1/2] [DEBUG] HTTP Error with code403
[DEBUG] HTTP Error with code403
[DEBUG] HTTP Error with code403
you-get: version 0.4.1432, a tiny downloader that scrapes the web.
you-get: Namespace(URL=['http://v.youku.com/v_show/id_XNDcyNjAyODQ1Ng==.html?spm=a2hzp.8253869.0.0'], auto_rename=False, cookies='cna.txt', 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 "C:\Users\Allen\AppData\Local\Programs\Python\Python38\Scripts\you-get-script.py", line 11, in <module>
load_entry_point('you-get==0.4.1432', 'console_scripts', 'you-get')()
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1432-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.1432-py3.8.egg\you_get\common.py", line 1764, in main
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1432-py3.8.egg\you_get\common.py", line 1646, in script_main
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1432-py3.8.egg\you_get\common.py", line 1308, in download_main
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1432-py3.8.egg\you_get\common.py", line 1755, in any_download
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1432-py3.8.egg\you_get\extractors\youku.py", line 309, in youku_download_by_url
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1432-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.1432-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.1432-py3.8.egg\you_get\common.py", line 999, in download_urls
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1432-py3.8.egg\you_get\common.py", line 635, in url_save
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1432-py3.8.egg\you_get\common.py", line 516, in url_size
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1432-py3.8.egg\you_get\common.py", line 418, in urlopen_with_retry
File "C:\Users\Allen\AppData\Local\Programs\

File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\site-packages\you_get-0.4.1432-py3.8.egg\you_get\common.py", line 409, 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 531, in open
response = meth(req, response)
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 640, in http_response
response = self.parent.error(
File "C:\Users\Allen\AppData\Local\Programs\Python\Python38\lib\urllib\request.py", line 569, in error
return self._call_chain(args)
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 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
Turbine-engine
@Turbine-engine
you-get下载腾讯视频时出现问题,具体表现在下载TS流视频时丢包严重,比如一个56分钟的视频用you-get下载后缩短为35分钟,丢包率高达40%。当使用-n 命令不希望ffmpeg合并视频时,一共下载了11段视频,每段3分钟,与原视频对比发现,每间隔3分钟视频丢失2分钟,我猜想是视频地址解析出现问题,希望开发者能收到这个反馈并解决,谢谢(A problem occurred when you-get downloaded Tencent videos(http://v.qq.com). The specific performance is that the Packet loss is serious when downloading TS videos streamed. For example, the 56 minutes of video is reduced to 35 minutes after downloading with you-get, The packet loss rate is 40%.When I don't want ffmpeg to merge the video parts with the - n command , It downloaded 11 video parts, each of which is 3 minutes. Compared with the original video, it's found that the 2 minutes of video is lost every 3 minutes, I guess there's something wrong with the video address resolution,I hope developers can receive this feedback and solve it. Thank you)
lihao627
@lih627
爱奇艺使用 cookie 仍然只能下载会员预览视频, 请问是我操作出问题了么
yunhai20082008
@yunhai20082008
you-get --playlist --itag=18 -o E://1 https://www.youtube.com/playlist?list=PLuPGmvCprV1vH5PL5ywt1ZWUE4vNQ_Y1d win下用这个命令只出现视频信息,不会下载,只下载单一视频没有问题,这是咋回事
York618
@York618

有办法可以绕过吗 我有会员 可以通过请求一些特殊的带cookies的地址 然后下载蓝光分辨率的吗

可以,找别人要cookies文件:)

大家好,请问用ssr上YouTube的小白该怎么设置才能下载youtube的视频呢?(PS:我用最基本的you-get命令不能下载,国内的B站等就可以,我觉得应该就是gfw的问题~)

开ssr,在设置中勾选“允许局域网*”,然后再you-get -x 127.0.0.1:端口号 [URL]即可

York618
@York618
西瓜视频单使用浏览器访问源视频都打开不了……字节跳动估计是知道这个随意下载的bug了……
Crystal-RainSlide
@Crystal-RainSlide
熊猫TV已经倒闭很久了,repo 里也删掉了,但主页上还有:
York618
@York618

熊猫TV已经倒闭很久了,repo 里也删掉了,但主页上还有:

可以编辑Wiki文档的

LockRim
@LockRim
我想在acfun上下载番剧却显示错误。
eg: https://www.acfun.cn/bangumi/aa6002986
运行debug后:
D:>you-get --debug https://www.acfun.cn/bangumi/aa6002986
you-get: version 0.4.1432, a tiny downloader that scrapes the web.
you-get: Namespace(URL=['https://www.acfun.cn/bangumi/aa6002986'], 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 "e:\python\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "e:\python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "E:\Python\Scripts\you-get.exe__main.py", line 7, in <module>
File "e:\python\lib\site-packages\you_get\
main__.py", line 92, in main
main(kwargs)
File "e:\python\lib\site-packages\you_get\common.py", line 1763, in main
script_main(any_download, any_download_playlist,
kwargs)
File "e:\python\lib\site-packages\you_get\common.py", line 1651, in script_main
extra
File "e:\python\lib\site-packages\you_get\common.py", line 1307, in download_main
download(url,
kwargs)
File "e:\python\lib\site-packages\you_get\common.py", line 1754, in any_download
m.download(url, **kwargs)
File "e:\python\lib\site-packages\you_get\extractors\acfun.py", line 158, in acfun_download
raise NotImplemented
TypeError: exceptions must derive from BaseException
lkjhg1994
@lkjhg1994
两天前爱奇艺忽然不行了,m3u8获取正常,但是每一个ts文件都下不下来,显示
Connection to tcp://116.211.205.55:80 failed: Error number -138 occurred
Failed to open segment 0 of playlist 0
lkjhg1994
@lkjhg1994

我想下载爱奇艺视频 ,我只想下载ts 不想合并视频 有办法解决吗

有no-merge选项

Magic
@Magic-King

@Magic-King ,cookies格式不对,可以装个浏览器插件然后设置导出格式为Netscape HTTP Cookie File

十分感谢,导出的结果应该是类似[{...,...}]的结果吧

ywaby
@ywaby
下载bilibili为什么会卡住,退出也无法退出
you-get --debug -i https://www.bilibili.com/video/BV1up4y1D774
[DEBUG] get_content: https://www.bilibili.com/video/BV1up4y1D774
[DEBUG] get_content: https://www.bilibili.com/video/BV1up4y1D774
[DEBUG] get_content: https://interface.bilibili.com/v2/playurl?appkey=iVGUTjsxvpLeuDCf&cid=198076290&otype=json&qn=112&quality=112&type=&sign=a7edfb00ecc2caebc9a9acb8451c1263
[DEBUG] get_content: https://interface.bilibili.com/v2/playurl?appkey=iVGUTjsxvpLeuDCf&cid=198076290&otype=json&qn=80&quality=80&type=&sign=8f86c7d3f445bbd7909c3e939ae6e556
[DEBUG] get_content: https://interface.bilibili.com/v2/playurl?appkey=iVGUTjsxvpLeuDCf&cid=198076290&otype=json&qn=64&quality=64&type=&sign=fd5991da6c6fc3921b7216ca11793459
[DEBUG] get_content: https://interface.bilibili.com/v2/playurl?appkey=iVGUTjsxvpLeuDCf&cid=198076290&otype=json&qn=32&quality=32&type=&sign=f2a71c386b7660d1772c0a07fe4c7fb8
[DEBUG] get_content: https://api.bilibili.com/x/player/playurl?avid=968446587&cid=198076290&qn=16&type=&otype=json&fnver=0&fnval=16
[DEBUG] get_content: https://interface.bilibili.com/v2/playurl?appkey=iVGUTjsxvpLeuDCf&cid=198076290&otype=json&qn=16&quality=16&type=&sign=79c500574cccbb36b8c2c131b2d21f30
卡在这里,ctrl+c也无法退出
你们有碰到这种情况吗?
zhaiguanjie7
@zhaiguanjie7
只有提问,没有大牛回答。还不如GitHub的issue啊。。。
daixian
@daixian
extractor.py文件的Download stream with the best quality的判断逻辑好像有问题.
daixian
@daixian

下面这一句if判断里面的or好像不对,我看到bilibili实现中已经有一个正确的streams_sorted选中了720P,但是在extractor.py文件的download()函数中仍然对Dash视频进行了排序,结果反而选中了480P。

                # Download stream with the best quality
                print('Extractor.download():进入Download stream with the best quality!')
                self.p([])
                from .processor.ffmpeg import has_ffmpeg_installed
                # bug:这里用or导致虽然此时已经有正确streams_sorted,但是仍然重新排序了
                # if has_ffmpeg_installed() and player is None and self.dash_streams or not self.streams_sorted:
                if has_ffmpeg_installed() and player is None and self.dash_streams and not self.streams_sorted:
                    print('Extractor.download():未排序,按size排序')
                    #stream_id = list(self.dash_streams)[-1]
                    itags = sorted(self.dash_streams,
                                   key=lambda i: -self.dash_streams[i]['size'])
                    stream_id = itags[0]
                else:
                    print('Extractor.download():已排序')
                    stream_id = self.streams_sorted[0]['id'] if 'id' in self.streams_sorted[0] else self.streams_sorted[0]['itag']
                print('Extractor.download():选中的是stream_id={}'.format(stream_id))

extractor.py中的排序按size,但是这个视频它480P的比720P的size更大,结果extractor.py文件中的排序就错误了。

site:                Bilibili
title:               GAMES101-现代计算机图形学入门-闫令琪 (P1. Lecture 01 Overview of Computer Graphics)
streams:             # Available quality and codecs
    [ DASH ] ____________________________________
    - format:        dash-flv480
      container:     mp4
      quality:       清晰 480P
      size:          122.3 MiB (128219018 bytes)
    # download-with: you-get --format=dash-flv480 [URL]

    - format:        dash-flv720
      container:     mp4
      quality:       高清 720P
      size:          122.1 MiB (127992296 bytes)
    # download-with: you-get --format=dash-flv720 [URL]

    - format:        dash-flv360
      container:     mp4
      quality:       流畅 360P
      size:          93.1 MiB (97588721 bytes)
    # download-with: you-get --format=dash-flv360 [URL]

    [ DEFAULT ] _________________________________
    - format:        flv720
      container:     flv
      quality:       高清 720P
      size:          120.9 MiB (126785254 bytes)
    # download-with: you-get --format=flv720 [URL]

    - format:        flv480
      container:     flv
      quality:       清晰 480P
      size:          123.0 MiB (128941600 bytes)
    # download-with: you-get --format=flv480 [URL]

    - format:        flv360
      container:     flv
      quality:       流畅 360P
      size:          94.2 MiB (98782390 bytes)
    # download-with: you-get --format=flv360 [URL]
charlinone
@charlinone
为什么 加-l参数只获取信息,不下载呢
F:\ERP>you-get -l https://www.youtube.com/playlist?list=PL9nxfq1tlKKlDAa1A3yOLUO_KTSrCEYVM
site: YouTube
playlist: 最新 MySQL 教程 零基础 从 入门 到 精通「完整体系」
videos:
然后就退出了
Andrea-Chenjia-Pan
@Andrea-Chenjia-Pan
我的也是 YouTube 想要下载播放列表 只获取信息不下载
Andrea-Chenjia-Pan
@Andrea-Chenjia-Pan
另外我发现我的下载的所有的影片都failed to merge 了, 完全没有声音
Jingbei Li
@petronny
请问从爱奇艺下载视频不全是什么原因呢
23分钟的视频只下载了前6分钟
Shuaiouke
@Shuaiouke
B站有办法选P/动漫的级数吗
还是还没有这个功能
Noodleee
@Noodleee
你好,想问优酷加了cookies还是只能下载到720p,1080下载不了吗
duspringtiger
@duspringtiger
大佬们,有安装教程吗?小白急切需要
Funny_smile
@lzkgbld
@duspringtiger 你是想说包怎么安装还是想是什么安装教程,官方中文wiki不是有吗?
@petronny 要么是收费视频,免费视频不可能会出现这种情况,但是爱奇艺必须自己下载ffmpeg丢去you-get包里面或者你在程序里面执行命令就要丢去你当前运行程序py文件同路径下,否则也会报错
@zhaiguanjie7 不是只能拉分支吗....我没看到哪里可以拉问题
@lih627 我用火狐的cookie文件,下载直接报错,反而同样挂载cookie文件去下载免费视频没事,我现在倒是郁闷为什么我挂载cookie反而下载报错。
[aac_adtstoasc @ 0000018e48face00] Codec 'eac3' (86056) is not supported by the bitstream filter 'aac_adtstoasc'. Supported codecs are: aac (86018)
Error initializing bitstream filter: aac_adtstoasc
运行命令:you-get https://www.iqiyi.com/v_12b7e5voysc.html -c cookies.sqlite
Funny_smile
@lzkgbld
@Noodleee 加个i看看到底有没有1080画质允许下载,如果有的话,使用自动下载命令还是给你下载720建议就用手动了
@Shuaiouke 我记得B站每一集的url地址是不一样的...你可以根据不一样的url地址进行下载..
tangzheng7047
@tangzheng7047
大佬们,好像ins的图片下载不了啦?
有下载过instagram图片的吗?
nmb2b
@nmb2b
网易云音乐可以下载吗?我这里下载是0KB的文件
FayEveline
@FayEveline
hi
想问作者
这个程序是否应用于web,是否有web源码呢?
感谢
FayEveline
@FayEveline
~~
各位大佬好
FayEveline
@FayEveline
有人吗