-
-
Save vic4key/9144dfeee432504fa750558fafef7e18 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- lấy bài hát liên quan: | |
http://mp3.zing.vn/xhr/recommend?type=audio&id=ZW67OIA0 | |
- lấy data thông qua key: | |
http://mp3.zing.vn/xhr/media/get-source?type=audio&key=kmJHTZHNCVaSmSuymyFHLH | |
http://mp3.zing.vn/html5xml/song-xml/kmJHTZHNCVaSmSuymyFHLH | |
- lấy info bài hát | |
https://mp3.zing.vn/xhr/media/get-info?type=audio&id=ZW8I7AAI | |
- tìm bài hát: | |
http://ac.mp3.zing.vn/complete?type=artist,song,key,code&num=500&query=Anh Thế Giới Và Em | |
- bảng xếp hạng: | |
http://mp3.zing.vn/xhr/chart-realtime?songId=0&videoId=0&albumId=0&chart=song&time=-1 | |
- Lấy info video: | |
http://api.mp3.zing.vn/api/mobile/video/getvideoinfo?keycode=fafd463e2131914934b73310aa34a23f&requestdata={"id":"ZWADA0OW"} | |
*Lưu ý cách tìm key của bài hát: | |
- Bấm view source trong link mp3.zing.vn (dùng zingmp3.vn sẽ ko ra kết quả) | |
- Tìm theo keyword data-xml, vd link này, chỉ cần Ctrl + F là thấy. | |
view-source:https://mp3.zing.vn/bai-hat/Cho-Toi-Lang-Thang-Ngot-Den/ZW79DF7C.html | |
=> data-xml="/media/get-source?type=audio&key=kHcnyZGspxapQJHyHTbnZHyZCDzHVmzZH" data-id="ZW79DF7C" | |
Vậy ta có key=kHcnyZGspxapQJHyHTbnZHyZCDzHVmzZH chính là thứ cần tìm, làm tương tự cho bai-hat, playlist. | |
* Tham khảo thêm: | |
- https://vovanhoangtuan.medium.com/55f5fa555eda |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment