you-get下载bilibili视频

2023-05-16

you-get是一个命令行工具,可以从网络上下载视频、音频、图片等资源。
https://codechina.csdn.net/mirrors/soimort/you-get?utm_source=csdn_github_accelerator#getting-started

1、前置条件

  • 安装Python 3.2+
  • 安装ffmpeg(如果没有安装ffmpeg,下载MP4视频时,会把视频和音频分割成两个文件,安装ffmpeg后,会自动合并视频和音频)

2、安装you-get

通过pip安装:

pip3 install you-get

如果是mac系统,可以通过Homebrew安装:

brew install you-get

3、使用you-get下载视频

使用-i选项查看视频清晰度和格式:

you-get -i https://www.bilibili.com/video/BV1to4y1C7gw

site:                Bilibili
title:               【尚硅谷】2021最新版Zookeeper 3.5.7版本教程 (P1. 01_尚硅谷_zk_开篇_课程介绍)
streams:             # Available quality and codecs
    [ DASH ] ____________________________________
    - format:        dash-flv
      container:     mp4
      quality:       高清 1080P
      size:          18.4 MiB (19297535 bytes)
    # download-with: you-get --format=dash-flv [URL]

    - format:        dash-flv480
      container:     mp4
      quality:       清晰 480P
      size:          17.1 MiB (17959269 bytes)
    # download-with: you-get --format=dash-flv480 [URL]

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

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

    [ DEFAULT ] _________________________________
    - format:        flv
      container:     flv
      quality:       高清 1080P
      size:          23.4 MiB (24571440 bytes)
    # download-with: you-get --format=flv [URL]

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

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

    - format:        flv360
      container:     flv
      quality:       流畅 360P
      size:          13.2 MiB (13812486 bytes)
    # download-with: you-get --format=flv360 [URL]

默认下载flv格式最高清晰度的视频,测试发现下载flv格式速度很慢,而且容易出错。可以使用–format选项指定下载视频的格式和清晰度,比如可以使用--format=dash-flv指定下载1080P的mp4格式(推荐,下载速度很快):

you-get -o ~/video --format=dash-flv https://www.bilibili.com/video/BV1to4y1C7gw

-o选项指定下载视频存放的目录,上面命令默认只下载第一个视频,如果想批量下载所有视频,可以加上--playlist选项:

you-get -o ~/video --format=dash-flv --playlist https://www.bilibili.com/video/BV1to4y1C7gw

如果下载失败,可以重新运行命令再次下载。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

you-get下载bilibili视频 的相关文章

随机推荐

  • UVC V4L2的实现

    linux 4 19 125 drivers media usb uvc uvc v4l2 c 1 uvc ops const struct v4l2 file operations uvc fops owner THIS MODULE o
  • USB3.0 PIPE接口

    1 introduction PHY Interface for the PCI Express and USB 3 0 Architectures USB SuperSpeed PHY Layer The USB SuperSpeed P
  • USB2.0 UTMI接口

    1 UTM Functional Block Diagram 2 UTMI Signal Descriptions 2 1 nbsp System Interface Signals 2 2 Data Interface Signals n
  • USB2.0 ULPI接口介绍

    UTMI Low Pin Interface ULPI nbsp a generic low pin interface LPI between a Link and a PHY 1 general ULPI defines a PHY t
  • 《IT项目管理》(郭宁编著) 课后习题答案

    目录 第一章 it项目管理概述 第二章 组织环境与项目管理过程 第三章 it项目整体管理 第四章 it项目范围管理 第五章 it项目时间管理 第六章 it项目成本管理 第七章 it项目质量管理 第八章 项目人力资源管理 第九章 项目沟通管理
  • FPGA USB device原型验证流程及调试手段

    device mode enable usb ACM usb serial gadget function and connect it to PC host 1 register access check if register acce
  • FPGA USB host原型验证流程及调试手段

    host mode plug in a device for test super speed device usb3 0 usb storage high speed device usb2 0 usb storage full spee
  • USB2.0 UTMI+接口

    1 UTMI The UTMI standard contains progressive levels of technology support because the complexity requirements for devic
  • cadence usb linux配置

    1 kernel config 2 dts
  • USB3.0 host xHCI驱动

    xHCI驱动在usb host中 主要初始化xHCI xHCI作为usb nbsp host部分的驱动 1 nbsp xhci driver与device的匹配 usb host xhci plat c static struct plat
  • windows PCIe 工具: TeleScan

    TeleScan PE for Windows 用户可以通过TeleScan PE来扫描系统中的PCI PCIe设备 xff0c 并提供了读写其配置空间中的寄存器的功能 download Teledyne LeCroy PCI Expres
  • intel 82574 1000M pcie 网卡 kernel driver

    0 kernel config Device Drivers gt Network device support gt Ethernet driver support gt Intel devices lt gt Intel R PRO 1
  • Windows NFS server:Winnfsd

    1 Winnfsd GitHub winnfsd winnfsd Usage WinNFSd exe id lt uid gt lt gid gt log on off pathFile lt file gt addr lt ip gt e
  • windows dhcp server

    1 tool Open DHCP Server Open Source Freeware Windows Linux MultiSubnet MultiDomain DHCP Server supports every Industry S
  • uboot环境变量保存到EMMC

    1 cmd 命令行可以用setenv printenv saveenv uboot u boot 2020 04 cmd nvedit c setenv gt do env set gt do env set gt hsearch r en
  • 安装VScode配置c/c++环境出现问题提示#include errors detected. Please update your includePath......解决办法

    文章目录 1 vscode下载安装以及c c 43 43 插件安装 2 MinGW安装3 配置环境变量4 配置几个json文件 1 vscode下载安装以及c c 43 43 插件安装 VScode下载地址 2 MinGW安装 官网下载地址
  • linux支持ipv6

    1 kernel config Networking support gt Networking options gt lt gt The IPv6 protocol gt 2 test 2 1 proc net if inet6 查看 p
  • 以太网 网线分类

    1 双绞线分类 一类线 xff1a 主要用于传输语音 xff08 一类标准主要用于八十年代初之前的电话线缆 xff09 xff0c 不同于数据传输 二类线 xff1a 传输频率为1MHZ xff0c 用于语音传输和最高传输速率4Mbps的数
  • linux pcie RC 框架

    1 linux pcie rc framework Following is a brief explanation of layers shown in the diagram There are different drivers fo
  • you-get下载bilibili视频

    you get是一个命令行工具 xff0c 可以从网络上下载视频 音频 图片等资源 https codechina csdn net mirrors soimort you get utm source 61 csdn github acc