zoukankan      html  css  js  c++  java
  • 视频相关的hls协议、VLC播放器、m3u文件的播放

    前言

    今天在观看视频的过程中,fiddler抓包看了一下请求,发现请求中无cookie相关的参数,心中窃喜,我是不是可以通过请求来访问这个视频呢?

    于是复制请求地址,在浏览器打开,what?

    1.不能使用浏览器直接打开(可以使用windows自带的播放软件打开);2.打开没有头像;3.而且只有几s就结束了;4.可以另存为.ts格式的文件;5.视频文件格式:video/mp2t;

    参考:https://www.it1352.com/343346.html  ,百度如何播放,提到了HLS协议、VLC播放器;

    HLS是Apple的动态码率自适应技术。包括一个m3u的索引文件,TS媒体分片文件和key加密串文件;

     那就看一看响应结果,EXTM3U格式的文件

    百度结果:m3u文件格式,本质上说不是音频文件,它是音频文件的列表文件,是纯文本文件;你下载下来打开它,播放软件并不是播放它,而是根据它的记录找到网络地址进行在线播放。

    百度到VLC功能强大

    VLC如何播放m3u格式的文件呢? 就是如下图,VLC——>媒体中打开m3u格式的文件 (可随意命名文件)

    可是我明明添加了文件,却不播放,fiddler对比查看请求发现,没有请求协议,域名之类的,尝试手动添加一个,发现可以播放了,大喜~

     那如何播放多个文件呢,肯定是通过请求,好吧一个一个找;终于找到了所有章节的hls;然后通过拼接。。。可以播放了

    #coding=utf-8
    a={"errcode":0,"errmsg":"操作成功","data":{"id":"5071","subject_id":"22","subject_name":"初级会计实务","profession_id":"4","profession_name":"初级会计职称","course_name":"《初级会计实务》(22年课程待更新)","cover_url":"/public/image/1a558178dc26279217bc09f02cb90925.jpg","is_free":1,"product_id":"2017001000032","is_purchased":"2","teacher_id":"27","teacher_name":"孔杰","year":"2021","freeze_status":"0","domains":[{"d":"vod.zlketang.com","t":2,"k":"a_v"}],"videos":[{"course_section_id":"19730","name":"前言","subtitle":"","first_dir_id":"8058","first_dir_name":"前言","duration":"1272","is_free":"0","video_id":"21690","alivid":"99db096d26a6448fa2c1bf49803614cd","hls":"http://a.com/03131334vodsh1253769091/8d79f21d5285890818298372766/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_6837_1000&sign=e537bdfe7009dd1d3ab821107631b7f1"},{"course_section_id":"19745","name":"第一节 会计概念、职能和目标(1)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"2137","is_free":"0","video_id":"16880","alivid":"bd52723c90b749e790e4f28170c087be","hls":"http://a.com/03131334vodsh1253769091/ee051fc85285890810330288355/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_2646_1000&sign=49b52e29c904c849cf4d493a2b73e33c"},{"course_section_id":"19746","name":"第一节 会计概念、职能和目标(2)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"1899","is_free":"0","video_id":"16881","alivid":"55a12f10d3304f0a929e0a24eb75639d","hls":"http://a.com/03131334vodsh1253769091/23e730aa5285890810334335828/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_6129_1000&sign=e00b9062abec6fa18931c4cdf6f9e97f"},{"course_section_id":"19747","name":"第二节 会计基本假设、会计基础和会计信息质量要求(1)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"2481","is_free":"0","video_id":"16882","alivid":"383caf20604048f9aed57a1e87bc354d","hls":"http://a.com/03131334vodsh1253769091/effbeebd5285890810330331157/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_6826_1000&sign=62f3a002c30d03496851bd1d58aec6a4"},{"course_section_id":"19748","name":"第二节 会计基本假设、会计基础和会计信息质量要求(2)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"1262","is_free":"0","video_id":"16899","alivid":"29112ac1e0c5441c961352b21f92821a","hls":"http://a.com/03131334vodsh1253769091/781b6b615285890810437003472/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_7035_1000&sign=47c67ad846dfe32dbfec46376b8b1d49"},{"course_section_id":"19749","name":"第二节 会计基本假设、会计基础和会计信息质量要求(3)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"2422","is_free":"0","video_id":"16902","alivid":"4111fef8dce34624bfd62e9052d3b5e0","hls":"http://a.com/03131334vodsh1253769091/ace6ad125285890810465498443/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_3111_1000&sign=cb8eaa9436ac8c8445ca1888854cb7f0"},{"course_section_id":"19750","name":"第三节 会计要素及其确认与计量(1)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"2045","is_free":"0","video_id":"16903","alivid":"d57d8310740d4dc3a6d2ac08f3772db7","hls":"http://a.com/03131334vodsh1253769091/053efb855285890810466952110/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_9314_1000&sign=4692e2d3eb1c26a160fae4d5038fd716"},{"course_section_id":"19829","name":"第三节 会计要素及其确认与计量(2)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"1896","is_free":"0","video_id":"16942","alivid":"3ee3a0abf3a84e78b10907df67bc76dd","hls":"http://a.com/03131334vodsh1253769091/bea331fa5285890810540090122/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_3671_1000&sign=a0a38fc5a8b783dd21078e5d9bdbf95b"},{"course_section_id":"19830","name":"第三节 会计要素及其确认与计量(3)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"1513","is_free":"0","video_id":"16943","alivid":"798e7fcbd47d497a9c5e4159d703be67","hls":"http://a.com/03131334vodsh1253769091/5ac6b5485285890810423177724/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_9271_1000&sign=fffb16635806b7eb17e2981f1f973006"},{"course_section_id":"19870","name":"第四节 会计科目和借贷记账法(1)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"2115","is_free":"0","video_id":"16953","alivid":"858dbfc3fea94a43aa324dd2ea234815","hls":"http://a.com/03131334vodsh1253769091/4350d9ae5285890810681829801/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_2325_1000&sign=e887c1ac5218871aead78f6ede010be6"},{"course_section_id":"19871","name":"第四节 会计科目和借贷记账法(2)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"2324","is_free":"0","video_id":"16954","alivid":"27b0bb15821848a4b621ee29418db7a1","hls":"http://a.com/03131334vodsh1253769091/7de886ad5285890810682066671/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_3264_1000&sign=11f673bc086a0939f75eda448e95cd05"},{"course_section_id":"19888","name":"第四节 会计科目和借贷记账法(3)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"1743","is_free":"0","video_id":"16968","alivid":"61f900a53dc5420fbbcf81c1cdac86cc","hls":"http://a.com/03131334vodsh1253769091/fcba6dfa5285890810768961738/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_1393_1000&sign=33be0110fc7c3df2feb5b5468a62e0a1"},{"course_section_id":"19889","name":"第四节 会计科目和借贷记账法(4)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"2800","is_free":"0","video_id":"16969","alivid":"2f4bd29eec8b4bc8a72ed29526f4c3a4","hls":"http://a.com/03131334vodsh1253769091/fc9854f05285890810768945132/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_9595_1000&sign=41d557a634205b62b7d5cfde955cda21"},{"course_section_id":"19939","name":"第四节 会计科目和借贷记账法(5)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"1841","is_free":"0","video_id":"17014","alivid":"f4218c631b7445dfb9e7ce3eb52509cb","hls":"http://a.com/03131334vodsh1253769091/3b8805325285890810888336641/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_1589_1000&sign=87c94b091ad349b0db881a8e717f9187"},{"course_section_id":"19941","name":"第四节 会计科目和借贷记账法(6)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"3118","is_free":"0","video_id":"17016","alivid":"10546f9cdaa9407993cba7e56edb3bcb","hls":"http://a.com/03131334vodsh1253769091/abfc65115285890810893594260/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_9234_1000&sign=9b66cc344d4b2db6f80d85acd22f8a69"},{"course_section_id":"19949","name":"第四节 会计科目和借贷记账法(7)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"1703","is_free":"0","video_id":"17029","alivid":"ea9b2d43ba054ce5bc22bcdc92be6cbe","hls":"http://a.com/03131334vodsh1253769091/5e8e65e15285890811005860127/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_1855_1000&sign=d43e249221d4f60fe75af0c1c77f7140"},{"course_section_id":"19950","name":"第五节 会计凭证、会计账簿与账务处理程序(1)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"3445","is_free":"0","video_id":"17031","alivid":"dfd586dcae8e493b9f594412f9b116a6","hls":"http://a.com/03131334vodsh1253769091/145c7e8c5285890810891693005/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_4419_1000&sign=bfda3e39d8cd9b5d8e76a744b9840624"},{"course_section_id":"19951","name":"第五节 会计凭证、会计账簿与账务处理程序(2)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"1756","is_free":"0","video_id":"17032","alivid":"61c9780b464743a7a1be0ef9936273db","hls":"http://a.com/03131334vodsh1253769091/145c834d5285890810891693141/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_5826_1000&sign=8d5a6d8a870529d791aa015ae93031e1"},{"course_section_id":"19975","name":"第五节 会计凭证、会计账簿与账务处理程序(3)","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"1577","is_free":"0","video_id":"17777","alivid":"20daba147d14456ba9fda529efb9b9a1","hls":"http://a.com/03131334vodsh1253769091/5312e6065285890813117227813/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_4089_1000&sign=d43189b9a8fa5733c2dd79b4b4d9c067"},{"course_section_id":"19976","name":"第六节 财产清查","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"1480","is_free":"0","video_id":"17324","alivid":"d4721960cc9b4041a39a52a91d3f3fcc","hls":"http://a.com/03131334vodsh1253769091/b0038cb25285890812166973238/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7186_1000&sign=b6bbcf984d2a50152c3ab321a894c914"},{"course_section_id":"20319","name":"第七节 财务报告","subtitle":"","first_dir_id":"8116","first_dir_name":"第一章 会计概述","duration":"173","is_free":"0","video_id":"17325","alivid":"16d60c301c7d4ed8879eff4bb4da64e2","hls":"http://a.com/03131334vodsh1253769091/952af91d5285890812295659884/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7669_1000&sign=af7fc9d8031b2dd0d0dafbd7c8f96780"},{"course_section_id":"19999","name":"第一节 货币资金(1)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"1888","is_free":"0","video_id":"17077","alivid":"df61b826e0e64affbe3861c960e8756f","hls":"http://a.com/03131334vodsh1253769091/e14905d95285890811184589855/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_9926_1000&sign=f336102d983e90db3d3f7dcc29acdc31"},{"course_section_id":"20010","name":"第一节 货币资金(2)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"1262","is_free":"0","video_id":"17088","alivid":"94fa95b54f9245288a7798c4510e22f0","hls":"http://a.com/03131334vodsh1253769091/f2438f905285890811309963671/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_1755_1000&sign=7d9875df76b79c2f195c060b90c7cbc6"},{"course_section_id":"20020","name":"第二节 应收及预付款项(1)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"1420","is_free":"0","video_id":"17101","alivid":"efc4d47b5a5a43f985377f5672ca43db","hls":"http://a.com/03131334vodsh1253769091/bd6c2ab55285890811394870774/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_6585_1000&sign=2c60b238ae4d421b6d7f30094fdd687b"},{"course_section_id":"20092","name":"第二节 应收及预付款项(2)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"1929","is_free":"0","video_id":"17131","alivid":"f0cc45b1e8684bb6a5019c5487521d7e","hls":"http://a.com/03131334vodsh1253769091/ff1627085285890811480073464/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_4036_1000&sign=ff041be8dbb7698a75537eb06ccf2ae0"},{"course_section_id":"20093","name":"第二节 应收及预付款项(3)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"1094","is_free":"0","video_id":"17132","alivid":"6708f55bd75242949a3f22254499e6dc","hls":"http://a.com/03131334vodsh1253769091/f153ae095285890811483522742/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7490_1000&sign=c0020efe0e985aaa9ce30fb0b8fc52e4"},{"course_section_id":"20102","name":"第二节 应收及预付款项(4)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"2429","is_free":"0","video_id":"17141","alivid":"4f9375c5c23a4cc9a4bdf64d439ee68a","hls":"http://a.com/03131334vodsh1253769091/2e0826555285890811602687785/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7601_1000&sign=fb1cf97535369a8f85b5fa843e61482d"},{"course_section_id":"20187","name":"第三节 交易性金融资产(1)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"1593","is_free":"0","video_id":"17182","alivid":"9fc44bb0c1e44db4ba2465d9de17b523","hls":"http://a.com/03131334vodsh1253769091/010ea0fa5285890811700311451/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7126_1000&sign=1c211a06eb745af61e34098ffddd7357"},{"course_section_id":"20206","name":"第三节 交易性金融资产(2)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"1827","is_free":"0","video_id":"17209","alivid":"019f6661535e48c9989ed02ba48f9229","hls":"http://a.com/03131334vodsh1253769091/1a2d06ca5285890811789402413/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_4437_1000&sign=bda1395818d6297fdd678438ec4491ae"},{"course_section_id":"20228","name":"第三节 交易性金融资产(3)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"3108","is_free":"0","video_id":"18585","alivid":"6f3e21f2fb0c45649b74c96990c8957b","hls":"http://a.com/03131334vodsh1253769091/613f7c575285890814396784803/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_8039_1000&sign=f023a04661e8947ab1b0e75fbeae87c6"},{"course_section_id":"20269","name":"第四节 存货(1)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"3712","is_free":"0","video_id":"17274","alivid":"2957fc15fa81401fa8546b020c6c289b","hls":"http://a.com/03131334vodsh1253769091/4355e8b15285890812056438648/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_6822_1000&sign=b1f388a0798c915a7dd0cdf52518b524"},{"course_section_id":"20288","name":"第四节 存货(2)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"2429","is_free":"0","video_id":"17289","alivid":"66bbfc3ee00c4ee99d9a6a392c560418","hls":"http://a.com/03131334vodsh1253769091/04609c275285890812093075550/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_6213_1000&sign=039447329e05649a17ece17361f69277"},{"course_section_id":"20299","name":"第四节 存货(3)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"1108","is_free":"0","video_id":"17301","alivid":"ddb1db8eed8c4ae9903535dab881cbdc","hls":"http://a.com/03131334vodsh1253769091/26ea23f45285890812249429728/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_1738_1000&sign=68b5d163796690dcf1b0f788a77fd2e5"},{"course_section_id":"20348","name":"第四节 存货(4)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"2679","is_free":"0","video_id":"17353","alivid":"f6da8f9b559d44fe8382df24c540150f","hls":"http://a.com/03131334vodsh1253769091/9932ce465285890812349344312/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7610_1000&sign=502f1c0c5aa546d4d5bf02ae3652a9d2"},{"course_section_id":"20349","name":"第四节 存货(5)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"1098","is_free":"0","video_id":"17354","alivid":"9b7dd306e19249ae9483c023cafb0f07","hls":"http://a.com/03131334vodsh1253769091/98fad7845285890812349311145/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_1544_1000&sign=f1d2025f312a2e10c504164e3e1b8563"},{"course_section_id":"20403","name":"第四节 存货(6)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"2961","is_free":"0","video_id":"17415","alivid":"c4ed684f82cc4a22bfbe41c9f7fb5e04","hls":"http://a.com/03131334vodsh1253769091/e1c893b85285890812452493798/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_1637_1000&sign=4edef7dd8101ed4669d530a9195a68dc"},{"course_section_id":"20406","name":"第四节 存货(7)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"3088","is_free":"0","video_id":"17418","alivid":"c4d7841d2d6842e6b25f6ee1db55152c","hls":"http://a.com/03131334vodsh1253769091/1302ffcd5285890812456345832/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_5089_1000&sign=c84ce2ecfcdd53add5e7608afcf8900a"},{"course_section_id":"20431","name":"第五节 固定资产(1)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"2725","is_free":"0","video_id":"17445","alivid":"e56838618e004bb8b4ed87ef2a5dd8e9","hls":"http://a.com/03131334vodsh1253769091/151627ef5285890812575406609/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7432_1000&sign=b5492e658744263d9d34d4180ea8f895"},{"course_section_id":"20432","name":"第五节 固定资产(2)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"1488","is_free":"0","video_id":"17446","alivid":"c4fdf0942caf4c1698a428a606ee66e9","hls":"http://a.com/03131334vodsh1253769091/1512c96a5285890812575400187/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_5260_1000&sign=eaaeb1798f3a26ed246937bfda700a66"},{"course_section_id":"20433","name":"第五节 固定资产(3)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"1961","is_free":"0","video_id":"17447","alivid":"55a2820a72ac4f3ca927040309f17806","hls":"http://a.com/03131334vodsh1253769091/176a1ec75285890812575504044/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_6575_1000&sign=d373f340e9b4b4b530e0a114f3a951f9"},{"course_section_id":"20470","name":"第五节 固定资产(4)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"1692","is_free":"0","video_id":"17484","alivid":"3f436bb4b9ec428b81178b7a81b47485","hls":"http://a.com/03131334vodsh1253769091/07eb3bcd5285890812656880331/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7177_1000&sign=86acb225de421d801764a303272dda64"},{"course_section_id":"20471","name":"第五节 固定资产(5)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"2045","is_free":"0","video_id":"17485","alivid":"fc5f4941c15a4bb282019978e94ece2a","hls":"http://a.com/03131334vodsh1253769091/41d251435285890812657025005/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_8512_1000&sign=a77d3dd33708535551b64139004b8741"},{"course_section_id":"20472","name":"第五节 固定资产(6)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"2064","is_free":"0","video_id":"17486","alivid":"c22dbde621a5468dab579a39981808ba","hls":"http://a.com/03131334vodsh1253769091/41afce6b5285890812657008246/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_3104_1000&sign=732e129b35786a3657db07d8ec10365b"},{"course_section_id":"20513","name":"第五节 固定资产(7)","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"1858","is_free":"0","video_id":"17871","alivid":"313fd9f4ac714523b0b49849b93e752e","hls":"http://a.com/03131334vodsh1253769091/0388de015285890813313034247/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_4499_1000&sign=09d443d232f3f450008d909c5e27abb5"},{"course_section_id":"20514","name":"第六节 无形资产和长期待摊费用","subtitle":"","first_dir_id":"8109","first_dir_name":"第二章 资产","duration":"2142","is_free":"0","video_id":"17530","alivid":"4165aa7384d84b739f4616b8c68e737c","hls":"http://a.com/03131334vodsh1253769091/27c5bd555285890812748781508/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_3694_1000&sign=88406c96126a3d0beb68bb9b30caa5f2"},{"course_section_id":"20515","name":"第一节 短期借款","subtitle":"","first_dir_id":"8110","first_dir_name":"第三章 负债","duration":"1327","is_free":"0","video_id":"17531","alivid":"09583e7e93524952b74f943aa473c500","hls":"http://a.com/03131334vodsh1253769091/29f749d55285890812748862706/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_6781_1000&sign=665e0fa61f1be6e93fcf1c8e5d96f57e"},{"course_section_id":"20616","name":"第二节 应付及预收款项","subtitle":"","first_dir_id":"8110","first_dir_name":"第三章 负债","duration":"2964","is_free":"0","video_id":"17639","alivid":"848989065b4e40699249d4e3939fc921","hls":"http://a.com/03131334vodsh1253769091/e07c6a5b5285890812897224778/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_5345_1000&sign=2b1f166ac2a15972c153ad0127ae5683"},{"course_section_id":"20628","name":"第三节 应付职工薪酬(1)","subtitle":"","first_dir_id":"8110","first_dir_name":"第三章 负债","duration":"2106","is_free":"0","video_id":"17650","alivid":"d163cc478d7c48c4a7e3cfc5fbfd33d2","hls":"http://a.com/03131334vodsh1253769091/226a46635285890812904376001/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_5710_1000&sign=3e18a7fc97ef3fba3ea841b6b699dc9f"},{"course_section_id":"20651","name":"第三节 应付职工薪酬(2)","subtitle":"","first_dir_id":"8110","first_dir_name":"第三章 负债","duration":"2103","is_free":"0","video_id":"17675","alivid":"57714aa1e9e74a1d99cf2c4811b3059e","hls":"http://a.com/03131334vodsh1253769091/689bd0305285890812970522198/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7492_1000&sign=9a77c4f94e9e30f02eaba6335904851d"},{"course_section_id":"20652","name":"第三节 应付职工薪酬(3)","subtitle":"","first_dir_id":"8110","first_dir_name":"第三章 负债","duration":"1798","is_free":"0","video_id":"17676","alivid":"eb4dddd87f76447b9fa12cd2441446b6","hls":"http://a.com/03131334vodsh1253769091/689dfc425285890812970526000/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_9573_1000&sign=c0fa9b9c1148df177e320ab812eb6a89"},{"course_section_id":"20653","name":"第四节 应交税费(1)","subtitle":"","first_dir_id":"8110","first_dir_name":"第三章 负债","duration":"2511","is_free":"0","video_id":"17746","alivid":"4ec18f96b93341a685279e8ef4f5a214","hls":"http://a.com/03131334vodsh1253769091/0b5993585285890813079619954/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7540_1000&sign=af527597b2e626c6f2779ad8d4a4bc33"},{"course_section_id":"20654","name":"第四节 应交税费(2)","subtitle":"","first_dir_id":"8110","first_dir_name":"第三章 负债","duration":"2582","is_free":"0","video_id":"17678","alivid":"9f5353ea57454e17bf54ef139b77f60b","hls":"http://a.com/03131334vodsh1253769091/6b14bb365285890812970641895/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_4468_1000&sign=0c44151509f3ed8be330a8347076f5a4"},{"course_section_id":"20719","name":" 第四节 应交税费(3)","subtitle":"","first_dir_id":"8110","first_dir_name":"第三章 负债","duration":"1625","is_free":"0","video_id":"17755","alivid":"ed3dee38cb364e10b5bf3d17a204c20c","hls":"http://a.com/03131334vodsh1253769091/c63de7565285890813085749951/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_1589_1000&sign=562990f43f5f814f16150d8dce39b040"},{"course_section_id":"20720","name":"第四节 应交税费(4)","subtitle":"","first_dir_id":"8110","first_dir_name":"第三章 负债","duration":"1917","is_free":"0","video_id":"17756","alivid":"4e47492d3e0b4044bb59cfac6befaef4","hls":"http://a.com/03131334vodsh1253769091/c86c21175285890813085824958/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_6499_1000&sign=dda9bf0b6dc3a5239872cc1ccfbfa30a"},{"course_section_id":"20721","name":"第四节 应交税费(5)","subtitle":"","first_dir_id":"8110","first_dir_name":"第三章 负债","duration":"2934","is_free":"0","video_id":"17757","alivid":"0e31092c83ca4b2bb8dd203d1bb70e5a","hls":"http://a.com/03131334vodsh1253769091/c698505b5285890813085799519/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_3304_1000&sign=0762bbe382940d78c44cc7bbe91aeb45"},{"course_section_id":"20722","name":"第四节 应交税费(6)","subtitle":"","first_dir_id":"8110","first_dir_name":"第三章 负债","duration":"2257","is_free":"0","video_id":"17758","alivid":"7f56a523b93241c3a08c5157f98aeff3","hls":"http://a.com/03131334vodsh1253769091/67e4348a5285890813060509079/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_8491_1000&sign=2edb39fc8a39d3bff75965df5a30e142"},{"course_section_id":"20723","name":"第四节 应交税费(7)","subtitle":"","first_dir_id":"8110","first_dir_name":"第三章 负债","duration":"1239","is_free":"0","video_id":"17759","alivid":"59abcbb287bc419bbe4b68b63303082e","hls":"http://a.com/03131334vodsh1253769091/cb0ac47b5285890813085966955/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_3509_1000&sign=fe1852891671cfc6c31f906b60974cdb"},{"course_section_id":"20733","name":"第一节 实收资本或股本(1)","subtitle":"","first_dir_id":"8111","first_dir_name":"第四章 所有者权益","duration":"2947","is_free":"0","video_id":"17769","alivid":"01676bcce5d84220b3a4f77a439ef52e","hls":"http://a.com/03131334vodsh1253769091/d4a6ca005285890813112343381/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_3057_1000&sign=248424a1ffbb4235bd901562355ac2ea"},{"course_section_id":"20734","name":"第一节 实收资本或股本(2)","subtitle":"","first_dir_id":"8111","first_dir_name":"第四章 所有者权益","duration":"961","is_free":"0","video_id":"17770","alivid":"2924fdd6c7174e048480933e10c81c59","hls":"http://a.com/03131334vodsh1253769091/d483be235285890813112325654/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_8972_1000&sign=f46d396fd2145b6926c1ccc8861ccc54"},{"course_section_id":"20735","name":"第二节 资本公积","subtitle":"","first_dir_id":"8111","first_dir_name":"第四章 所有者权益","duration":"408","is_free":"0","video_id":"17771","alivid":"71b323ebaae24cde8939488a5194dff2","hls":"http://a.com/03131334vodsh1253769091/d4a98f5f5285890813112348501/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_3972_1000&sign=426e902e988b6b849d52bc7d15f52dbb"},{"course_section_id":"20736","name":"第三节 留存收益","subtitle":"","first_dir_id":"8111","first_dir_name":"第四章 所有者权益","duration":"3311","is_free":"0","video_id":"17900","alivid":"b03bef007c4c4dac9e46da7a43fd49f7","hls":"http://a.com/03131334vodsh1253769091/d9bdad705285890813367280862/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_3069_1000&sign=fdf1f4404aef94fef0fdd7cb91423c60"},{"course_section_id":"20802","name":"第一节 收入(1)","subtitle":"","first_dir_id":"8112","first_dir_name":"第五章 收入、费用和利润","duration":"3208","is_free":"0","video_id":"17849","alivid":"9489e01ee078466680f0a278a4e438ac","hls":"http://a.com/03131334vodsh1253769091/51b0e7895285890813284017049/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_1574_1000&sign=8062e2f5a70953e31c6d03395ed6de0f"},{"course_section_id":"20803","name":"第一节 收入(2)","subtitle":"","first_dir_id":"8112","first_dir_name":"第五章 收入、费用和利润","duration":"1640","is_free":"0","video_id":"17850","alivid":"fed3e474d7c94886bc913f7a7793ad6e","hls":"http://a.com/03131334vodsh1253769091/51fa62eb5285890813284059090/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7272_1000&sign=d5c96f6b6d3dfd5de77fd0859f257f3f"},{"course_section_id":"20804","name":"第一节 收入(3)","subtitle":"","first_dir_id":"8112","first_dir_name":"第五章 收入、费用和利润","duration":"2187","is_free":"0","video_id":"17851","alivid":"39830434a8cd4c8d901a2c0cadb91a1a","hls":"http://a.com/03131334vodsh1253769091/53f4094a5285890813284107491/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_9967_1000&sign=0652052ab633547d03143a08dd46b5b9"},{"course_section_id":"20805","name":"第一节 收入(4)","subtitle":"","first_dir_id":"8112","first_dir_name":"第五章 收入、费用和利润","duration":"1441","is_free":"0","video_id":"17852","alivid":"68bdb4d435d249ca8ca73b307dd1d1a4","hls":"http://a.com/03131334vodsh1253769091/540735a85285890813284119342/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_8665_1000&sign=17bd77a7d67ac042ee9eb91307304ef6"},{"course_section_id":"20806","name":"第一节 收入(5)","subtitle":"","first_dir_id":"8112","first_dir_name":"第五章 收入、费用和利润","duration":"3152","is_free":"0","video_id":"17853","alivid":"895b5a9e932d47c0ad432a3e71315051","hls":"http://a.com/03131334vodsh1253769091/566c416a5285890813284225274/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_8868_1000&sign=ca0f83cac69286a82ebcc3041a2d6435"},{"course_section_id":"20807","name":"第二节 费用","subtitle":"","first_dir_id":"8112","first_dir_name":"第五章 收入、费用和利润","duration":"2369","is_free":"0","video_id":"17854","alivid":"7a57e941d2d94e4292095e7f13218511","hls":"http://a.com/03131334vodsh1253769091/56b4b0715285890813284265592/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_9659_1000&sign=91f6803f65a21b79c2fff25120e52aec"},{"course_section_id":"20808","name":"第三节 利润(1)","subtitle":"","first_dir_id":"8112","first_dir_name":"第五章 收入、费用和利润","duration":"2313","is_free":"0","video_id":"17855","alivid":"4e2f229f4bd44b23bdb891b5582750c9","hls":"http://a.com/03131334vodsh1253769091/58afd92a5285890813284316138/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_7240_1000&sign=f50b197b41beb7f0c3ec984e31886e53"},{"course_section_id":"20809","name":"第三节 利润(2)","subtitle":"","first_dir_id":"8112","first_dir_name":"第五章 收入、费用和利润","duration":"3550","is_free":"0","video_id":"17856","alivid":"db80e7c21e354ae4a41e4a070faae50c","hls":"http://a.com/03131334vodsh1253769091/58e369055285890813284341234/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_8037_1000&sign=91249807689f6ddbb6de94d1c4d5b10c"},{"course_section_id":"20810","name":"第三节 利润(3)","subtitle":"","first_dir_id":"8112","first_dir_name":"第五章 收入、费用和利润","duration":"966","is_free":"0","video_id":"17858","alivid":"3cb31fd256094d2e8b387c460465b7ac","hls":"http://a.com/03131334vodsh1253769091/5b062fd05285890813284418636/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_8270_1000&sign=352a27e6f65ab1b4f8cb917381f458f0"},{"course_section_id":"20829","name":"第一节 资产负债表","subtitle":"","first_dir_id":"8113","first_dir_name":"第六章 财务报表","duration":"1992","is_free":"0","video_id":"17882","alivid":"9984ea1299cb43abb07923035ee6d1bb","hls":"http://a.com/03131334vodsh1253769091/bb8e899d5285890813353332004/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_9222_1000&sign=0d40941f6357b08f589b270df02c2de1"},{"course_section_id":"20830","name":"第二节 利润表","subtitle":"","first_dir_id":"8113","first_dir_name":"第六章 财务报表","duration":"850","is_free":"0","video_id":"17883","alivid":"d4683fa57cd348e4be41e8b4e30ad754","hls":"http://a.com/03131334vodsh1253769091/bb5a8b625285890813353306620/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_2430_1000&sign=32853ad9147fdc62755a22d65e7b6204"},{"course_section_id":"20831","name":"第三节 所有者权益变动表","subtitle":"","first_dir_id":"8113","first_dir_name":"第六章 财务报表","duration":"143","is_free":"0","video_id":"17884","alivid":"92f7236d417f442cbaad331f2c79be9a","hls":"http://a.com/03131334vodsh1253769091/bdd134075285890813353421933/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_8031_1000&sign=1fbe46ef79c11d669a6acd0bff535900"},{"course_section_id":"20832","name":"第四节 附注","subtitle":"","first_dir_id":"8113","first_dir_name":"第六章 财务报表","duration":"273","is_free":"0","video_id":"17885","alivid":"a37ca52a46fb47ec93aeb6045b0d8b68","hls":"http://a.com/03131334vodsh1253769091/bbd8a7365285890813353375598/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_6443_1000&sign=d39035f2fd906014b0d41a85f5d1e522"},{"course_section_id":"21018","name":"第一节 管理会计概述","subtitle":"","first_dir_id":"8114","first_dir_name":"第七章 管理会计基础","duration":"2283","is_free":"0","video_id":"18099","alivid":"449cef27b22348d29d2d4bc20c5025fb","hls":"http://a.com/03131334vodsh1253769091/19b0d8085285890813480854014/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_1757_1000&sign=1ec09a28ac8bda7c483fc9bc73d4d240"},{"course_section_id":"21019","name":"第二节 产品成本核算的要求和一般程序","subtitle":"","first_dir_id":"8114","first_dir_name":"第七章 管理会计基础","duration":"2371","is_free":"0","video_id":"18506","alivid":"7f2c155bdad74a318938bfeb3639159f","hls":"http://a.com/03131334vodsh1253769091/542a3fa35285890813820263215/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_8963_1000&sign=43fc502c334c33b4b59d54fb53e75da9"},{"course_section_id":"21020","name":"第三节 产品成本的归集和分配(1)","subtitle":"","first_dir_id":"8114","first_dir_name":"第七章 管理会计基础","duration":"2094","is_free":"0","video_id":"18101","alivid":"60c7a1ba54834d5da367817b7d1071d6","hls":"http://a.com/03131334vodsh1253769091/1bbed5705285890813480916734/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_7968_1000&sign=02e47d12fec7b9304df6412ccd5a5058"},{"course_section_id":"21021","name":"第三节 产品成本的归集和分配(2)","subtitle":"","first_dir_id":"8114","first_dir_name":"第七章 管理会计基础","duration":"1646","is_free":"0","video_id":"18102","alivid":"f60a09b366c1444eb32d256c2867752b","hls":"http://a.com/03131334vodsh1253769091/53b877465285890813481012835/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_8928_1000&sign=82be9199008ef97246cc6a35e2970dbd"},{"course_section_id":"21022","name":"第三节 产品成本的归集和分配(3)","subtitle":"","first_dir_id":"8114","first_dir_name":"第七章 管理会计基础","duration":"2060","is_free":"0","video_id":"18103","alivid":"caa7d7ab828042e1939ae4b851caa32a","hls":"http://a.com/03131334vodsh1253769091/53f164e55285890813481047214/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_2794_1000&sign=7c06df92f469e9049daa563bc9ac3a1e"},{"course_section_id":"21023","name":"第三节 产品成本的归集和分配(4)","subtitle":"","first_dir_id":"8114","first_dir_name":"第七章 管理会计基础","duration":"1380","is_free":"0","video_id":"18104","alivid":"2f53098b303e4235ac9d3179af24fe0b","hls":"http://a.com/03131334vodsh1253769091/55fd180b5285890813481105396/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_7477_1000&sign=32ca0302366dfe0799a6a665fe1eb14c"},{"course_section_id":"21024","name":"第三节 产品成本的归集和分配(5)","subtitle":"","first_dir_id":"8114","first_dir_name":"第七章 管理会计基础","duration":"1967","is_free":"0","video_id":"18105","alivid":"f8d213bfab4746beb96b409721e99965","hls":"http://a.com/03131334vodsh1253769091/562037a35285890813481123505/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_9727_1000&sign=51b84cb9f04aa18d3df8573cc25bf9d7"},{"course_section_id":"21025","name":"第三节 产品成本的归集和分配(6)","subtitle":"","first_dir_id":"8114","first_dir_name":"第七章 管理会计基础","duration":"2363","is_free":"0","video_id":"18106","alivid":"28e55d1674c54388889f3c090ec04b0a","hls":"http://a.com/03131334vodsh1253769091/562254a35285890813481127060/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_7071_1000&sign=e8588ff5558928d94371f425d5f409b2"},{"course_section_id":"21026","name":"第三节 产品成本的归集和分配(7)","subtitle":"","first_dir_id":"8114","first_dir_name":"第七章 管理会计基础","duration":"1439","is_free":"0","video_id":"18107","alivid":"b019bb8e613544a0b1962bfef2ac393e","hls":"http://a.com/03131334vodsh1253769091/58aa91495285890813481251527/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_7385_1000&sign=8ae78c19701ee9a2fe5dd877ab3d1658"},{"course_section_id":"21027","name":"第三节 产品成本的归集和分配(8)","subtitle":"","first_dir_id":"8114","first_dir_name":"第七章 管理会计基础","duration":"1016","is_free":"0","video_id":"18108","alivid":"dbada0a819714f6896791fbc0d7acf09","hls":"http://a.com/03131334vodsh1253769091/090373a65285890813480106634/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_9707_1000&sign=eab3644fd5b5a70b4cd45aca1361cc79"},{"course_section_id":"21028","name":"第四节 产品成本计算","subtitle":"","first_dir_id":"8114","first_dir_name":"第七章 管理会计基础","duration":"749","is_free":"0","video_id":"18109","alivid":"9cd2b8e9d5524fe68e2dac81df3fea16","hls":"http://a.com/03131334vodsh1253769091/c29a426e5285890813329273176/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_5451_1000&sign=8f7f764126ae570c3398433b679a55ee"},{"course_section_id":"21029","name":"第一节 政府会计概述(1)","subtitle":"","first_dir_id":"8115","first_dir_name":"第八章 政府会计基础","duration":"1741","is_free":"0","video_id":"18110","alivid":"e19dae1ca48c4b60a4deb0d6011a27ea","hls":"http://a.com/03131334vodsh1253769091/5d6a41345285890813481467439/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_2417_1000&sign=816244c040f3a055ad3221037d93905f"},{"course_section_id":"21030","name":"第一节 政府会计概述(2)","subtitle":"","first_dir_id":"8115","first_dir_name":"第八章 政府会计基础","duration":"2303","is_free":"0","video_id":"18111","alivid":"0a837273d5194499969ad4d46b30ef5a","hls":"http://a.com/03131334vodsh1253769091/5fbc34895285890813481561910/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_1216_1000&sign=7771a385b404fd368243c09fe31115a4"},{"course_section_id":"21031","name":"第二节 政府单位会计核算(1)","subtitle":"","first_dir_id":"8115","first_dir_name":"第八章 政府会计基础","duration":"2406","is_free":"0","video_id":"18112","alivid":"f58d739323d0438d8aece6ba46731aa6","hls":"http://a.com/03131334vodsh1253769091/5fbe4c885285890813481565311/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_5955_1000&sign=9461a60421109c944410cfa444e02bed"},{"course_section_id":"21032","name":"第二节 政府单位会计核算(2)","subtitle":"","first_dir_id":"8115","first_dir_name":"第八章 政府会计基础","duration":"1159","is_free":"0","video_id":"18113","alivid":"c2f20ae0ed9f4a9fbc83baac1533fa90","hls":"http://a.com/03131334vodsh1253769091/5f9abd4f5285890813481546823/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_4250_1000&sign=210ec827c257576974dd9770e78713ae"},{"course_section_id":"21033","name":"第二节 政府单位会计核算(3)","subtitle":"","first_dir_id":"8115","first_dir_name":"第八章 政府会计基础","duration":"3592","is_free":"0","video_id":"18114","alivid":"5a01596391d64979ba69138261cc9687","hls":"http://a.com/03131334vodsh1253769091/62141b745285890813481666942/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_9252_1000&sign=f2f39f82e35ba541f95582160728c502"},{"course_section_id":"21034","name":"第二节 政府单位会计核算(4)","subtitle":"","first_dir_id":"8115","first_dir_name":"第八章 政府会计基础","duration":"1979","is_free":"0","video_id":"18115","alivid":"02e46bf0a3144475aad4e62e335009e5","hls":"http://a.com/03131334vodsh1253769091/6215b7915285890813481669702/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_1932_1000&sign=7baeb8c4e7b85d26bb3bac886d8a35e6"}],"default_play":{"course_id":"5071","course_section_id":"19730","section_name":"前言","title":"前言","has_share":"0","video_name":"孔老师2021年精讲班前言2021.5","video_id":"21690","alivid":"","duration":"1272","is_free":"0","point":"","point_power":0,"recommend":[{"product_id":"2031001006097","course_id":"6097","subject_id":"22","subject_name":"初级会计实务","profession_id":"4","profession_name":"初级会计职称","product_name":"2022年初级会计职称无忧取证班","cover_url":"/public/image/57efeb496e3001682003356532938b5d.jpg","statistics":"14054","is_free":"0","price":"186000","initial_price":"358000","activity_type":"[]","pay_type_arr":["1","2","3"],"recommend_description":"2022初级备考趁现在,助你取证无忧!"}]},"is_bind_shicao":""}}
    name_urls=[]
    aa=a["data"]["videos"]
    for i in aa:
        url=i["hls"].replace("\","")
        name_urls.append([i["name"],url])
    
    print(name_urls) #找到章节名称+请求地址
    
    # -*- coding:utf-8 -*-
    import requests
    import re
    import time
    # l=[['前言', 'http://a.com/03131334vodsh1253769091/8d79f21d5285890818298372766/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_6837_1000&sign=e537bdfe7009dd1d3ab821107631b7f1'], ['第一节 会计概念、职能和目标(1)', 'http://a.com/03131334vodsh1253769091/ee051fc85285890810330288355/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_2646_1000&sign=49b52e29c904c849cf4d493a2b73e33c'], ['第一节 会计概念、职能和目标(2)', 'http://a.com/03131334vodsh1253769091/23e730aa5285890810334335828/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_6129_1000&sign=e00b9062abec6fa18931c4cdf6f9e97f'], ['第二节 会计基本假设、会计基础和会计信息质量要求(1)', 'http://a.com/03131334vodsh1253769091/effbeebd5285890810330331157/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_6826_1000&sign=62f3a002c30d03496851bd1d58aec6a4'], ['第二节 会计基本假设、会计基础和会计信息质量要求(2)', 'http://a.com/03131334vodsh1253769091/781b6b615285890810437003472/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_7035_1000&sign=47c67ad846dfe32dbfec46376b8b1d49'], ['第二节 会计基本假设、会计基础和会计信息质量要求(3)', 'http://a.com/03131334vodsh1253769091/ace6ad125285890810465498443/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_3111_1000&sign=cb8eaa9436ac8c8445ca1888854cb7f0'], ['第三节 会计要素及其确认与计量(1)', 'http://a.com/03131334vodsh1253769091/053efb855285890810466952110/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_9314_1000&sign=4692e2d3eb1c26a160fae4d5038fd716'], ['第三节 会计要素及其确认与计量(2)', 'http://a.com/03131334vodsh1253769091/bea331fa5285890810540090122/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_3671_1000&sign=a0a38fc5a8b783dd21078e5d9bdbf95b'], ['第三节 会计要素及其确认与计量(3)', 'http://a.com/03131334vodsh1253769091/5ac6b5485285890810423177724/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_9271_1000&sign=fffb16635806b7eb17e2981f1f973006'], ['第四节 会计科目和借贷记账法(1)', 'http://a.com/03131334vodsh1253769091/4350d9ae5285890810681829801/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_2325_1000&sign=e887c1ac5218871aead78f6ede010be6'], ['第四节 会计科目和借贷记账法(2)', 'http://a.com/03131334vodsh1253769091/7de886ad5285890810682066671/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_3264_1000&sign=11f673bc086a0939f75eda448e95cd05'], ['第四节 会计科目和借贷记账法(3)', 'http://a.com/03131334vodsh1253769091/fcba6dfa5285890810768961738/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_1393_1000&sign=33be0110fc7c3df2feb5b5468a62e0a1'], ['第四节 会计科目和借贷记账法(4)', 'http://a.com/03131334vodsh1253769091/fc9854f05285890810768945132/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_9595_1000&sign=41d557a634205b62b7d5cfde955cda21'], ['第四节 会计科目和借贷记账法(5)', 'http://a.com/03131334vodsh1253769091/3b8805325285890810888336641/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_1589_1000&sign=87c94b091ad349b0db881a8e717f9187'], ['第四节 会计科目和借贷记账法(6)', 'http://a.com/03131334vodsh1253769091/abfc65115285890810893594260/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_9234_1000&sign=9b66cc344d4b2db6f80d85acd22f8a69'], ['第四节 会计科目和借贷记账法(7)', 'http://a.com/03131334vodsh1253769091/5e8e65e15285890811005860127/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_1855_1000&sign=d43e249221d4f60fe75af0c1c77f7140'], ['第五节 会计凭证、会计账簿与账务处理程序(1)', 'http://a.com/03131334vodsh1253769091/145c7e8c5285890810891693005/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_4419_1000&sign=bfda3e39d8cd9b5d8e76a744b9840624'], ['第五节 会计凭证、会计账簿与账务处理程序(2)', 'http://a.com/03131334vodsh1253769091/145c834d5285890810891693141/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_5826_1000&sign=8d5a6d8a870529d791aa015ae93031e1'], ['第五节 会计凭证、会计账簿与账务处理程序(3)', 'http://a.com/03131334vodsh1253769091/5312e6065285890813117227813/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_4089_1000&sign=d43189b9a8fa5733c2dd79b4b4d9c067'], ['第六节 财产清查', 'http://a.com/03131334vodsh1253769091/b0038cb25285890812166973238/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7186_1000&sign=b6bbcf984d2a50152c3ab321a894c914'], ['第七节 财务报告', 'http://a.com/03131334vodsh1253769091/952af91d5285890812295659884/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7669_1000&sign=af7fc9d8031b2dd0d0dafbd7c8f96780'], ['第一节 货币资金(1)', 'http://a.com/03131334vodsh1253769091/e14905d95285890811184589855/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_9926_1000&sign=f336102d983e90db3d3f7dcc29acdc31'], ['第一节 货币资金(2)', 'http://a.com/03131334vodsh1253769091/f2438f905285890811309963671/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338521_1755_1000&sign=7d9875df76b79c2f195c060b90c7cbc6'], ['第二节 应收及预付款项(1)', 'http://a.com/03131334vodsh1253769091/bd6c2ab55285890811394870774/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_6585_1000&sign=2c60b238ae4d421b6d7f30094fdd687b'], ['第二节 应收及预付款项(2)', 'http://a.com/03131334vodsh1253769091/ff1627085285890811480073464/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_4036_1000&sign=ff041be8dbb7698a75537eb06ccf2ae0'], ['第二节 应收及预付款项(3)', 'http://a.com/03131334vodsh1253769091/f153ae095285890811483522742/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7490_1000&sign=c0020efe0e985aaa9ce30fb0b8fc52e4'], ['第二节 应收及预付款项(4)', 'http://a.com/03131334vodsh1253769091/2e0826555285890811602687785/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7601_1000&sign=fb1cf97535369a8f85b5fa843e61482d'], ['第三节 交易性金融资产(1)', 'http://a.com/03131334vodsh1253769091/010ea0fa5285890811700311451/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7126_1000&sign=1c211a06eb745af61e34098ffddd7357'], ['第三节 交易性金融资产(2)', 'http://a.com/03131334vodsh1253769091/1a2d06ca5285890811789402413/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_4437_1000&sign=bda1395818d6297fdd678438ec4491ae'], ['第三节 交易性金融资产(3)', 'http://a.com/03131334vodsh1253769091/613f7c575285890814396784803/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_8039_1000&sign=f023a04661e8947ab1b0e75fbeae87c6'], ['第四节 存货(1)', 'http://a.com/03131334vodsh1253769091/4355e8b15285890812056438648/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_6822_1000&sign=b1f388a0798c915a7dd0cdf52518b524'], ['第四节 存货(2)', 'http://a.com/03131334vodsh1253769091/04609c275285890812093075550/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_6213_1000&sign=039447329e05649a17ece17361f69277'], ['第四节 存货(3)', 'http://a.com/03131334vodsh1253769091/26ea23f45285890812249429728/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_1738_1000&sign=68b5d163796690dcf1b0f788a77fd2e5'], ['第四节 存货(4)', 'http://a.com/03131334vodsh1253769091/9932ce465285890812349344312/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7610_1000&sign=502f1c0c5aa546d4d5bf02ae3652a9d2'], ['第四节 存货(5)', 'http://a.com/03131334vodsh1253769091/98fad7845285890812349311145/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_1544_1000&sign=f1d2025f312a2e10c504164e3e1b8563'], ['第四节 存货(6)', 'http://a.com/03131334vodsh1253769091/e1c893b85285890812452493798/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_1637_1000&sign=4edef7dd8101ed4669d530a9195a68dc'], ['第四节 存货(7)', 'http://a.com/03131334vodsh1253769091/1302ffcd5285890812456345832/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_5089_1000&sign=c84ce2ecfcdd53add5e7608afcf8900a'], ['第五节 固定资产(1)', 'http://a.com/03131334vodsh1253769091/151627ef5285890812575406609/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7432_1000&sign=b5492e658744263d9d34d4180ea8f895'], ['第五节 固定资产(2)', 'http://a.com/03131334vodsh1253769091/1512c96a5285890812575400187/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_5260_1000&sign=eaaeb1798f3a26ed246937bfda700a66'], ['第五节 固定资产(3)', 'http://a.com/03131334vodsh1253769091/176a1ec75285890812575504044/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_6575_1000&sign=d373f340e9b4b4b530e0a114f3a951f9'], ['第五节 固定资产(4)', 'http://a.com/03131334vodsh1253769091/07eb3bcd5285890812656880331/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7177_1000&sign=86acb225de421d801764a303272dda64'], ['第五节 固定资产(5)', 'http://a.com/03131334vodsh1253769091/41d251435285890812657025005/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_8512_1000&sign=a77d3dd33708535551b64139004b8741'], ['第五节 固定资产(6)', 'http://a.com/03131334vodsh1253769091/41afce6b5285890812657008246/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_3104_1000&sign=732e129b35786a3657db07d8ec10365b'], ['第五节 固定资产(7)', 'http://a.com/03131334vodsh1253769091/0388de015285890813313034247/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_4499_1000&sign=09d443d232f3f450008d909c5e27abb5'], ['第六节 无形资产和长期待摊费用', 'http://a.com/03131334vodsh1253769091/27c5bd555285890812748781508/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_3694_1000&sign=88406c96126a3d0beb68bb9b30caa5f2'], ['第一节 短期借款', 'http://a.com/03131334vodsh1253769091/29f749d55285890812748862706/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_6781_1000&sign=665e0fa61f1be6e93fcf1c8e5d96f57e'], ['第二节 应付及预收款项', 'http://a.com/03131334vodsh1253769091/e07c6a5b5285890812897224778/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_5345_1000&sign=2b1f166ac2a15972c153ad0127ae5683'], ['第三节 应付职工薪酬(1)', 'http://a.com/03131334vodsh1253769091/226a46635285890812904376001/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_5710_1000&sign=3e18a7fc97ef3fba3ea841b6b699dc9f'], ['第三节 应付职工薪酬(2)', 'http://a.com/03131334vodsh1253769091/689bd0305285890812970522198/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7492_1000&sign=9a77c4f94e9e30f02eaba6335904851d'], ['第三节 应付职工薪酬(3)', 'http://a.com/03131334vodsh1253769091/689dfc425285890812970526000/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_9573_1000&sign=c0fa9b9c1148df177e320ab812eb6a89'], ['第四节 应交税费(1)', 'http://a.com/03131334vodsh1253769091/0b5993585285890813079619954/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7540_1000&sign=af527597b2e626c6f2779ad8d4a4bc33'], ['第四节 应交税费(2)', 'http://a.com/03131334vodsh1253769091/6b14bb365285890812970641895/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_4468_1000&sign=0c44151509f3ed8be330a8347076f5a4'], [' 第四节 应交税费(3)', 'http://a.com/03131334vodsh1253769091/c63de7565285890813085749951/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_1589_1000&sign=562990f43f5f814f16150d8dce39b040'], ['第四节 应交税费(4)', 'http://a.com/03131334vodsh1253769091/c86c21175285890813085824958/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_6499_1000&sign=dda9bf0b6dc3a5239872cc1ccfbfa30a'], ['第四节 应交税费(5)', 'http://a.com/03131334vodsh1253769091/c698505b5285890813085799519/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_3304_1000&sign=0762bbe382940d78c44cc7bbe91aeb45'], ['第四节 应交税费(6)', 'http://a.com/03131334vodsh1253769091/67e4348a5285890813060509079/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_8491_1000&sign=2edb39fc8a39d3bff75965df5a30e142'], ['第四节 应交税费(7)', 'http://a.com/03131334vodsh1253769091/cb0ac47b5285890813085966955/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_3509_1000&sign=fe1852891671cfc6c31f906b60974cdb'], ['第一节 实收资本或股本(1)', 'http://a.com/03131334vodsh1253769091/d4a6ca005285890813112343381/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_3057_1000&sign=248424a1ffbb4235bd901562355ac2ea'], ['第一节 实收资本或股本(2)', 'http://a.com/03131334vodsh1253769091/d483be235285890813112325654/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_8972_1000&sign=f46d396fd2145b6926c1ccc8861ccc54'], ['第二节 资本公积', 'http://a.com/03131334vodsh1253769091/d4a98f5f5285890813112348501/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_3972_1000&sign=426e902e988b6b849d52bc7d15f52dbb'], ['第三节 留存收益', 'http://a.com/03131334vodsh1253769091/d9bdad705285890813367280862/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_3069_1000&sign=fdf1f4404aef94fef0fdd7cb91423c60'], ['第一节 收入(1)', 'http://a.com/03131334vodsh1253769091/51b0e7895285890813284017049/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_1574_1000&sign=8062e2f5a70953e31c6d03395ed6de0f'], ['第一节 收入(2)', 'http://a.com/03131334vodsh1253769091/51fa62eb5285890813284059090/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_7272_1000&sign=d5c96f6b6d3dfd5de77fd0859f257f3f'], ['第一节 收入(3)', 'http://a.com/03131334vodsh1253769091/53f4094a5285890813284107491/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338522_9967_1000&sign=0652052ab633547d03143a08dd46b5b9'], ['第一节 收入(4)', 'http://a.com/03131334vodsh1253769091/540735a85285890813284119342/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_8665_1000&sign=17bd77a7d67ac042ee9eb91307304ef6'], ['第一节 收入(5)', 'http://a.com/03131334vodsh1253769091/566c416a5285890813284225274/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_8868_1000&sign=ca0f83cac69286a82ebcc3041a2d6435'], ['第二节 费用', 'http://a.com/03131334vodsh1253769091/56b4b0715285890813284265592/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_9659_1000&sign=91f6803f65a21b79c2fff25120e52aec'], ['第三节 利润(1)', 'http://a.com/03131334vodsh1253769091/58afd92a5285890813284316138/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_7240_1000&sign=f50b197b41beb7f0c3ec984e31886e53'], ['第三节 利润(2)', 'http://a.com/03131334vodsh1253769091/58e369055285890813284341234/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_8037_1000&sign=91249807689f6ddbb6de94d1c4d5b10c'], ['第三节 利润(3)', 'http://a.com/03131334vodsh1253769091/5b062fd05285890813284418636/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_8270_1000&sign=352a27e6f65ab1b4f8cb917381f458f0'], ['第一节 资产负债表', 'http://a.com/03131334vodsh1253769091/bb8e899d5285890813353332004/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_9222_1000&sign=0d40941f6357b08f589b270df02c2de1'], ['第二节 利润表', 'http://a.com/03131334vodsh1253769091/bb5a8b625285890813353306620/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_2430_1000&sign=32853ad9147fdc62755a22d65e7b6204'], ['第三节 所有者权益变动表', 'http://a.com/03131334vodsh1253769091/bdd134075285890813353421933/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_8031_1000&sign=1fbe46ef79c11d669a6acd0bff535900'], ['第四节 附注', 'http://a.com/03131334vodsh1253769091/bbd8a7365285890813353375598/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_6443_1000&sign=d39035f2fd906014b0d41a85f5d1e522'], ['第一节 管理会计概述', 'http://a.com/03131334vodsh1253769091/19b0d8085285890813480854014/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_1757_1000&sign=1ec09a28ac8bda7c483fc9bc73d4d240'], ['第二节 产品成本核算的要求和一般程序', 'http://a.com/03131334vodsh1253769091/542a3fa35285890813820263215/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_8963_1000&sign=43fc502c334c33b4b59d54fb53e75da9'], ['第三节 产品成本的归集和分配(1)', 'http://a.com/03131334vodsh1253769091/1bbed5705285890813480916734/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_7968_1000&sign=02e47d12fec7b9304df6412ccd5a5058'], ['第三节 产品成本的归集和分配(2)', 'http://a.com/03131334vodsh1253769091/53b877465285890813481012835/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_8928_1000&sign=82be9199008ef97246cc6a35e2970dbd'], ['第三节 产品成本的归集和分配(3)', 'http://a.com/03131334vodsh1253769091/53f164e55285890813481047214/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_2794_1000&sign=7c06df92f469e9049daa563bc9ac3a1e'], ['第三节 产品成本的归集和分配(4)', 'http://a.com/03131334vodsh1253769091/55fd180b5285890813481105396/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_7477_1000&sign=32ca0302366dfe0799a6a665fe1eb14c'], ['第三节 产品成本的归集和分配(5)', 'http://a.com/03131334vodsh1253769091/562037a35285890813481123505/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_9727_1000&sign=51b84cb9f04aa18d3df8573cc25bf9d7'], ['第三节 产品成本的归集和分配(6)', 'http://a.com/03131334vodsh1253769091/562254a35285890813481127060/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_7071_1000&sign=e8588ff5558928d94371f425d5f409b2'], ['第三节 产品成本的归集和分配(7)', 'http://a.com/03131334vodsh1253769091/58aa91495285890813481251527/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_7385_1000&sign=8ae78c19701ee9a2fe5dd877ab3d1658'], ['第三节 产品成本的归集和分配(8)', 'http://a.com/03131334vodsh1253769091/090373a65285890813480106634/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_9707_1000&sign=eab3644fd5b5a70b4cd45aca1361cc79'], ['第四节 产品成本计算', 'http://a.com/03131334vodsh1253769091/c29a426e5285890813329273176/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_5451_1000&sign=8f7f764126ae570c3398433b679a55ee'], ['第一节 政府会计概述(1)', 'http://a.com/03131334vodsh1253769091/5d6a41345285890813481467439/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_2417_1000&sign=816244c040f3a055ad3221037d93905f'], ['第一节 政府会计概述(2)', 'http://a.com/03131334vodsh1253769091/5fbc34895285890813481561910/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_1216_1000&sign=7771a385b404fd368243c09fe31115a4'], ['第二节 政府单位会计核算(1)', 'http://a.com/03131334vodsh1253769091/5fbe4c885285890813481565311/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_5955_1000&sign=9461a60421109c944410cfa444e02bed'], ['第二节 政府单位会计核算(2)', 'http://a.com/03131334vodsh1253769091/5f9abd4f5285890813481546823/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_4250_1000&sign=210ec827c257576974dd9770e78713ae'], ['第二节 政府单位会计核算(3)', 'http://a.com/03131334vodsh1253769091/62141b745285890813481666942/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_9252_1000&sign=f2f39f82e35ba541f95582160728c502'], ['第二节 政府单位会计核算(4)', 'http://a.com/03131334vodsh1253769091/6215b7915285890813481669702/playlist.m3u8?t=611f9132&rlimit=3&us=1629444338523_1932_1000&sign=7baeb8c4e7b85d26bb3bac886d8a35e6']]
    # l=[l[0]]
    # l=[["2","http://a.com/03131334vodsh1253769091/0b3963cc5285890810575380922/playlist.m3u8?t=611fd971&rlimit=3&us=1629462833730_3272_1000&sign=8b5b747044f51e8ac45119694db2290e"]]
    for i in l:
        rs=requests.get(i[1]) #找到请求地址
        # print(rs.text)
        rst=rs.text #请求的响应结果
        rst1=re.findall('[a-z0-9]{32}-',rst)
        # print(rst1)
        # print(rst)
        burl=re.findall('.+/',i[1]) #请求地址中提取需要的信息
        # print(burl)
        if rst1[0] in rst:
            rst=rst.replace(rst1[0],burl[0]+rst1[0]) #m3u文件中加请求信息
        else:
            break
        with open(i[0],mode='w') as f: #将信息保存到文件
            f.write(rst)
        time.sleep(20)
    

    EXTM3U修改前后的文件对比如下图;

     

     

     结果

    t参数传的为最后一次登录成功的时间,时间久了会失效;

    我尝试修改t参数的值,失败!!因为请求时,去服务器对比,杳无此人;

    越努力,越幸运!!! good good study,day day up!!!
  • 相关阅读:
    网页使用思源字体 CSS
    不用軟體解PPT密碼
    服务端性能测试校准v1.2
    开发语言性能对比,C++、Java、Python、LUA、TCC
    数值溢出测试工具,协议测试专用
    真人算法演示
    Visual Studio并发Qpar优化效果
    服务端性能测试工具校验v1.1
    IOCP和WSA异步协同客户端版
    服务端性能测试工具校验v1.0
  • 原文地址:https://www.cnblogs.com/canglongdao/p/15168300.html
Copyright © 2011-2022 走看看