视频下载

# !/usr/bin/env python
# -*-coding:utf-8-*-
"""
@Author  : xiaofeng
@Time    : 2018/12/25 10:26
@Desc : Less interests,More interest.
@Project : python_appliction
@FileName: you-get.py
@Software: PyCharm
@Blog    :https://blog.csdn.net/zwx19921215
"""
import sys
import you_get
 
 
def download(url, path):
    sys.argv = ['you-get', '-o', path, url]
    you_get.main()
 
 
if __name__ == '__main__':
    # 视频网站的地址
    url = 'https://www.bilibili.com/bangumi/play/ep118488?from=search&seid=5050973611974373611'
    # 视频输出的位置
    path = 'G:/test'
    download(url, path)
————————————————
版权声明:本文为CSDN博主「Garry1115」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/zwx19921215/article/details/85249676

  

posted @ 2020-02-02 21:53  知一以天  阅读(230)  评论(0编辑  收藏  举报