当前位置:网站首页>requests之防盗链学习

requests之防盗链学习

2022-08-09 08:06:00 星星本来就很美

分析理解:

1.拿到contId

2.拿到videoStatus返回的json --> srcURL

3.srcURL里面的内容进行修整

4.下载视频 

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA5pif5pif5pys5p2l5bCx5b6I576O,size_15,color_FFFFFF,t_70,g_se,x_16

 watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA5pif5pif5pys5p2l5bCx5b6I576O,size_20,color_FFFFFF,t_70,g_se,x_16

防盗链具体看浏览器返回的数据

watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA5pif5pif5pys5p2l5bCx5b6I576O,size_12,color_FFFFFF,t_70,g_se,x_16

 watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA5pif5pif5pys5p2l5bCx5b6I576O,size_16,color_FFFFFF,t_70,g_se,x_16

 watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA5pif5pif5pys5p2l5bCx5b6I576O,size_15,color_FFFFFF,t_70,g_se,x_16

 watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA5pif5pif5pys5p2l5bCx5b6I576O,size_12,color_FFFFFF,t_70,g_se,x_16

 11e55ffcabcf4575ad1fa812d17e106d.png

原网站

版权声明
本文为[星星本来就很美]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_53155105/article/details/124394359