agzam / youtube-sub-extractor.el

Extract YouTube video subtitles
GNU General Public License v3.0
30 stars 1 forks source link

Name of the output buffer #15

Open edrx opened 1 year ago

edrx commented 1 year ago

Hi Agzam,

is there a way to make youtube-sub-extractor put its output in a buffer with a predefined name, like this one?

  "*yse: SW3Tx-lHX3o*"

I'm trying to write something similar to this - warning: you'll probably be horrified at how low-level-ish my interfaces look! - for youtube-sub-extractor,

http://angg.twu.net/find-yttranscript-links.html

and my current prototype simply lists the buffers with, say, "SW3Tx-lHX3o" in their names and chooses the first one, but things would be much better if I could simply run youtube-sub-extractor in a standard hacky way and then open a buffer with the name that I had chosen, that would not include the title of the video, and that would never have a "<2>" or a "<3>" at its end...

Thanks in advance!

agzam commented 1 year ago

I can probably add a hook or two for you to tap on where you could set the buffer name (or some other things) to whatever your heart desires.