Zingmp3 - A tool crawl data from zingmp3.vn
.
Update 07/03/2022: This repo was merged for yt-dlp
, pls use https://github.com/yt-dlp/yt-dlp
for download.
$ python zingmp3.py -h
usage: zingmp3.py [-h] [-c] [-s] [-j] [-l] [--add-index] url
Zingmp3 - A tool crawl data from zingmp3.vn
positional arguments:
url Url.
optional arguments:
-h, --help show this help message and exit
Authentication:
-c , --cookie Cookies for authenticate with.
Options:
-s , --save Path to save
-j, --json Show json of info media.
-l, --lyric Download only lyric.
--add-index Add index of playlist.
Language: Python3.x
Module: requests, colorama
pip install -r requirements.txt
-c
or --cookie
: Add cookies to auth-j
or --json
: Show json of info media.-s
or --save
: Path to save file downloaded.-l
or --lyric
: Download with lyric.--add-index
: Add index of playlist for title.--convert-mp3
: Convert the audio output to .mp3.https://zingmp3.vn/video-clip/.../<id>.html
https://zingmp3.vn/bai-hat/.../<id>.html
https://zingmp3.vn/playlist/.../<id>.html
https://zingmp3.vn/album/.../<id>.html
https://zingmp3.vn/embed/.../<id>.html
https://zingmp3.vn/the-loai-video/<slug>/<id>.html
https://zingmp3.vn/the-loai-album/<slug>/<id>.html
https://zingmp3.vn/nghe-si/<name_artist>/video
https://zingmp3.vn/nghe-si/<name_artist>/playlist
https://zingmp3.vn/nghe-si/<name_artist>/bai-hat
https://zingmp3.vn/nghe-si/<name_artist>/album
https://zingmp3.vn/<name_artist>/bai-hat
https://zingmp3.vn/<name_artist>/playlist
https://zingmp3.vn/<name_artist>/video
https://zingmp3.vn/<name_artist>/album
https://zingmp3.vn/zing-chart/bai-hat.html
https://zingmp3.vn/zing-chart/video.html
https://zingmp3.vn/zing-chart-tuan/bai-hat-Viet-Nam/<id>.html
https://zingmp3.vn/zing-chart-tuan/video-US-UK/<id>.html
https://zingmp3.vn/top-new-release/index.html
If you want to use your account VIP to download quality list 320 or lossless
1. Download extension from chrome store cookies.txt
2. Go to page zingmp3
3. Click to icon cookies.txt just download
4. Click to click here
and save file cookies.txt
5. Get cookies.txt then put it to them same path with tool, then run
Sometime cookies will die, Pls follow the steps above to update the new cookies.
If you don't set cookies, tool will download default quality like 128 ...
Install module
pip install -r requirements.txt
Run
python zingmp3.py https://zingmp3.vn/bai-hat/Khoc-Cung-Em-Mr-Siro-Gray-Wind/ZWBI0DFI.html
Download with cookies
python zingmp3.py -c cookies.txt https://zingmp3.vn/bai-hat/Khoc-Cung-Em-Mr-Siro-Gray-Wind/ZWBI0DFI.html
Show json of info media
python zingmp3.py -j https://zingmp3.vn/bai-hat/Khoc-Cung-Em-Mr-Siro-Gray-Wind/ZWBI0DFI.html
zingmp3 issues