# from you_get import common
# common.any_download(url='https://www.bilibili.com/video/av25805649/?spm_id_from=333.788.videocard.6',stream_id='mp4',info_only=False,output_dir=r'C:\Users\mgxx\Desktop',merge=True)
import requests
import re
import os
headers={
'Referer': 'https://www.bilibili.com/',
'User-Agent': 'Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Mobile Safari/537.36'
}
url='https://space.bilibili.com/ajax/member/getSubmitVideos?mid=77180504&pagesize=30&tid=0&page=4'
response=requests.get(url,headers=headers)
dict=response.json()
# print(dict['data']['vlist'])
for list in dict['data']['vlist']:
aid=list['aid']
title=list['title']
os.system('you-get -o C:/Users/mgxx/Desktop/B站 https://www.bilibili.com/video/av{}'.format(aid))