alashow / datmusic Goto Github PK
View Code? Open in Web Editor NEWSearch and download free music from VK.
Home Page: https://datmusic.xyz
License: MIT License
Search and download free music from VK.
Home Page: https://datmusic.xyz
License: MIT License
Error: Flood control: too much captcha requests
I have been seeing it since 2 days ago. Just reporting it.
Hello. Why do I get "Network error!" when I try to open html page on my host?
inline doesnt work anything and doesnt show any music or someting like that
XMLHttpRequest cannot load http://localhost:8000/search/search?q=Aloe+Black&page=0. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access. The response had HTTP status code 403.
Hi, Captcha's are not loading.
The image link gives this error:
The following error(s) occured:
GD Library Error: imagecreatetruecolor does not exist - please contact your webhost and ask them to install the GD library
Query String : w=200&src=https://api.vk.com/captcha.php?sid=651440847063&s=1
TimThumb version : 2.8.14```
I tried this on my local but i cant find where to configure that.
Thanks,
Hi,
I once wrote a VK.com downloader too, but it broke down after the API change. Yours is better, anyway. But there is one feature I had that is missing here: automatic filtering of remixes. VK.com is cluttered with remixed versions of songs, and it is sometimes almost impossible to find the original one. My solution was using this regex (it's huge, I know, it had gained weight over time..):
/[ \[\],.:\)\(\-_](bass ?boost(ed)?|dub sound|remake|low bass|cover|(re)?mix|dj|bootleg|edit|aco?ustic|instrumental|karaoke|tribute|vs|rework|mash|rmx|(night|day|slow)core|remode|ringtone?|рингтон|РИНГТОН|Рингтон|звонок|минус)([ ,.:\[\]\)\(\-_].*)?$/gi
If you could implement the functionality as an option, it would be awesome.
The wiki page : https://github.com/alashow/datmusic/wiki which contains a sub heading for setup is blank.
Also no steps to setup the project.
Thank You!
network error on your website
When downloading, make sure the file is named completely
artist - song.mp3
For now, It takes only the first element artist
.
Maybe because of the interspaces ?
How to disable automatic search
Hi
There is a message from VK when I open the url with my APP_Id and client secret
Пожалуйста, не копируйте данные из адресной строки для сторонних сайтов. Таким образом Вы можете потерять доступ к Вашему аккаунту.
Translation (google):
Please do not copy the data from the Address bar to third-party websites. So you can lose access to your account.
Thanks for your help if you know how to resolve this problem
See U
Why there are repeated songs in the list when click "Load More"?
It happens sometime, not always.
before i was able to stream to a player with mpv or vlc
but now im getting this error in mpv
mpv https://api.datmusic.xyz/dl/df9f2438/e9b57878
Playing: https://api.datmusic.xyz/dl/df9f2438/e9b57878
[ytdl_hook] ERROR: Unable to download webpage: HTTP Error 502: Bad Gateway (caused by <HTTPError 502: 'Bad Gateway'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[ytdl_hook] youtube-dl failed, trying to play URL directly ...
[ffmpeg] https: HTTP error 502 Bad Gateway
Failed to open https://api.datmusic.xyz/dl/df9f2438/e9b57878.
Exiting... (Errors when loading file)
i dont think its a bug from mpv or youtube-dl since i have the newest versions.
the same happens with vlc.
Could be a good idea to filter results by quality removing those which has not enough quality
Здравствуйте, В веб-плеере https://datmusic.xyz отсутствует регулировка громкости программным ползунком, приходится увеличивать/уменьшать громкость системными средствами! Можно как-нибудь сделать регулировку громкости встроенную в плеер? Спасибо!
demo site error : Error: Flood control: too much captcha requests
and
My Host dont have nginx rewrite , i want off pretty url because not working for change app.js prettiy url : false
sorry bad language
Hi, it is I again...
I've got an issue again
Whatever file downloaded is 157 bytes in size, and clicking the listen button does nothing... However, the correct size of the files appears upon clicking on the "down" arrow prompting to choose other formats....
Cheers
Hi again,
I was wondering if you were considering a feature to show bitrates?
I understand that pulling the info for all the search queries would not be feasible, but seeing as you are already using php, you could perhaps calculate the bitrate of the current playing track?
I've looked high and low, and it seems impossible to accomplish in javascript.
Site doesnt work. Can you check this out?
Hey, so first of all your website is awesome, but secondly, since yesterday I'm facing an odd issue, every device I go on the website with gives me a Network Error, I updated nothing and they are just the devices I go by everyday... That error just popped in like that, even going as far as affecting the mobile app, any ideas where the problem could come from ?
Музыка не проигрывается на сайте.
https://api.datmusic.xyz/stream/66215afc/d1d154d7 - 504 ошибка
Hey,
I did everything from readme to install server side api. How can I test if it works? I'm new to nginx.
Pawel
Hello,
I updated my redirect URLs on api settings page but i got this error from vk;
{"error":"invalid_request","error_description":"redirect_uri is incorrect, check application redirect uri in the settings page"}
i am testing your script on; https://www.mp3ox.com/inc/music-master/index.php
upadted the lines on app.js & app.min.js;
app.js:
appUrl: window.location.protocol + "//www.mp3ox.com/inc/music-master/",
downloadServerUrl: window.location.protocol + "//www.mp3ox.com/inc/music-master/",
app.min.js:
g={title:"mp3ox",appUrl:window.location.protocol+"//www.mp3ox.com/inc/music-master/",downloadServerUrl:window.location.protocol+"//www.mp3ox.com/inc/music-master/",proxyMode:!0,proxyDownload:!0,captchaProxy:!
can you please help me with this?
thanks!
Hello.
So I have set up the same page, using my own api token.
For me it works fine, however when a friend in other country tries to use the page, they get a captcha error.
I have found this: https://vk.com/dev/captcha_error but am not sure how to implement it.
How did you find a way around this? - they have no issues with the version hosted here.
Hi, once again great work on the app!
I've worked on some features on my own, and have now just uploaded my work here:
https://github.com/drpoup/vkdl
I was originally planning on it being a fork of your project, but at this point I feel the differences are too great to consolidate it.
If you are really unhappy about this, I can take the repo down and reupload it as a fork.
Once again, good job couldn't have done it without your base code!
The result of calling https://api.datmusic.xyz/search?q=Beatles
:
{"status":"ok","data":[{"artist":"The Beatles","title":"Twist and Shout ","duration":156,"download":"https:\/\/api.datmusic.xyz\/0a6902c1\/e61f424c","stream":"https:\/\/api.datmusic.xyz\/stream\/0a6902c1\/e61f424c"},{"artist":"The Beatles","title":"Hello, Goodbye","duration":207,"download":"https:\/\/api.datmusic.xyz\/0a6902c1\/6e734026","stream":"https:\/\/api.datmusic.xyz\/stream\/0a6902c1\/6e734026"},{"artist":"Rae Sremmurd","title":"Black Beatles (MAKJ Remix)","duration":169,"download":"https:\/\/api.datmusic.xyz\/0a6902c1\/6f4d40d2","stream":"https:\/\/api.datmusic.xyz\/stream\/0a6902c1\/6f4d40d2"},...
But the same search on the web version yields:
Twist and Shout is missing. This can especially hurt some songs that have only one instance on VK.com.
Can be added to the lyrics? Plz 👍
Hello Alashow
I see there is new updates to music. It's working fine for me with Commits on Mar 1, 2016 - metas, I'm using it with no problems
After that, with recent commits, I've got some problems to play song on click when proxyMode & proxyDownload are enabled.
Furthermore, with download.php
I got this:
Parse error: syntax error, unexpected end of file in /www/download.php on line 251
Problem seems to come from line 61 to 90. My PHP Version is 5.6.24
See you & enjoy music
/ juh
I want to create a custom function which will chage the album art too..
i see that this code is doing a force download
function forceDownload($filePath, $fileName) { logDownload("$filePath $fileName"); checkIsBadMp3($filePath); header("Cache-Control: private"); header("Content-Description: File Transfer"); header("Content-Disposition: attachment; filename=\"" . sanitize($fileName, false, false) . ".mp3\""); header("Content-Type: audio/mpeg"); header("Content-length: " . filesize($filePath)); readfile($filePath); }
first i wanna know how much does this costs in performance of the server..
also i like this function because it directly outputs the file...
but i want to change it so that the file is directly outputted without downloading
also in the mean time i wanna change the album art and other id 3 tags and then output it to the user..
Hi, how can I run my own version of this?
Great tool by the way!
Can you create pagination for this script? Thanks
Hello guys!
Good news! Yesterday I started writing new the API/parser for VK website.
https://github.com/alashow/datmusic-api
I have removed the php side from this repo and left only the javascript side.
Downsides of new API
But anyways, it works. Better than nothing.
API needs some more work to be stable.
PR's are very welcome!
Thank you for using datmusic!
Hello everyone.
I was planning this for a while. Couldn't find time to learn Node.js itself. Opening this issue for to create task list and ask for help.
Converting to Node.js will have several advantages:
Any suggestions, contributions are very welcome! If you think you can help me with converting it, please contact me at [email protected]!
Thank you.
Best Regards, Alashov.
Hello ^_^
I think you should add volume control
Usage case: in game overlay browsers (Steam for example) while playing games you really want to lower the sound of music and not the game <3
Thanks for the awesome work.
Why Network error!?
I see that you use a token. I tried to get one from the vk developer's website after creating a app. but i am not able to get it.
But i have a few question... I am creating a real commercial level free music downloads website, so there will be a lot of searches. so i need to get my own token. and also i wanna know how long is a token valid.
Basically what i want to do is to make the website so that it needs less maintenance .
If the token is valid for many days. then its okay..
The target is to allow public to download music without the need to have a vk account. and authorise. it was better if vk audio api was available for public use but i need a workaround which is more foolproof..
So what rough edges do i have in there.. also how can i get a valid token..
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.