We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$api = new Meting('kugou'); // https://www.kugou.com/song/#hash=F3D186764676A1C1D16A9A83AC453730&album_id=41437839 //$data = $api->song('F3D186764676A1C1D16A9A83AC453730'); //$data = $api->pic('F3D186764676A1C1D16A9A83AC453730'); //$data = $api->lyric('F3D186764676A1C1D16A9A83AC453730'); $data = $api->url('F3D186764676A1C1D16A9A83AC453730'); echo $data;
酷狗
imgUrl
$api->url('F3D186764676A1C1D16A9A83AC453730'); 输出如下:
$api->url('F3D186764676A1C1D16A9A83AC453730');
{ "status": 1, "error_code": 0, "message": "", "appid_group": 1, "should_cache": 1, "data": [ { "type": "audio", "id": 93580397, "album_id": "0", "recommend_album_id": "41437839", "album_audio_id": 292597430, "hash": "F3D186764676A1C1D16A9A83AC453730", "name": "洛少爷 - 庆新岁", "singername": "洛少爷", "albumname": "庆新岁", "level": 2, "expire": 0, "publish": 1, "old_hide": 1, "privilege": 8, "status": 0, "fail_process": 4, "pay_type": 3, "price": 200, "pkg_price": 1, "topic_url": "", "topic_remark": "", "info": { "duration": 202000, "filesize": 3233526, "bitrate": 128, "extname": "mp3", "flag": 100, "image": "http://imge.kugou.com/stdmusic/{size}/20210126/20210126142307404091.jpg", "imgsize": [ 480, 400, 240, 150, 135, 120, 110, 100, 93, 64 ], "intro": "" }, "discount": [ ], "start_time": "0000-00-00", "end_time": "0000-00-00", "cd_url": "", "cid": 131321181, "old_cpy": 0, "rebuy_pay_type": 0, "is_search_top": 0, "pay_block_text": "0", "is_separate": 0, "buy_count": 1084, "buy_count_vip": 1061, "buy_count_kubi": 23, "buy_count_audios": 0, "trans_param": { "hash_offset": { "start_byte": 0, "end_byte": 960117, "start_ms": 0, "end_ms": 60000, "offset_hash": "3CA3BBB705B794EE14307F1E3501F06F", "file_type": 0 }, "musicpack_advance": 0, "pay_block_tpl": 1, "display": 0, "display_rate": 0, "appid_block": "3124", "cpy_grade": 5, "cpy_level": 1, "cid": 131321181, "cpy_attr0": 0 }, "_msg": "", "_errno": 0, "relate_goods": [ { "type": "audio", "id": 93580397, "album_id": "41437839", "recommend_album_id": "0", "album_audio_id": 292597430, "hash": "F3D186764676A1C1D16A9A83AC453730", "name": "洛少爷 - 庆新岁", "singername": "洛少爷", "albumname": "庆新岁", "level": 2, "expire": 0, "publish": 1, "old_hide": 1, "privilege": 8, "status": 0, "fail_process": 4, "pay_type": 3, "price": 200, "pkg_price": 1, "topic_url": "", "topic_remark": "", "info": { "duration": 202000, "filesize": 3233526, "bitrate": 128, "extname": "mp3", "flag": 100, "image": "http://imge.kugou.com/stdmusic/{size}/20210126/20210126142307404091.jpg", "imgsize": [ 480, 400, 240, 150, 135, 120, 110, 100, 93, 64 ], "intro": "" }, "discount": [ ], "start_time": "0000-00-00", "end_time": "0000-00-00", "cd_url": "", "cid": 131321181, "old_cpy": 0, "rebuy_pay_type": 0, "is_search_top": 0, "pay_block_text": "0", "is_separate": 0, "buy_count": 1084, "buy_count_vip": 1061, "buy_count_kubi": 23, "buy_count_audios": 0, "trans_param": { "hash_offset": { "start_byte": 0, "end_byte": 960117, "start_ms": 0, "end_ms": 60000, "offset_hash": "3CA3BBB705B794EE14307F1E3501F06F", "file_type": 0 }, "musicpack_advance": 0, "pay_block_tpl": 1, "display": 0, "display_rate": 0, "appid_block": "3124", "cpy_grade": 5, "cpy_level": 1, "cid": 131321181, "cpy_attr0": 0 }, "_msg": "", "_errno": 0, "relate_goods": [ ] }, { "type": "audio", "id": 93580397, "album_id": "41437839", "recommend_album_id": "0", "album_audio_id": 292597430, "hash": "7FE462E9E07DBC55180AC85CE897DBC6", "name": "洛少爷 - 庆新岁", "singername": "洛少爷", "albumname": "庆新岁", "level": 4, "expire": 0, "publish": 1, "old_hide": 1, "privilege": 10, "status": 0, "fail_process": 4, "pay_type": 3, "price": 200, "pkg_price": 1, "topic_url": "", "topic_remark": "", "info": { "duration": 202000, "filesize": 8083524, "bitrate": 320, "extname": "mp3", "flag": 100, "image": "http://imge.kugou.com/stdmusic/{size}/20210126/20210126142307404091.jpg", "imgsize": [ 480, 400, 240, 150, 135, 120, 110, 100, 93, 64 ], "intro": "" }, "discount": [ ], "start_time": "0000-00-00", "end_time": "0000-00-00", "cd_url": "", "cid": 131321181, "old_cpy": 0, "rebuy_pay_type": 0, "is_search_top": 0, "pay_block_text": "0", "is_separate": 0, "buy_count": 1084, "buy_count_vip": 1061, "buy_count_kubi": 23, "buy_count_audios": 0, "trans_param": { "musicpack_advance": 0, "pay_block_tpl": 1, "display": 0, "display_rate": 0, "appid_block": "3124", "cpy_grade": 5, "cpy_level": 1, "cid": 131321181, "cpy_attr0": 0 }, "_msg": "", "_errno": 0, "relate_goods": [ ] }, { "type": "audio", "id": 93580397, "album_id": "41437839", "recommend_album_id": "0", "album_audio_id": 292597430, "hash": "34DC58E3AA450FBEA848D7DABE455E94", "name": "洛少爷 - 庆新岁", "singername": "洛少爷", "albumname": "庆新岁", "level": 5, "expire": 0, "publish": 1, "old_hide": 1, "privilege": 10, "status": 0, "fail_process": 4, "pay_type": 3, "price": 200, "pkg_price": 1, "topic_url": "", "topic_remark": "", "info": { "duration": 202030, "filesize": 23910253, "bitrate": 946, "extname": "flac", "flag": 100, "image": "http://imge.kugou.com/stdmusic/{size}/20210126/20210126142307404091.jpg", "imgsize": [ 480, 400, 240, 150, 135, 120, 110, 100, 93, 64 ], "intro": "" }, "discount": [ ], "start_time": "0000-00-00", "end_time": "0000-00-00", "cd_url": "", "cid": 131321181, "old_cpy": 0, "rebuy_pay_type": 0, "is_search_top": 0, "pay_block_text": "0", "is_separate": 0, "buy_count": 1084, "buy_count_vip": 1061, "buy_count_kubi": 23, "buy_count_audios": 0, "trans_param": { "musicpack_advance": 0, "pay_block_tpl": 1, "display": 0, "display_rate": 0, "appid_block": "3124", "cpy_grade": 5, "cpy_level": 1, "cid": 131321181, "cpy_attr0": 0 }, "_msg": "", "_errno": 0, "relate_goods": [ ] } ] } ] }
{ "status": 1, "error_code": 0, "message": "", "appid_group": 1, "should_cache": 1, "data": [ { "type": "audio", "id": 93580397, "album_id": "0", "recommend_album_id": "41437839", "album_audio_id": 292597430, "hash": "F3D186764676A1C1D16A9A83AC453730", "name": "洛少爷 - 庆新岁", "singername": "洛少爷", "albumname": "庆新岁", "level": 2, "expire": 0, "publish": 1, "old_hide": 1, "privilege": 8, "status": 0, "fail_process": 4, "pay_type": 3, "price": 200, "pkg_price": 1, "topic_url": "", "topic_remark": "", "info": { "duration": 202000, "filesize": 3233526, "bitrate": 128, "extname": "mp3", "flag": 100, "image": "http://imge.kugou.com/stdmusic/{size}/20210126/20210126142307404091.jpg", "imgsize": [ 480, 400, 240, 150, 135, 120, 110, 100, 93, 64 ], "intro": "" }, "discount": [ ], "start_time": "0000-00-00", "end_time": "0000-00-00", "cd_url": "", "cid": 131321181, "old_cpy": 0, "rebuy_pay_type": 0, "is_search_top": 0, "pay_block_text": "0", "is_separate": 0, "buy_count": 1084, "buy_count_vip": 1061, "buy_count_kubi": 23, "buy_count_audios": 0, "trans_param": { "hash_offset": { "start_byte": 0, "end_byte": 960117, "start_ms": 0, "end_ms": 60000, "offset_hash": "3CA3BBB705B794EE14307F1E3501F06F", "file_type": 0 }, "musicpack_advance": 0, "pay_block_tpl": 1, "display": 0, "display_rate": 0, "appid_block": "3124", "cpy_grade": 5, "cpy_level": 1, "cid": 131321181, "cpy_attr0": 0 }, "_msg": "", "_errno": 0, "relate_goods": [ { "type": "audio", "id": 93580397, "album_id": "41437839", "recommend_album_id": "0", "album_audio_id": 292597430, "hash": "F3D186764676A1C1D16A9A83AC453730", "name": "洛少爷 - 庆新岁", "singername": "洛少爷", "albumname": "庆新岁", "level": 2, "expire": 0, "publish": 1, "old_hide": 1, "privilege": 8, "status": 0, "fail_process": 4, "pay_type": 3, "price": 200, "pkg_price": 1, "topic_url": "", "topic_remark": "", "info": { "duration": 202000, "filesize": 3233526, "bitrate": 128, "extname": "mp3", "flag": 100, "image": "http://imge.kugou.com/stdmusic/{size}/20210126/20210126142307404091.jpg", "imgsize": [ 480, 400, 240, 150, 135, 120, 110, 100, 93, 64 ], "intro": "" }, "discount": [ ], "start_time": "0000-00-00", "end_time": "0000-00-00", "cd_url": "", "cid": 131321181, "old_cpy": 0, "rebuy_pay_type": 0, "is_search_top": 0, "pay_block_text": "0", "is_separate": 0, "buy_count": 1084, "buy_count_vip": 1061, "buy_count_kubi": 23, "buy_count_audios": 0, "trans_param": { "hash_offset": { "start_byte": 0, "end_byte": 960117, "start_ms": 0, "end_ms": 60000, "offset_hash": "3CA3BBB705B794EE14307F1E3501F06F", "file_type": 0 }, "musicpack_advance": 0, "pay_block_tpl": 1, "display": 0, "display_rate": 0, "appid_block": "3124", "cpy_grade": 5, "cpy_level": 1, "cid": 131321181, "cpy_attr0": 0 }, "_msg": "", "_errno": 0, "relate_goods": [ ] }, { "type": "audio", "id": 93580397, "album_id": "41437839", "recommend_album_id": "0", "album_audio_id": 292597430, "hash": "7FE462E9E07DBC55180AC85CE897DBC6", "name": "洛少爷 - 庆新岁", "singername": "洛少爷", "albumname": "庆新岁", "level": 4, "expire": 0, "publish": 1, "old_hide": 1, "privilege": 10, "status": 0, "fail_process": 4, "pay_type": 3, "price": 200, "pkg_price": 1, "topic_url": "", "topic_remark": "", "info": { "duration": 202000, "filesize": 8083524, "bitrate": 320, "extname": "mp3", "flag": 100, "image": "http://imge.kugou.com/stdmusic/{size}/20210126/20210126142307404091.jpg", "imgsize": [ 480, 400, 240, 150, 135, 120, 110, 100, 93, 64 ], "intro": "" }, "discount": [ ], "start_time": "0000-00-00", "end_time": "0000-00-00", "cd_url": "", "cid": 131321181, "old_cpy": 0, "rebuy_pay_type": 0, "is_search_top": 0, "pay_block_text": "0", "is_separate": 0, "buy_count": 1084, "buy_count_vip": 1061, "buy_count_kubi": 23, "buy_count_audios": 0, "trans_param": { "musicpack_advance": 0, "pay_block_tpl": 1, "display": 0, "display_rate": 0, "appid_block": "3124", "cpy_grade": 5, "cpy_level": 1, "cid": 131321181, "cpy_attr0": 0 }, "_msg": "", "_errno": 0, "relate_goods": [ ] }, { "type": "audio", "id": 93580397, "album_id": "41437839", "recommend_album_id": "0", "album_audio_id": 292597430, "hash": "34DC58E3AA450FBEA848D7DABE455E94", "name": "洛少爷 - 庆新岁", "singername": "洛少爷", "albumname": "庆新岁", "level": 5, "expire": 0, "publish": 1, "old_hide": 1, "privilege": 10, "status": 0, "fail_process": 4, "pay_type": 3, "price": 200, "pkg_price": 1, "topic_url": "", "topic_remark": "", "info": { "duration": 202030, "filesize": 23910253, "bitrate": 946, "extname": "flac", "flag": 100, "image": "http://imge.kugou.com/stdmusic/{size}/20210126/20210126142307404091.jpg", "imgsize": [ 480, 400, 240, 150, 135, 120, 110, 100, 93, 64 ], "intro": "" }, "discount": [ ], "start_time": "0000-00-00", "end_time": "0000-00-00", "cd_url": "", "cid": 131321181, "old_cpy": 0, "rebuy_pay_type": 0, "is_search_top": 0, "pay_block_text": "0", "is_separate": 0, "buy_count": 1084, "buy_count_vip": 1061, "buy_count_kubi": 23, "buy_count_audios": 0, "trans_param": { "musicpack_advance": 0, "pay_block_tpl": 1, "display": 0, "display_rate": 0, "appid_block": "3124", "cpy_grade": 5, "cpy_level": 1, "cid": 131321181, "cpy_attr0": 0 }, "_msg": "", "_errno": 0, "relate_goods": [ ] } ] }
], "start_time": "0000-00-00", "end_time": "0000-00-00", "cd_url": "", "cid": 131321181, "old_cpy": 0, "rebuy_pay_type": 0, "is_search_top": 0, "pay_block_text": "0", "is_separate": 0, "buy_count": 1084, "buy_count_vip": 1061, "buy_count_kubi": 23, "buy_count_audios": 0, "trans_param": { "hash_offset": { "start_byte": 0, "end_byte": 960117, "start_ms": 0, "end_ms": 60000, "offset_hash": "3CA3BBB705B794EE14307F1E3501F06F", "file_type": 0 }, "musicpack_advance": 0, "pay_block_tpl": 1, "display": 0, "display_rate": 0, "appid_block": "3124", "cpy_grade": 5, "cpy_level": 1, "cid": 131321181, "cpy_attr0": 0 }, "_msg": "", "_errno": 0, "relate_goods": [ { "type": "audio", "id": 93580397, "album_id": "41437839", "recommend_album_id": "0", "album_audio_id": 292597430, "hash": "F3D186764676A1C1D16A9A83AC453730", "name": "洛少爷 - 庆新岁", "singername": "洛少爷", "albumname": "庆新岁", "level": 2, "expire": 0, "publish": 1, "old_hide": 1, "privilege": 8, "status": 0, "fail_process": 4, "pay_type": 3, "price": 200, "pkg_price": 1, "topic_url": "", "topic_remark": "", "info": { "duration": 202000, "filesize": 3233526, "bitrate": 128, "extname": "mp3", "flag": 100, "image": "http://imge.kugou.com/stdmusic/{size}/20210126/20210126142307404091.jpg", "imgsize": [ 480, 400, 240, 150, 135, 120, 110, 100, 93, 64 ], "intro": "" }, "discount": [ ], "start_time": "0000-00-00", "end_time": "0000-00-00", "cd_url": "", "cid": 131321181, "old_cpy": 0, "rebuy_pay_type": 0, "is_search_top": 0, "pay_block_text": "0", "is_separate": 0, "buy_count": 1084, "buy_count_vip": 1061, "buy_count_kubi": 23, "buy_count_audios": 0, "trans_param": { "hash_offset": { "start_byte": 0, "end_byte": 960117, "start_ms": 0, "end_ms": 60000, "offset_hash": "3CA3BBB705B794EE14307F1E3501F06F", "file_type": 0 }, "musicpack_advance": 0, "pay_block_tpl": 1, "display": 0, "display_rate": 0, "appid_block": "3124", "cpy_grade": 5, "cpy_level": 1, "cid": 131321181, "cpy_attr0": 0 }, "_msg": "", "_errno": 0, "relate_goods": [ ] }, { "type": "audio", "id": 93580397, "album_id": "41437839", "recommend_album_id": "0", "album_audio_id": 292597430, "hash": "7FE462E9E07DBC55180AC85CE897DBC6", "name": "洛少爷 - 庆新岁", "singername": "洛少爷", "albumname": "庆新岁", "level": 4, "expire": 0, "publish": 1, "old_hide": 1, "privilege": 10, "status": 0, "fail_process": 4, "pay_type": 3, "price": 200, "pkg_price": 1, "topic_url": "", "topic_remark": "", "info": { "duration": 202000, "filesize": 8083524, "bitrate": 320, "extname": "mp3", "flag": 100, "image": "http://imge.kugou.com/stdmusic/{size}/20210126/20210126142307404091.jpg", "imgsize": [ 480, 400, 240, 150, 135, 120, 110, 100, 93, 64 ], "intro": "" }, "discount": [ ], "start_time": "0000-00-00", "end_time": "0000-00-00", "cd_url": "", "cid": 131321181, "old_cpy": 0, "rebuy_pay_type": 0, "is_search_top": 0, "pay_block_text": "0", "is_separate": 0, "buy_count": 1084, "buy_count_vip": 1061, "buy_count_kubi": 23, "buy_count_audios": 0, "trans_param": { "musicpack_advance": 0, "pay_block_tpl": 1, "display": 0, "display_rate": 0, "appid_block": "3124", "cpy_grade": 5, "cpy_level": 1, "cid": 131321181, "cpy_attr0": 0 }, "_msg": "", "_errno": 0, "relate_goods": [ ] }, { "type": "audio", "id": 93580397, "album_id": "41437839", "recommend_album_id": "0", "album_audio_id": 292597430, "hash": "34DC58E3AA450FBEA848D7DABE455E94", "name": "洛少爷 - 庆新岁", "singername": "洛少爷", "albumname": "庆新岁", "level": 5, "expire": 0, "publish": 1, "old_hide": 1, "privilege": 10, "status": 0, "fail_process": 4, "pay_type": 3, "price": 200, "pkg_price": 1, "topic_url": "", "topic_remark": "", "info": { "duration": 202030, "filesize": 23910253, "bitrate": 946, "extname": "flac", "flag": 100, "image": "http://imge.kugou.com/stdmusic/{size}/20210126/20210126142307404091.jpg", "imgsize": [ 480, 400, 240, 150, 135, 120, 110, 100, 93, 64 ], "intro": "" }, "discount": [ ], "start_time": "0000-00-00", "end_time": "0000-00-00", "cd_url": "", "cid": 131321181, "old_cpy": 0, "rebuy_pay_type": 0, "is_search_top": 0, "pay_block_text": "0", "is_separate": 0, "buy_count": 1084, "buy_count_vip": 1061, "buy_count_kubi": 23, "buy_count_audios": 0, "trans_param": { "musicpack_advance": 0, "pay_block_tpl": 1, "display": 0, "display_rate": 0, "appid_block": "3124", "cpy_grade": 5, "cpy_level": 1, "cid": 131321181, "cpy_attr0": 0 }, "_msg": "", "_errno": 0, "relate_goods": [ ] } ] }
] }
PS: 虾米音乐好像已经没一个可用了
The text was updated successfully, but these errors were encountered:
No branches or pull requests
酷狗
imgUrl
了$api->url('F3D186764676A1C1D16A9A83AC453730');
输出如下:展开查看
PS: 虾米音乐好像已经没一个可用了
The text was updated successfully, but these errors were encountered: