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

How to download multiple url from txt file? #191

Closed
johnredfield2099 opened this issue Sep 4, 2022 · 10 comments
Closed

How to download multiple url from txt file? #191

johnredfield2099 opened this issue Sep 4, 2022 · 10 comments

Comments

@johnredfield2099
Copy link

Hi , thank very much for the app. Is amazing,

I want download multiple links url from a text file , in one command
Usin this custom command
I want to put the Batch download of txt URL list command in this .

-S res:480 -o "%(upload_date>%Y.%m.%d)s %(title)s.%(ext)s" --no-overwrites

How cant i do this.

@JunkFood02
Copy link
Owner

JunkFood02 commented Sep 4, 2022

This cannot be done in current versions, but you can put the first URL in the "video link" text field and paste rest of them to the end of the template for a workaround like this:

-S res:480 -o "%(upload_date>%Y.%m.%d)s %(title)s.%(ext)s" --no-overwrites URL2 URL3 URL4 ...

And input URL1 in the text field to avoid "empty link" error

@johnredfield2099
Copy link
Author

Thanks .

@K4Z3R0
Copy link

K4Z3R0 commented Sep 5, 2022

You can use termux as alternative, using the -a flag, e.g yt-dlp -a yt.txt we already have cookies support and maybe it would be better to also have it in the future as well.

@Botan626
Copy link

Botan626 commented Sep 6, 2022

Terrific idea to download videos with links from txt file. Can't wait for it to get implemented.

@BobbyESP
Copy link
Contributor

BobbyESP commented Sep 6, 2022

@JunkFood02 Is working on multi-tasking and it will be avaliable soon but it's a big code refactor and it takes time. A good to way to download multiple videos i think that should be by pressing "Enter" once by video link, so that would be easy to code (just like searching for "\n" in the TextBox content)

@JunkFood02
Copy link
Owner

JunkFood02 commented Sep 6, 2022

Give a try with the CI artifacts of the latest commit
You can now paste all the URLs (separated by blanks or wraps) in the "video link" text field to download multiple videos at a time (only works with the custom command mode).

@Botan626
Copy link

Botan626 commented Sep 6, 2022

wraps

parentheses?

I tried latest commit and Seal successfully downloaded videos, separated by space.
But:

  1. I could't understand on this screenshot, custom command is selected or not?
Screenshot

image

  1. On the same screenshot you can see russian words, though english is selected as display language.
  2. It would be nice, if we could to choose video quality and format in custom command mode too.
  3. Video thumbnail did not change after 2nd video started downloading.
  4. Would you still add support downloading from links in txt file?

@JunkFood02
Copy link
Owner

  1. Linebreaks or \n 😂 sorry for my poor vocabulary
  2. This is a new feature which let you store multiple templates and choose one when starting a download.

Screenshot_20220907-120346

  1. [Bug Report] - Import from clipboard broken #192 (comment)

  2. Just add the yt-dlp options you need in your templates

  3. Information like thumbnails and titles are only necessary in general download mode to store them in the database. We don't store info for custom command mode

  4. Not planned, see [Bug Report] Command works fine when kept inside a config, but gives error when used as a template #182 (comment)

@Botan626
Copy link

Botan626 commented Sep 7, 2022

  1. I meant this part of the screenshot. It's hard to say, whether 'Custom command' button is pressed (selected) or not.
    image
    Maybe it could use check mark too? Like here:
    image
  2. "We don't store info for custom command mode" --- but Seal showed video thumbnail and title for the 1st video, maybe it could change them when it starts downloading next video?

@JunkFood02
Copy link
Owner

JunkFood02 commented Sep 7, 2022

If the "Custom command" option is enabled, the "New template" and the "Edit" button get activated along with all of the General settings grey out. Also, the switch between "Template selection" and "Additional settings" indicates the status changes well so I don't see anything unclear here.

when it starts downloading next video?

No, we know nothing about which video it is downloading. Seal just executes another separate yt-dlp command to fetch the info only once.

This issue was closed.
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

5 participants