The problem I would like to solve is this. I browse to a website that contains ordered blocks of text one after another. I would like to run a script on this page that goes into the webpages source, extracts these blobs of text, and then outputs each blob into a file.

How do I do something like this? Can I do it from the vimperator shell?

(I can write the text extracting and output part, in python I'm thinking. The other parts are beyond me atm)

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.
If this question can be reworded to fit the rules in the help center, please edit the question.