下载b站视频
程序员文章站
2024-03-22 18:20:46
...
import sys
import you_get
def download(url,path):
sys.argv=['you-get','-o',path,url]
you_get.main()
if __name__=='__main__':
start_url='https://www.bilibili.com/video/av9784617?p='
path = 'Q:/test/project'
for i in range(1,22,1):
url=start_url +str(1)
download(url,path)