Skip to content
New issue

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

I can't download mp3s #80

Closed
Zakirzhan opened this issue Aug 24, 2020 · 24 comments
Closed

I can't download mp3s #80

Zakirzhan opened this issue Aug 24, 2020 · 24 comments

Comments

@Zakirzhan
Copy link

I can't download/stream mp3s via generated urls
Снимок экрана 2020-08-24 в 20 22 57
file datmusic.log
Снимок экрана 2020-08-24 в 20 24 50
How can I fix this problem?

@alashow
Copy link
Owner

alashow commented Aug 25, 2020

Check why curl can't download by debugging what happens here.

@LevanQerdikashvili
Copy link

hello, i have simillar problem.

how can solve it ?
:(
image

search working.
img url working
stream and download not working.

@alashow
Copy link
Owner

alashow commented Sep 3, 2020

Check my previous comment. The stacktrace doesn't give any information about why it's failing.

@LevanQerdikashvili
Copy link

I cann't fix this problem. please help me

when file saved example
image
it's 0 byte.
and

image

why not returned mp3 url? is this problem ?

@alashow
Copy link
Owner

alashow commented Sep 4, 2020 via email

@LevanQerdikashvili
Copy link

https://imus.ge/search?q=eminem&page=1

I added item in search

image

@alashow
Copy link
Owner

alashow commented Sep 4, 2020 via email

@LevanQerdikashvili
Copy link

LevanQerdikashvili commented Sep 4, 2020

for tokkens I used this
https://vkhost.github.io/ (VK ADMIN)
image

user agent default (I have not changed anything)

image

@alashow
Copy link
Owner

alashow commented Sep 4, 2020 via email

@LevanQerdikashvili
Copy link

when I used kate mobile key
result is : {"status":"error","error":{"message":"Token confirmation required","code":25}}

@LevanQerdikashvili
Copy link

mp3 cache time now 1 secconds for testing.

@alashow
Copy link
Owner

alashow commented Sep 4, 2020 via email

@LevanQerdikashvili
Copy link

ok. I believe everything will be fine :))))

@alashow
Copy link
Owner

alashow commented Sep 4, 2020 via email

@LevanQerdikashvili
Copy link

oooh yess :) working mp3 url.

but :D

dl and stream no.

https://api.imus.ge//dl/774fc0aa/884768df

@alashow
Copy link
Owner

alashow commented Sep 4, 2020

Dump the mp3 url where it fails to download with 404 or something. It's probably empty URLs again. Did you match tokens with correct user agents?

@LevanQerdikashvili
Copy link

problem was tokken and not user agent.
now I used for tokken
https://vkserv.ru/api/inst/token

VK.ME (kate not working)

now mp3 urls working but dl and stream not working (I am trying to solve this).

@alashow
Copy link
Owner

alashow commented Sep 4, 2020

now mp3 urls working but dl and stream not working (I am trying to solve this).

mp3 URLs working and dl/stream not working doesn't make sense. Try this

@alashow
Copy link
Owner

alashow commented Sep 5, 2020

I updated the code to use newer API and now I use VK Android-s tokens.

@LevanQerdikashvili
Copy link

LevanQerdikashvili commented Sep 5, 2020

@alashow

  1. can I find audio via ID? ( I want to create page example example.com/eminem/beautiful )
  2. can I find similar audio files by genres or audio ID?
  3. can I find lyrics?

@LevanQerdikashvili
Copy link

@alashow

how can solve it ?

image

@alashow
Copy link
Owner

alashow commented Sep 13, 2020 via email

@alashow
Copy link
Owner

alashow commented Sep 14, 2020

Captcha resolution should work correctly if you type the correct captcha key. The first one is correct, you need to submit the guessed captcha key, not the URL to it.

@alashow alashow closed this as completed Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants