• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

Recommended Posts

视频简单下载

导入请求

URL=' https://SOD。布恩DIY。com/20220413/liden 1sp/index。m3 u8 '

# https://sod.bunediy.com/20220413/liDEn1sp/index.m3u8

reps=requests.get(url)

#下载文件

带有打开(' 1.m3u8 ',模式='wb ')作为f:

f。写(重复内容)

reps.close()

# 读取文件

n=1

用打开(' 1.m3u8 ',模式='r ',编码='utf-8 ')作为f:

#读取每行数据

对于f:中的线路

line=line.strip() #去掉多余的空格,换行

if line.startswith('#'):

继续

#打印(行)#拿到多有全球资源定位器(统一资源定位器)

#下载片段

resp2=requests.get(行)

f=open(f'video/{n}).' png ',mode='wb ')

f.write(resp2.content)

f.close()

resp2.close()

n=1

打印('完成一个)

视频做加密处理,未解密

Link to comment
Share on other sites