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

Use youtube-dl if available #39

Closed
Bfgeshka opened this issue Sep 16, 2017 · 2 comments
Closed

Use youtube-dl if available #39

Bfgeshka opened this issue Sep 16, 2017 · 2 comments
Labels

Comments

@Bfgeshka
Copy link

How's this idea to you?

Pretty straightforward explanation:

Let's imagine we are parsing some thread/gallery. By default gallery-dl seeks only for links it can handle on its' own. If we are passing corresponding option on start it also seeks for links supported by youtube-dl and saves them in memory. After finishing thread/gallery, youtube-dl opened for downloading these supported links. After finishing them, youtube-dl is closed and gallery-dl proceeds.

@mikf
Copy link
Owner

mikf commented Sep 16, 2017

I don't really like this idea, as this seems a bit out of scope of what gallery-dl should be able to do. It is also already possible to do what you described with the help of a bit of shell scripting:

  • Get all URLs from a site (wget/curl + regex or gallery-dl -g r:[URL] > urls)
  • Invoke youtube-dl with each one and filter them by exit-code
  • Use gallery-dl on any URL with non-zero exit-code

Or you could use the --write-unsupported cmdline option and use youtube-dl on the results of that one.

@mikf mikf closed this as completed Sep 16, 2017
@mikf mikf added the wont-fix label Sep 16, 2017
@Bfgeshka
Copy link
Author

Understandable, thanks for answer anyway.

@mikf mikf mentioned this issue Sep 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants