Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 18 10:36
    4ft35t commented #2972
  • Aug 18 10:27
    soimort-bot commented #2972
  • Aug 18 10:27
    4ft35t opened #2972
  • Aug 18 03:27
    Freed-Wu synchronize #2969
  • Aug 18 03:05
    Freed-Wu synchronize #2969
  • Aug 18 02:52
    Freed-Wu synchronize #2969
  • Aug 18 02:37
    Freed-Wu synchronize #2969
  • Aug 18 01:28
    l1t1 commented #2969
  • Aug 18 01:20
    soimort-bot closed #2971
  • Aug 18 01:20
    soimort-bot locked #2971
  • Aug 18 01:20
    soimort-bot commented #2971
  • Aug 18 01:20
    l1t1 opened #2971
  • Aug 17 07:06
    soimort-bot closed #2970
  • Aug 17 07:06
    soimort-bot locked #2970
  • Aug 17 07:06
    soimort-bot commented #2970
  • Aug 17 07:06
    dimitrinaama opened #2970
  • Aug 13 04:03
    SunMoonStar2000 commented #2931
  • Aug 12 19:47
    Freed-Wu edited #2969
  • Aug 12 19:40
    soimort-bot commented #2969
  • Aug 12 19:40
    Freed-Wu opened #2969
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
有人吗
FayEveline
@FayEveline
Hello author
Does you-get support web, or is there a web source code?
FayEveline
@FayEveline
。。
CyanideCentral
@CyanideCentral
这个程序是否应用于web,是否有web源码呢?
应用于web是什么意思(
西瓜视频貌似用不了哎
FayEveline
@FayEveline
就是软件有网页那种源码
CyanideCentral
@CyanideCentral
如果你说的是网页版下载界面,那好像还没有
项目源码在GitHub
ZaxonXP
@ZaxonXP
Hi! Is there a way to select only audio tracks with you-get?
How do you specify default format?
If you specify the format (with -F) and player (with -p) then there is no audio.
Francorce
@francorce
I'm getting this error when trying to install
/usr/bin/env: ‘python3’: No such file or directory
FayEveline
@FayEveline
然后也想知道这个you-get源码
you-get是爬虫吗 不是接口好像
York618
@York618

各位看看