Open ghost opened 7 years ago
"Normal" page download is a built-in function of QWebEngine[1], and currently it can only do (m)html.
I have hacked together a quick and dirty PoC to do this via opening a data: url pointing to the base64 encoded page data, this forces Chromium/QWebEngine to show the regular download dialog (without any request to the server).
//Edit: There it goes: https://github.com/IGNNE/qupzilla/tree/debian9 Sorry for the new branch, master won't compile as I am running on Qt5.7 here. It is basically just v2.1.2 + OpenSSL fix + my edit
You can do it by choosing "HTML Page (single)" and renaming the file with correct suffix.
I am using latest appimage of qupzilla and I found this problem while saving some text and py files. For example I want to download this file http://www.textfiles.com/adventure/221baker.txt when I tried to save this text file
File>Save Page as
it saves the txt files in themhtml
format. The same thing happens to other programming files such as python, shell etc.