Sorrow446 / Beatport-Downloader

Beatport downloader written in Go.
37 stars 10 forks source link

Failed to parse segments error #1

Open xanthos84 opened 2 years ago

xanthos84 commented 2 years ago

hi, i have tried to run the tool - but getting stuck at 502 bad gateway.

Signed in successfully - Beatport LINK

Album 1 of 1:
Adelphi Music Factory - Save Me (Club Mix)
Downloading track 1 of 1: Save Me (Club Mix) - AAC 256
Failed to parse segments.
502 Bad Gateway

Can you help whats wrong? I also tried to run the go source code (but I have no go-knowledge) and so I end up with error:

root@ubuntu:/opt/Beatport-Downloader# go run main.go LINK_TO_BEATPORT

command-line-arguments

./main.go:48:10: undefined: Transport

Sorrow446 commented 2 years ago

Beatport patched it. I wanna fix it, but their Android app needs something like Android 11, and my emulator is only something like 9.

Running from source: ./go run main.go structs.go (URLs)...

xanthos84 commented 2 years ago

Oh I see. And you need the android app to reverse-engineer the web calls?

Sorrow446 commented 2 years ago

Yes, unpinning and sniffing is no problem. Just the version problem.

Sorrow446 commented 2 years ago

Am able to sniff now, but the app says invalid credentials. Tried on an unrooted device, too.

atarbig commented 2 years ago

i have error too (windows x64) Signed in successfully - Beatport LINK PRO

Album 1 of 1: Magnus, Fancy INC - Heaven Downloading track 1 of 1: Heaven (Extended Mix) - AAC 256 Failed to parse segments. 502 Bad Gateway

you can fix?

dpkiss commented 2 years ago

Let me know if its possible to use this script on windows 10. and if Yes please somebody can help me?!

atarbig commented 2 years ago

For windows 10 still error Failed to parse segments. 502 Bad Gateway

dpkiss commented 2 years ago

For windows 10 still error Failed to parse segments. 502 Bad Gateway

Thank you for your quick reply. So if want to run the script must to do this in ubuntu. Let me know if works for you in linux ubuntu to know if install this OS in WM or not.

Thanks

fcollienne-afelio commented 2 years ago

Same on macOS -> 502 Bad Gateway

pee2ach commented 2 years ago

would love to see an update :)

Sorrow446 commented 2 years ago

Can fix it when I have an account to use. I might just scrap this as it costs £30 a month to get 256 AAC (only the Pro plan allows 256).

mw-nfi commented 2 years ago

Even if you have the Pro plan, the web player only plays 128kbit/s.

So you would have to sniff Rekordbox or one of the other 3rd apps that support Link.

Sorrow446 commented 2 years ago

Official mobile app also supports 256.

mw-nfi commented 2 years ago

Ah cool. Can you update it ? I've tested with rekordbox and serato. But no luck.

Sorrow446 commented 2 years ago

When someone lends an account.

mw-nfi commented 2 years ago

Do you have an account? If you have Paypal, I can give you the link subscription for free for one month.

Do you need the advanced plan? Pro plan adds only offline storage.

Sorrow446 commented 2 years ago

I don't have PayPal, sorry. Would appreciate an already subscribed account. Pro allows 256.

mw-nfi commented 2 years ago

Are you using fiddler (Classing/Everywhere) for capture?

I could give you the captured logs? I would just need to know how to set the settings correctly.

modernmediagrp commented 1 year ago

need a pro plan? I'll hook you up.

DeletedByAccident commented 1 year ago

When someone lends an account.

Hi, I can lend you my account. I have the pro subscription which also comes with the 1000 track offline playback capability.

Just let me know how would you like me to share you the credentials :)

lalauz commented 1 year ago

anyone know how download in 256 kbps?

lalauz commented 1 year ago

Were you able to download any files? I managed to download it through the browser, but it's only 128 kbps files. I believe that in the android app or using programs like virtual dj or record box it is in 256 kbps aac

MattNguyen commented 1 year ago

DM me. Yes I got a solution

@modernmediagrp DM through what?

DeletedByAccident commented 1 year ago

DM me. Yes I got a solution

DM me. Yes I got a solution

@modernmediagrp DM through what?

Could we form a telegram group or something? We can exchange info through temp mail emails first as I don't like the idea of posting my IM handles publicly.

Would be awesome to get this to work again!

EDIT: temp mail is actually not convenient.

You can drop me a mail at the email address below, if you wish to exchange contacts. D-6py4jkp4hx7uhlyvel@maildrop.cc

DeletedByAccident commented 1 year ago

DM me. Yes I got a solution

Hi! Really interested in the fix if you can assist :) Github doesn't support DMs :/