SingleFile icon indicating copy to clipboard operation
SingleFile copied to clipboard

Saved page missing images using CLI, while fine with browser extension

Open beefdrifter opened this issue 4 years ago • 4 comments

Describe the bug https://blogs.cisco.com/datacenter/the-napkins-dialogues-life-of-a-packet-walk-part-1 When saving the page above with the browser extension, the saved page is accurate. However, if it is saved with the CLI, the images would be missing

To Reproduce Steps to reproduce the behavior:

  1. Save the page with browser extension
  2. Saved page is around 2mb. Displays images accurately.
  3. Save the page with CLI
  4. Saved page is around 350kb. Is missing images

Expected behavior CLI and browser extension results should be the same (at least I hope).

Screenshots If applicable, add screenshots to help explain your problem.

Environment

  • OS: Win10 Pro
  • Browser: Chrome
  • Version: 88

beefdrifter avatar Feb 01 '21 18:02 beefdrifter

I cannot reproduce the issue. On my end the page saved with SingleFile CLI weights ~ 2.3 MB. Did you do the test with the default settings? It looks like your issue is related to --load-deferred- options or maybe --save-raw-page.

gildas-lormeau avatar Feb 02 '21 01:02 gildas-lormeau

I think I have narrowed down the possibilities, but I'll answer first

Did you do the test with the default settings?

Yes. Using the default settings made it save properly

It looks like your issue is related to --load-deferred- options or maybe --save-raw-page.

The --load-deferred- in my settings is set to True and --save-raw-page is set to False I'll include a screenshot below

2021_0203_0316

I added my settings to the default args.js one parameter at a time turns out the issue reappears when I use my Chrome profile At first I thought it had to do with my extensions but after removing all of them, the problem persists That's as far as I managed to test

beefdrifter avatar Feb 02 '21 19:02 beefdrifter

Can you try to set load-deferred-images-keep-zoom-level to true and check if it helps to fix this issue?

gildas-lormeau avatar Feb 03 '21 23:02 gildas-lormeau

Unfortunately no. Same results.

beefdrifter avatar Feb 04 '21 17:02 beefdrifter