youtube-dl-wpf icon indicating copy to clipboard operation
youtube-dl-wpf copied to clipboard

Support for other extractors in yt-dlp

Open bachig26 opened this issue 3 years ago • 2 comments

Example: I tried to download the tv series from the site callled puhutv.com, which is supported by yt-dlp but doesn't run on the wrapper.

I'm hoping to have the support of other extractors available at yt-dlp.

bachig26 avatar May 28 '22 14:05 bachig26

I'm not sure if it's fit to add specialized controls for extractors in the GUI. For now you can add custom arguments to use extractors. Please tell me about your use case and the required options and arguments if you want to convince me to add support in the GUI. :P

database64128 avatar May 31 '22 13:05 database64128

For now you can add custom arguments to use extractors.

I forgot about this, yes it works with customizing the arguments with custom presets for particular sites.

Please tell me about your use case and the required options and arguments if you want to convince me to add support in the GUI. :P

With case of the custom arguments that you have mentioned, I think it's okay for me now. But is there any possibility like to add an txt file with user added arguments instead of defining one-by-one in the GUI. Example, from the GUI, we can set path for the txt file and in the txt file we can enter the custom arguments related to the certain sites. then when the video link matches the site within the txt file, it runs that argument.

I don't know that possibility of how this can implemented but this way from my personal use, that I can make an argument txt file for all the yt-dlp supported extractors and just add the file path to the GUI.

bachig26 avatar May 31 '22 14:05 bachig26

But is there any possibility like to add an txt file with user added arguments instead of defining one-by-one in the GUI.

That means writing a shell-like argument parser, if we don't require that each line can only contain exactly one argument.

BTW, you don't have to use the GUI to add arguments. Editing Settings.json by hand should be trivial.

I'm going to close this issue now, because the topic has drifted away from the title, and I don't feel like implementing such a parser. If you have more requests or questions, please open a new issue or discussion.

database64128 avatar Apr 24 '23 07:04 database64128