Coder Social home page Coder Social logo

Comments (66)

superdima05 avatar superdima05 commented on August 19, 2024

You tried to download using VPN? Or you created an account with VPN?

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

Account created with VPN.
No VPN running when using your script.

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

Ok, can you give playlist id? Because I tried download single track, and it downloaded

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

My TIDAL Account was created using UK VPN

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

https://listen.tidal.com/playlist/4ee0563e-3d8f-4a42-bc3e-5a2e6e3efaa7

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

Ok that's weird, it's grayed out in the playlist for me.
When sharing the link of the track https://tidal.com/track/1442725, i can play it.

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

image

image

I can play it, and script can download it.

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

Try to use VPN

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

Playlist is made with Dutch account.
Will try to create/clone playlist on same UK account.

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

image

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

OK, try

image

I used Python 2 version, but I think Python 3 version will work

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

Will try VPN set to UK aswell.

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

image

image

Weird.

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

Do you have Russia VPN? Because, I am in Russia, and can play this track normally.

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

Can you play this track from album? Not from playlist.

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

Dinner time. Be right back =)

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

OK.

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

I can only play the 1st 30 seconds or preview.
When searching up the track using search in Tidl's webplayer, it doesn't show the track.
So yes, it's region-block.

image

When I imported the original playlist url with soundiiz and converted it to my UK account,
It's not 295 tracks, but 262 tracks. So it filters out the region-blocked ones, I bet.
https://listen.tidal.com/playlist/a015e869-07e9-4cbd-8052-eecafe412140

Will try VPN set to Russia for complete picture.

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

If it region-block, I can't fix it on script-side.

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

I will try this track in different countries.

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

Windscribe + Tunnelbear not supporting Russia VPN in free version.

Solution 1: user should delete the grayed out tracks from playlist, before using your script.
Solution 2: catch the error with your script, and continue.

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

I encountered this using playlist https://listen.tidal.com/playlist/a015e869-07e9-4cbd-8052-eecafe412140
image

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

This script can download only HI-FI tracks, this track "Movin Too Fast" isn't in Flac format, it in mp3.
You can see it in the url. The url contains ".m4a"

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

I can add check. If track in FLAC

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

That would be great!
Otherwise, user has to first review which tracks are Hi-Fi: not ideal.

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

Ok, I will add this. But now I am trying to download this track using VPN

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

I can download this track using VPN. I tested 5 countries

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

Can you give me track id?

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

https://gyazo.com/f23aa3000a2ea6020145a851d1787361
https://tidal.com/browse/track/1442725

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

I did the checks, I will check it and upload.

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

Try now

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

https://gyazo.com/c6d15c9df6e7233055ac150c5a463ae4

So far So good^

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

image
There's ''Movin' Too Fast''

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

Ouch...
image

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

I am going to fix it 👍

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

Can you download this track in browser, by direct link?

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

I updated python3 branch, please check it

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

ok

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

image

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

Will try to d/l that track on its own now.

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

I understood, maybe the problem with character "?"

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

What do you think about that?

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

Try to download this track, without playlist. ID of this track is "5917380"

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

ok

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

Same error.
It's defo a character thingie.
U know, UTF-8 vs. ANSI, something.
I can try on Mac, like u, to doublecheck?

image

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

I was trying on Mac, and it can be download

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

You can change one line

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

oh ok, shoot.
installing Python at mac in between.

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

Try to change this line name = translit(""+track.name, "ru", reversed=True) to name = translit(""+track.name, "ru", reversed=True).replace("?", "")

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

Works with above change!

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

Will try to d/l playlist again, to see if there's no limitation.

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

ok

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

Still going on strong on Windows/Playlist.

Never mind lol. NEVER use Texteditor on a .py file =)

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

Prolly the " thingie?
image

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

I know how to fix it

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

I will update script after 10 minutes

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

Yes, I only use Sublime Text 3 on Mac

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

I fixed it, try the new version of script.

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

ok

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

'music/Teardrops Lovestation Classic 12" Mix.flac'
fails again.
Copy/paste that " thingie from above, so u have the right character?

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

I see the difficulty: .replace(""", "") is refused;
SyntaxError: EOF while scanning triple-quoted string literal
So u used .replace(")", "") instead, but doesn't catch it off, so it seems.

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

Ok, I will fix it later. Because now in Russia 01:21 am. And I want to sleep.

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

Is ok bro, thanks for helping me out!
Good night.

from tidalgrabber.

superdima05 avatar superdima05 commented on August 19, 2024

Good night too

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

adding .replace('"', "")
...does the trick!

from tidalgrabber.

bascurtiz avatar bascurtiz commented on August 19, 2024

Playlist complete 👍
Will try more playlists tomorrow.
image

from tidalgrabber.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.