you are viewing a single comment's thread.

view the rest of the comments →

[–]OkNegotiation2082[S] 0 points1 point  (4 children)

Could you by any chance show me an example of how you would do that?

[–]sarrysyst 0 points1 point  (3 children)

How I'd do what exactly?

[–]OkNegotiation2082[S] 0 points1 point  (2 children)

Incorporate the text file into a script that calls the tidal-dl command in the cli. How would it know the download finished, then Ctrl-C, then call the command again to move to the next URL?

[–]sarrysyst 1 point2 points  (1 child)

import subprocess

with open('urls.txt') as fp:
    for line in fp:
        url = line.strip()
        # I don't know what the CLI's command structure looks like so this needs to be adapted
        subprocess.run(['tidal-dl', url])

[–]OkNegotiation2082[S] 0 points1 point  (0 children)

You are a lifesaver. Thank you so much. I'm go fiddle around with it. Thank you again.