zoukankan      html  css  js  c++  java
  • Python-下载视频

    Python - 下载B站视频

    # 1、安装模块
    C:UsersAdministrator>pip install you-get
    Collecting you-get
      Downloading you_get-0.4.1432-py3-none-any.whl (215 kB)
         |████████████████████████████████| 215 kB 17 kB/s
    Installing collected packages: you-get
    Successfully installed you-get-0.4.1432
    
    # 2、下载 you-get "视频链接地址"
    C:UsersAdministrator>you-get "https://www.bilibili.com/video/BV1XE411w7aT?from=search&seid=8580492291867094357"
    site:                Bilibili
    title:               用python下载视频,you-get
    stream:
        - format:        flv
          container:     flv
          quality:       高清 1080P
          size:          49.6 MiB (52008009 bytes)
        # download-with: you-get --format=flv [URL]
    
    Downloading 用python下载视频,you-get.flv ...
     100% ( 49.6/ 49.6MB) ├████████████████████████████████████████┤[1/1]  431 kB/s
    
    Downloading 用python下载视频,you-get.cmt.xml ...
    
    # 3、验证下载的文件,默认为以当前路径下
    C:UsersAdministrator>
        
        
    

    1587620915675

  • 相关阅读:
    单调队列
    Johnson全源最短路
    重链剖分
    矩阵快速幂
    Tarjan
    题解 UVA439 骑士的移动 Knight Moves
    题解 SP10500 HAYBALE
    题解 P4058 [Code+#1]木材
    题解 P3395 路障
    题解 SP24 FCTRL2
  • 原文地址:https://www.cnblogs.com/chenfei2928/p/12760332.html
Copyright © 2011-2022 走看看