gildas-lormeau / SingleFile

Web Extension for saving a faithful copy of a complete web page in a single HTML file
GNU Affero General Public License v3.0
15.66k stars 1.01k forks source link

Articles from corriere.it can't be saved on Android/mobile #973

Closed xandro0777 closed 2 years ago

xandro0777 commented 2 years ago

Hi,

whenever I try to save an article there it will never finish :( Same article worked fine on desktop. Articles from many other sites can be saved even on mobile.

Example: https://www.corriere.it/cronache/22_giugno_05/raduno-garda-urla-bandiere-ora-torna-l-africa-minore-molestata-ho-pianto-paura-18592042-e50d-11ec-8929-c5ad2690e50c.shtml?refresh_ce

gildas-lormeau commented 2 years ago

What browser are you using? I did a test with Firefox Nightly and it works fine for me. Disabling "Misc. > save pages in background" might fix the issue (that's the default settings in Firefox for Android).

xandro0777 commented 2 years ago

... just as I wrote this report it worked suddenly. Have tried so many times before and it didn't work..

gildas-lormeau commented 2 years ago

Do you confirm you're using Firefox for Android?

xandro0777 commented 2 years ago

I use Fennec from F-Droid, built from https://github.com/mozilla-mobile/fenix . Save pages in background is unchecked.

gildas-lormeau commented 2 years ago

If you can reproduce this problem easily, could you see if you can also reproduce it with Firefox for Android Nightly? At first sight, there are chances that it is a bug in the browser or maybe a conflict with another extension.

gildas-lormeau commented 2 years ago

Also, could you provide more details about the bug? Does it always crash at the same moment?

xandro0777 commented 2 years ago

I am puzzled, right now everything works and I can't reproduce it.

gildas-lormeau commented 2 years ago

That's a bit weird indeed... This might also be related to a (temporary) lack of RAM maybe? I just downloaded Firefox from F-Droid and I confirm it also works fine on my end. I'm using a Pixel 5 (with 8GB of RAM).

xandro0777 commented 2 years ago

The 6GB of RAM here should be enough too. Network latency seems pretty high here and when it failed earlier it would just hang in step 2.

gildas-lormeau commented 2 years ago

By default, there is no network timeout in SingleFile. It means that step 2/3 can take a long time in such conditions. If you're patient enough, it should work. It can take minutes though. Alternatively, you can set the "maximum download time" by enabling the option "Network > set maximum download time" and adjusting "Network > maximum download time (s)" if necessary.

gildas-lormeau commented 2 years ago

I'm closing this issue. Feel free to reopen it if necessary.