Bootstrap

B小破站视频下载(含人机校验 验证码) python处理

b站获取视频下载地址,仅供参考

b站视频接口分析

哔哩哔哩分析:
1.视频链接 分两种,av 和BV 。
2.视频的音频和画面分成来两个部分。
2.接口中 对应的 视频清晰度和对应的值:

{'id': 'flv_p60', 'quality': 116, 'audio_quality': 30280,
 'container': 'FLV', 'video_resolution': '1080p', 'desc': '高清 1080P60'},
{'id': 'hdflv2', 'quality': 112, 'audio_quality': 30280,
 'container': 'FLV', 'video_resolution': '1080p', 'desc': '高清 1080P+'},
{'id': 'flv', 'quality': 80, 'audio_quality': 30280,
 'container': 'FLV', 'video_resolution': '1080p', 'desc': '高清 1080P'},
{'id': 'flv720_p60', 'quality': 74, 'audio_quality': 30280,
 'container': 'FLV', 'video_resolution': '720p', 'desc': '高清 720P60'},
{'id': 'flv720', 'quality': 64, 'audio_quality': 30280,
 'container': 'FLV', 'video_resolution': '720p', 'desc': '高清 720P'},
{'id': 'hdmp4', 'quality': 48, 'audio_quality': 30280,
 'container': 'MP4', 'video_resolution': '720p', 'desc': '高清 720P (MP4)'},
{'id': 'flv480', 'quality': 32, 'audio_quality': 30280,
 'container': 'FLV', 'video_resolution': '480p', 'desc': '清晰 480P'},
{'id': 'flv360', 'quality': 16, 'audio_quality': 30216,
 'container': 'FLV', 'video_resolution': '360p', 'desc': '流畅 360P'},
{'id': 'mp4', 'quality': 0},
{'id': 'jpg', 'quality': 0},

测试视频链接点此

视频内容:箭头所指,搜索 “playinfo
在这里插入图片描述
序列化:

{'code': 0, 'message': '0', 'ttl': 1, 'data': {'from': 'local', 'result': 'suee', 'message': '', 'quality': 32, 'format': 'flv480', 'timelength': 121887, 'accept_format': 'flv_p60,flv720_p60,flv,flv720,flv480,mp4', 'accept_description': ['高清 1080P60', '高清 720P60', '高清 1080P', '高清 720P', '清晰 480P', '流畅 360P'], 'accept_quality': [116, 74, 80, 64, 32, 16], 'video_codecid': 7, 'seek_param': 'start', 'seek_type': 'offset', 'dash': {'duration': 122, 'minBufferTime': 1.5, 'min_buffer_time': 1.5, 'video': [{'id': 80, 'baseUrl': 'http://upos-sz-mirrorcos.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30080.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=cosbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=642af8ff238265122a535659c0c247e9&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=0,3&agrr=0&logo=80000000', 'base_url': 'http://upos-sz-mirrorcos.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30080.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=cosbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=642af8ff238265122a535659c0c247e9&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=0,3&agrr=0&logo=80000000', 'backupUrl': ['http://upos-sz-mirrorcos.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30080.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=cosbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=642af8ff238265122a535659c0c247e9&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorcosb.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30080.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=cosbbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=a60f65f7eb62e22a74738d9711258b68&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'backup_url': ['http://upos-sz-mirrorcos.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30080.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=cosbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=642af8ff238265122a535659c0c247e9&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorcosb.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30080.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=cosbbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=a60f65f7eb62e22a74738d9711258b68&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'bandwidth': 607922, 'mimeType': 'video/mp4', 'mime_type': 'video/mp4', 'codecs': 'avc1.640032', 'width': 1920, 'height': 1080, 'frameRate': '16000/544', 'frame_rate': '16000/544', 'sar': '1:1', 'startWithSap': 1, 'start_with_sap': 1, 'SegmentBase': {'Initialization': '0-991', 'indexRange': '992-1311'}, 'segment_base': {'initialization': '0-991', 'index_range': '992-1311'}, 'codecid': 7}, {'id': 80, 'baseUrl': 'http://upos-sz-mirrorhw.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30077.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=hwbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=031de74660c222691a5bab869078b2c7&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=0,3&agrr=0&logo=80000000', 'base_url': 'http://upos-sz-mirrorhw.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30077.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=hwbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=031de74660c222691a5bab869078b2c7&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=0,3&agrr=0&logo=80000000', 'backupUrl': ['http://upos-sz-mirrorhw.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30077.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=hwbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=031de74660c222691a5bab869078b2c7&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorhwb.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30077.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=hwbbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=a43bc18f61a6703b89fcca7973335832&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'backup_url': ['http://upos-sz-mirrorhw.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30077.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=hwbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=031de74660c222691a5bab869078b2c7&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorhwb.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30077.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=hwbbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=a43bc18f61a6703b89fcca7973335832&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'bandwidth': 370011, 'mimeType': 'video/mp4', 'mime_type': 'video/mp4', 'codecs': 'hev1.1.6.L120.90', 'width': 1920, 'height': 1080, 'frameRate': '16000/544', 'frame_rate': '16000/544', 'sar': '1:1', 'startWithSap': 1, 'start_with_sap': 1, 'SegmentBase': {'Initialization': '0-1191', 'indexRange': '1192-1511'}, 'segment_base': {'initialization': '0-1191', 'index_range': '1192-1511'}, 'codecid': 12}, {'id': 64, 'baseUrl': 'http://cn-hbcd2-cu-v-11.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30064.m4s?expires=1600230757&platform=pc&ssig=fWjqlViRQUbxrIHgY8Vtxg&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&nfc=1&nfb=maPYqpoel5MI3qOUX6YpRA==&cdnid=7884&mid=0&cip=101.75.242.12&orderid=0,3&agrr=0&logo=80000000', 'base_url': 'http://cn-hbcd2-cu-v-11.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30064.m4s?expires=1600230757&platform=pc&ssig=fWjqlViRQUbxrIHgY8Vtxg&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&nfc=1&nfb=maPYqpoel5MI3qOUX6YpRA==&cdnid=7884&mid=0&cip=101.75.242.12&orderid=0,3&agrr=0&logo=80000000', 'backupUrl': ['http://upos-sz-mirrorhw.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30064.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=hwbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=ac74840586e1196fd4754ed26ed6139c&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorhw.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30064.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=hwbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=ac74840586e1196fd4754ed26ed6139c&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'backup_url': ['http://upos-sz-mirrorhw.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30064.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=hwbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=ac74840586e1196fd4754ed26ed6139c&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorhw.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30064.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=hwbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=ac74840586e1196fd4754ed26ed6139c&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'bandwidth': 376485, 'mimeType': 'video/mp4', 'mime_type': 'video/mp4', 'codecs': 'avc1.640028', 'width': 1280, 'height': 720, 'frameRate': '16000/544', 'frame_rate': '16000/544', 'sar': '1:1', 'startWithSap': 1, 'start_with_sap': 1, 'SegmentBase': {'Initialization': '0-989', 'indexRange': '990-1309'}, 'segment_base': {'initialization': '0-989', 'index_range': '990-1309'}, 'codecid': 7}, {'id': 64, 'baseUrl': 'http://upos-sz-mirrorhw.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30066.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=hwbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=a8936863a1822a44b4c0bab3b5abec23&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=0,3&agrr=0&logo=80000000', 'base_url': 'http://upos-sz-mirrorhw.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30066.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=hwbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=a8936863a1822a44b4c0bab3b5abec23&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=0,3&agrr=0&logo=80000000', 'backupUrl': ['http://upos-sz-mirrorhw.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30066.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=hwbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=a8936863a1822a44b4c0bab3b5abec23&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorhwb.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30066.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=hwbbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=4e55a7a5203931a2dea520fb9d15305b&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'backup_url': ['http://upos-sz-mirrorhw.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30066.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=hwbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=a8936863a1822a44b4c0bab3b5abec23&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorhwb.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30066.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=hwbbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=4e55a7a5203931a2dea520fb9d15305b&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'bandwidth': 231600, 'mimeType': 'video/mp4', 'mime_type': 'video/mp4', 'codecs': 'hev1.1.6.L120.90', 'width': 1280, 'height': 720, 'frameRate': '16000/544', 'frame_rate': '16000/544', 'sar': '1:1', 'startWithSap': 1, 'start_with_sap': 1, 'SegmentBase': {'Initialization': '0-1191', 'indexRange': '1192-1511'}, 'segment_base': {'initialization': '0-1191', 'index_range': '1192-1511'}, 'codecid': 12}, {'id': 32, 'baseUrl': 'http://upos-sz-mirrorks3.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30032.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=449ca289bd889cf31956b4340bcba3a4&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=0,3&agrr=0&logo=80000000', 'base_url': 'http://upos-sz-mirrorks3.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30032.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=449ca289bd889cf31956b4340bcba3a4&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=0,3&agrr=0&logo=80000000', 'backupUrl': ['http://upos-sz-mirrorks3.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30032.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=449ca289bd889cf31956b4340bcba3a4&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorks3b.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30032.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=db51afb2291ecb51abeea0125616dd30&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'backup_url': ['http://upos-sz-mirrorks3.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30032.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=449ca289bd889cf31956b4340bcba3a4&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorks3b.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30032.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=db51afb2291ecb51abeea0125616dd30&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'bandwidth': 260780, 'mimeType': 'video/mp4', 'mime_type': 'video/mp4', 'codecs': 'avc1.64001F', 'width': 852, 'height': 480, 'frameRate': '16000/544', 'frame_rate': '16000/544', 'sar': '1:1', 'startWithSap': 1, 'start_with_sap': 1, 'SegmentBase': {'Initialization': '0-990', 'indexRange': '991-1310'}, 'segment_base': {'initialization': '0-990', 'index_range': '991-1310'}, 'codecid': 7}, {'id': 32, 'baseUrl': 'http://upos-sz-mirrorcos.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30033.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=cosbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=229ce7ff777b265d4314ae642968e4fa&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=0,3&agrr=0&logo=80000000', 'base_url': 'http://upos-sz-mirrorcos.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30033.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=cosbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=229ce7ff777b265d4314ae642968e4fa&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=0,3&agrr=0&logo=80000000', 'backupUrl': ['http://upos-sz-mirrorcos.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30033.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=cosbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=229ce7ff777b265d4314ae642968e4fa&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorcosb.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30033.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=cosbbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=a96111085d8d83cc9fb92de15c013ab4&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'backup_url': ['http://upos-sz-mirrorcos.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30033.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=cosbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=229ce7ff777b265d4314ae642968e4fa&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorcosb.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30033.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=cosbbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=a96111085d8d83cc9fb92de15c013ab4&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'bandwidth': 162336, 'mimeType': 'video/mp4', 'mime_type': 'video/mp4', 'codecs': 'hev1.1.6.L120.90', 'width': 852, 'height': 480, 'frameRate': '16000/544', 'frame_rate': '16000/544', 'sar': '1:1', 'startWithSap': 1, 'start_with_sap': 1, 'SegmentBase': {'Initialization': '0-1191', 'indexRange': '1192-1511'}, 'segment_base': {'initialization': '0-1191', 'index_range': '1192-1511'}, 'codecid': 12}, {'id': 16, 'baseUrl': 'http://upos-sz-mirrorkodo.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30011.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=kodobv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=116bd86370a5cf23fbb84d8551e5d6c4&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=0,3&agrr=0&logo=80000000', 'base_url': 'http://upos-sz-mirrorkodo.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30011.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=kodobv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=116bd86370a5cf23fbb84d8551e5d6c4&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=0,3&agrr=0&logo=80000000', 'backupUrl': ['http://upos-sz-mirrorkodo.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30011.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=kodobv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=116bd86370a5cf23fbb84d8551e5d6c4&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorkodob.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30011.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=kodobbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=1ad8669abc2872e55602fc360debf0bf&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'backup_url': ['http://upos-sz-mirrorkodo.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30011.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=kodobv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=116bd86370a5cf23fbb84d8551e5d6c4&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorkodob.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30011.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=kodobbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=1ad8669abc2872e55602fc360debf0bf&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'bandwidth': 158917, 'mimeType': 'video/mp4', 'mime_type': 'video/mp4', 'codecs': 'hev1.1.6.L120.90', 'width': 640, 'height': 360, 'frameRate': '16000/544', 'frame_rate': '16000/544', 'sar': '1:1', 'startWithSap': 1, 'start_with_sap': 1, 'SegmentBase': {'Initialization': '0-1189', 'indexRange': '1190-1509'}, 'segment_base': {'initialization': '0-1189', 'index_range': '1190-1509'}, 'codecid': 12}, {'id': 16, 'baseUrl': 'http://cn-sdyt-cu-v-14.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30016.m4s?expires=1600230757&platform=pc&ssig=yW8oeQ69Q3DnzDALTYFKgw&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&nfc=1&nfb=maPYqpoel5MI3qOUX6YpRA==&cdnid=9571&mid=0&cip=61.156.196.147&orderid=0,3&agrr=0&logo=80000000', 'base_url': 'http://cn-sdyt-cu-v-14.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30016.m4s?expires=1600230757&platform=pc&ssig=yW8oeQ69Q3DnzDALTYFKgw&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&nfc=1&nfb=maPYqpoel5MI3qOUX6YpRA==&cdnid=9571&mid=0&cip=61.156.196.147&orderid=0,3&agrr=0&logo=80000000', 'backupUrl': ['http://upos-sz-mirrorcos.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30016.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=cosbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=3c0b6c482487186efa7a8e35f70fa4f0&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorcos.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30016.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=cosbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=3c0b6c482487186efa7a8e35f70fa4f0&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'backup_url': ['http://upos-sz-mirrorcos.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30016.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=cosbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=3c0b6c482487186efa7a8e35f70fa4f0&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorcos.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30016.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=cosbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=3c0b6c482487186efa7a8e35f70fa4f0&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'bandwidth': 129597, 'mimeType': 'video/mp4', 'mime_type': 'video/mp4', 'codecs': 'avc1.64001E', 'width': 640, 'height': 360, 'frameRate': '16000/544', 'frame_rate': '16000/544', 'sar': '1:1', 'startWithSap': 1, 'start_with_sap': 1, 'SegmentBase': {'Initialization': '0-1015', 'indexRange': '1016-1335'}, 'segment_base': {'initialization': '0-1015', 'index_range': '1016-1335'}, 'codecid': 7}], 'audio': [{'id': 30280, 'baseUrl': 'http://cn-hbcd2-cu-v-01.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30280.m4s?expires=1600230757&platform=pc&ssig=395HgWHZZhgBk0OeGoqXGg&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&nfc=1&nfb=maPYqpoel5MI3qOUX6YpRA==&cdnid=2188&mid=0&cip=101.75.242.2&orderid=0,3&agrr=0&logo=80000000', 'base_url': 'http://cn-hbcd2-cu-v-01.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30280.m4s?expires=1600230757&platform=pc&ssig=395HgWHZZhgBk0OeGoqXGg&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&nfc=1&nfb=maPYqpoel5MI3qOUX6YpRA==&cdnid=2188&mid=0&cip=101.75.242.2&orderid=0,3&agrr=0&logo=80000000', 'backupUrl': ['http://upos-sz-mirrorks3.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30280.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=f6d1ce55450700db6637cb47afdf3303&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorks3.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30280.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=f6d1ce55450700db6637cb47afdf3303&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'backup_url': ['http://upos-sz-mirrorks3.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30280.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=f6d1ce55450700db6637cb47afdf3303&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorks3.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30280.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=f6d1ce55450700db6637cb47afdf3303&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'bandwidth': 257620, 'mimeType': 'audio/mp4', 'mime_type': 'audio/mp4', 'codecs': 'mp4a.40.2', 'width': 0, 'height': 0, 'frameRate': '', 'frame_rate': '', 'sar': '', 'startWithSap': 0, 'start_with_sap': 0, 'SegmentBase': {'Initialization': '0-907', 'indexRange': '908-1239'}, 'segment_base': {'initialization': '0-907', 'index_range': '908-1239'}, 'codecid': 0}, {'id': 30216, 'baseUrl': 'http://upos-sz-mirrorks3.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30216.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=7d29642f9e38c38dc3ff34399215d6f7&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=0,3&agrr=0&logo=80000000', 'base_url': 'http://upos-sz-mirrorks3.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30216.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=7d29642f9e38c38dc3ff34399215d6f7&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=0,3&agrr=0&logo=80000000', 'backupUrl': ['http://upos-sz-mirrorks3.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30216.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=7d29642f9e38c38dc3ff34399215d6f7&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorks3b.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30216.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=7a1d85c035c64ab506bd1ffdbc44e44c&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'backup_url': ['http://upos-sz-mirrorks3.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30216.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=7d29642f9e38c38dc3ff34399215d6f7&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorks3b.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30216.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bbv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=7a1d85c035c64ab506bd1ffdbc44e44c&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'bandwidth': 67396, 'mimeType': 'audio/mp4', 'mime_type': 'audio/mp4', 'codecs': 'mp4a.40.2', 'width': 0, 'height': 0, 'frameRate': '', 'frame_rate': '', 'sar': '', 'startWithSap': 0, 'start_with_sap': 0, 'SegmentBase': {'Initialization': '0-932', 'indexRange': '933-1264'}, 'segment_base': {'initialization': '0-932', 'index_range': '933-1264'}, 'codecid': 0}, {'id': 30232, 'baseUrl': 'http://cn-hbcd2-cu-v-05.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30232.m4s?expires=1600230757&platform=pc&ssig=tkInxQEkov-4NyGZkFAaWw&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&nfc=1&nfb=maPYqpoel5MI3qOUX6YpRA==&cdnid=2192&mid=0&cip=101.75.242.6&orderid=0,3&agrr=0&logo=80000000', 'base_url': 'http://cn-hbcd2-cu-v-05.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30232.m4s?expires=1600230757&platform=pc&ssig=tkInxQEkov-4NyGZkFAaWw&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&nfc=1&nfb=maPYqpoel5MI3qOUX6YpRA==&cdnid=2192&mid=0&cip=101.75.242.6&orderid=0,3&agrr=0&logo=80000000', 'backupUrl': ['http://upos-sz-mirrorks3.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30232.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=906d106c502b88657c04026d80032698&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorks3.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30232.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=906d106c502b88657c04026d80032698&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'backup_url': ['http://upos-sz-mirrorks3.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30232.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=906d106c502b88657c04026d80032698&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=1,3&agrr=0&logo=40000000', 'http://upos-sz-mirrorks3.bilivideo.com/upgcxcode/97/66/235346697/235346697-1-30232.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1600230757&gen=playurl&os=ks3bv&oi=2071626163&trid=8f13d612992f481593f4d8bea53de78eu&platform=pc&upsig=906d106c502b88657c04026d80032698&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&orderid=2,3&agrr=0&logo=40000000'], 'bandwidth': 132889, 'mimeType': 'audio/mp4', 'mime_type': 'audio/mp4', 'codecs': 'mp4a.40.2', 'width': 0, 'height': 0, 'frameRate': '', 'frame_rate': '', 'sar': '', 'startWithSap': 0, 'start_with_sap': 0, 'SegmentBase': {'Initialization': '0-907', 'indexRange': '908-1239'}, 'segment_base': {'initialization': '0-907', 'index_range': '908-1239'}, 'codecid': 0}]}, 'support_formats': [{'quality': 116, 'format': 'flv_p60', 'description': '1080P 60帧', 'display_desc': '1080P', 'superscript': '60帧'}, {'quality': 74, 'format': 'flv720_p60', 'description': '720P 60帧', 'display_desc': '720P', 'superscript': '60帧'}, {'quality': 80, 'format': 'flv', 'description': '1080P 高清', 'display_desc': '1080P', 'superscript': ''}, {'quality': 64, 'format': 'flv720', 'description': '720P 高清', 'display_desc': '720P', 'superscript': ''}, {'quality': 32, 'format': 'flv480', 'description': '480P 清晰', 'display_desc': '480P', 'superscript': ''}, {'quality': 16, 'format': 'mp4', 'description': '360P 流畅', 'display_desc': '360P', 'superscript': ''}]}, 'session': 'b3bf01599b19e44ef98525e5a5e3f89c', 'videoFrame': {}}

整个对象赋值给 playinfo

如果链接是 bv (音频和视频在一起 但是切片)

	视频链接在 playinfo['data']['durl']

如果链接是av (视频都分成了 视频和音频两个)

    视频链接在 playinfo['data']['dash']['video']
    音频链接在 playinfo['data']['dash']['audio']

bilibili 视频请求 先option在get ,先option请求资源 此链接才会分配资源

    def down_load_file_base(self,url):
        headers1 = {
            "Proxy-Tunnel": str(random.randint(1, 10000)),
            "user-agent": UserAgent().random,

            'Host': 'cn-hbwh2-cmcc-bcache-04.bilivideo.com',
            'Connection': 'keep-alive',
            'Access-Control-Request-Method': 'GET',
            'Origin': 'https://www.bilibili.com',
            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3970.5 Safari/537.36',
            'Access-Control-Request-Headers': 'range',
            'Accept': '*/*',
            'Sec-Fetch-Site': 'cross-site',
            'Sec-Fetch-Mode': 'cors',
            'Referer': 'https://www.bilibili.com/video/av56643958?t=262',
            'Accept-Encoding': 'gzip, deflate, br',
            'Accept-Language': 'zh-CN,zh;q=0.9'
        }
        headers2 = {
            "Proxy-Tunnel": str(random.randint(1, 10000)),
            "user-agent": UserAgent().random,

            'Host': 'cn-hbwh2-cmcc-bcache-04.bilivideo.com',
            'Connection': 'keep-alive',
            'Origin': 'https://www.bilibili.com',
            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3970.5     Safari/537.36',
            'Accept': '*/*',
            'Sec-Fetch-Site': 'cross-site',
            'Sec-Fetch-Mode': 'cors',
            'Referer': 'https://www.bilibili.com/video/av56643958?t=262',
            'Accept-Encoding': 'identity',
            'Accept-Language': 'zh-CN,zh;q=0.9',
            # 'Range': 'bytes=0-907',
            'Range': 'bytes=0-4639000'
        }

        session = requests.session()
        session.options(url=url, headers=headers1, proxies=proxies)
        res = session.get(url=url, headers=headers2, proxies=proxies)

        # print(url)
        response = res
        content = response.content
        # print("here")
        # print(url,content)
        return content

使用ffmpeg 合并多个视频文件(每个链接只包含部分数据)

下载过快 会出现人机校验 (两种情况 含下架(下架可能不止一种))
1.验证码 (乱码别介意)
在这里插入图片描述

验证码识别 就是普通的字符串加数字,自己ocr识别,图方便调用 百度ocr接口 ,具体度妈

注意:哔哩哔哩 人机校验接口 请求: https://sec.biliapi.net/th/captcha/get 处理:https://sec.biliapi.net/th/captcha/check 其中包含图片base64值 和token值 ,带着这两个值去请求就能通过 图片识别调用 百度文字识别接口
人机校验 接口如上,返回值里 有两个值 需要获取,一个token 一个 验证码图片base64值

# 获得 验证码图片 和对应的input框值
def _get_toke_and_img(url):
    res =requests.get(url=url,headers=headers)
    res.apparent_encoding
    select = etree.HTML(res.text)
    # print(res.text)
    info = "".join(select.xpath("//div[@class='txt-item']//text()")) # 是否含有,人机识别
    info2 = "".join(select.xpath("//div[@class='error-text']//text()")) # 是否含有,视频不见了
    # img_base64 = select.xpath("//div[@class='box-pic']/img/@src")
    # img_base64 = img_base64[0] if img_base64 else ""
    if "The request was rejected because of the bilibili security control policy" in info: # 人机识别
        headers["Referer"] = url
        img_base64 = requests.get("https://sec.biliapi.net/th/captcha/get", headers=headers)
        img_base64 = img_base64.text
        json_text = json.loads(img_base64)
        img_base64 = json_text["data"]["captcha"]["imageBase64String"]
        token = json_text["data"]["captcha"]["token"]
        print("需要有人机校验")
        if img_base64:
            print("图片有base64")
            img_words = general_word(img_base64)
            clear_orc(token=token,key=img_words)
            return 0,0
        else:
            # print("没抓到base64")
            return 0,0
    elif "视频不见了" in info2: # 新的情况  下架
        print("视频不见了!!!")
        return -888,0
    else:
        print("没有人机校验这个东西 是否找到??/",info,info2)
        return 0,0

# 验证码解决
def clear_orc(token,key):
    url = "https://sec.biliapi.net/th/captcha/check"

    payload = 'token={token}&key={key}'.format(token=token,key=key)
    headers = {
      'Connection': 'keep-alive',
      'Accept': '*/*',
      'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36',
      'Content-Type': 'application/x-www-form-urlencoded',
      'Origin': 'https://www.bilibili.com',
      'Sec-Fetch-Site': 'cross-site',
      'Sec-Fetch-Mode': 'cors',
      'Sec-Fetch-Dest': 'empty',
      'Referer': 'https://www.bilibili.com/video/av37366708',
      'Accept-Language': 'zh-CN,zh;q=0.9'
    }

    response = requests.request("POST", url, headers=headers, data = payload)

    # print(response.text)
    dic_info = json.loads(response.text)
    if dic_info["code"] != -1:
        print("token是 = {} 识别的图片是 = {}".format(token, key))
        print("哔哩哔哩 识别成功!!!")
        return True
    else:
        print("token是 = {} 识别的图片是 = {}".format(token, key))
        print("哔哩哔哩 识别失败 请重试!!!")
        print(response.text)
        return False
        

2.视频下架
在这里插入图片描述

已经包含在上 当 “视频不见了“ 存在返回的内容当中时 判断为 视频下架

github项目 :

欢迎star ,

;