* Ihor Radchenko <yanta...@gmail.com> [2020-11-25 10:17]: > > - qutebrowser, once HTML is loaded or any file, can transmit this file > > in a script to external program to parse it, collect meta data and > > index it somewhere > > .html version of the current page is always available to userscripts via > $QUTE_HTML variable. > > I use it in my capture package: > https://github.com/yantar92/org-capture-ref#qute_integration > > > - in particular I would be interested if qutebrowser could be used to > > convert the HTML on the fly to OPML by using external script so to > > get chunks finely grained such as paragraphs, headings of course are > > included making HTML better outlined and structured for further > > import into both Org files and yet private Hyperscope database. > > Since you have access to the html file, you can pass it to any app in > your system. For example, you might convert the page to any other format > with pandoc or parse it with beautifulsoap in python. However, the file > will not contain the multimedia content - only bare html.
I understand what you say. What I do not know is how do I invoke script from qutebrowser to use the environment variables?