Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Learn More

Trying to download txt files automatically

  • 1 përgjigje
  • 1 e ka hasur këtë problem
  • 14 parje
  • Përgjigjja më e re nga JensHumrich

more options

Hello, I am trying to download some txt files via firefox in an automatic fashion using the python webbrowser API. Firefox opens the txt files directly in the tab, which leads to all kind of unwanted behavior when trying to use the right click save option. Is it possible just to save the txt files? Looking at previous forum entries, I tried changing the Content-Disposition and Content-Type via plugin, but they did not seem to affect the link given. Thanks

Hello, I am trying to download some txt files via firefox in an automatic fashion using the python webbrowser API. Firefox opens the txt files directly in the tab, which leads to all kind of unwanted behavior when trying to use the right click save option. Is it possible just to save the txt files? Looking at previous forum entries, I tried changing the Content-Disposition and Content-Type via plugin, but they did not seem to affect the link given. Thanks

Krejt Përgjigjet (1)

more options

Got it working with Selenium and notive that Firefox(?) adds some <link rel="stylesheet" href="resource://content-accessible/plaintext.css">


to the page_source element. Ugh :(