Pomoc přepytać

Hladajće so wobšudstwa pomocy. Njenamołwimy was ženje, telefonowe čisło zawołać, SMS pósłać abo wosobinske informacije přeradźić. Prošu zdźělće podhladnu aktiwitu z pomocu nastajenja „Znjewužiwanje zdźělić“.

Dalše informacije

"save as" text file from command line

  • 4 wotmołwy
  • 3 maja tutón problem
  • 11 napohladow
  • Poslednja wotmołwa wot karlberry

more options

Is it possible to do the equivalent of "save as" "text files" from the command line? Perhaps via an add-on? I've searched add-ons, this forum, etc., without success.

This comes up primarily because sometimes web pages nowadays do everything with JavaScript. Therefore lynx and its relatives can do nothing meaningful. It would be nice to be able to grab the content in batch from the command line, e.g., to check for updates from a cron job.

One example of such a page is the one for a musician I like: http://www.anaismitchell.com. Looking at the source shows only JS code, as far as my eyes can find. Firefox renders it just fine interactively, and if I do "save as" -> "text files", the result is perfectly decent. My goal is to do simply that from the command line.

A more technical example is the ISO country code search page:

 https://www.iso.org/obp/ui/#search

Pressing the search button there (with the empty string) brings up the country codes and other info, "save as" -> "text files" works fine, but view source and lynx can do nothing.

Help? Thanks in advance ...

Is it possible to do the equivalent of "save as" "text files" from the command line? Perhaps via an add-on? I've searched add-ons, this forum, etc., without success. This comes up primarily because sometimes web pages nowadays do everything with JavaScript. Therefore lynx and its relatives can do nothing meaningful. It would be nice to be able to grab the content in batch from the command line, e.g., to check for updates from a cron job. One example of such a page is the one for a musician I like: http://www.anaismitchell.com. Looking at the source shows only JS code, as far as my eyes can find. Firefox renders it just fine interactively, and if I do "save as" -> "text files", the result is perfectly decent. My goal is to do simply that from the command line. A more technical example is the ISO country code search page: https://www.iso.org/obp/ui/#search Pressing the search button there (with the empty string) brings up the country codes and other info, "save as" -> "text files" works fine, but view source and lynx can do nothing. Help? Thanks in advance ...

Wšě wotmołwy (4)

more options

Maybe this extension can help.

more options

thanks for the suggestion, but as far as I can see, it makes no provision for command-line operation. "the entire macro will run at the click of a button".

I don't want to click a button, I want to run "firefox http://whatever do-something-to-save-as-text" from the shell.
more options

Btw, this is my favorite Anais song (shenandoah)


I don't know if you can run a macro automatically on page load as I've never used this extension.

more options

As far as I can see, imacros just does replays of actions, like keyboad macros in emacs.

searching around for page load, I couldn't find a way to automatically do a save-as after load. and i also still can't see any way to do anything from the command line.

thanks for trying ...

p.s. i like shenandoah a lot too : ). if i had to pick just one, i think it would be Coming Down, but I'm glad I don't have to pick : ).