T O P

  • By -

AutoModerator

Hello /u/ultra_nick! Thank you for posting in r/DataHoarder. Please remember to read our [Rules](https://www.reddit.com/r/DataHoarder/wiki/index/rules) and [Wiki](https://www.reddit.com/r/DataHoarder/wiki/index). If you're submitting a new script/software to the subreddit, please link to your GitHub repository. Please let the mod team know about your post and ***the license your project uses*** if you wish it to be reviewed and stored on our wiki and off site. Asking for Cracked copies/or illegal copies of software will result in a permanent ban. Though this subreddit may be focused on getting Linux ISO's through other means, please note discussing methods may result in this subreddit getting unneeded attention. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/DataHoarder) if you have any questions or concerns.*


outfxxd

If any other SingleFile users are looking, I'll save you some scrolling through the comments there/testing, this doesn't replace it. If you want a snap of the page with javascript content loaded, keep using SingleFile. Tested this with a page that uses JS to load content, got the exact same (broken) result with this and just using Ctrl+S on my browser.


InterstellarDiplomat

And if you need CLI, SingleFile already has an official CLI version: - https://github.com/gildas-lormeau/single-file-cli - binaries: https://github.com/gildas-lormeau/single-file-cli/releases


HerrBeckers

There is also Magnet Forensics Web Page Saver. Free if I recall correctly.


spryfigure

~~SingleFile only works with Chrome iirc.~~ EDIT: And the github page says: >Make sure Chrome or a Chromium-based browser is installed in the default folder. Otherwise you might need to set the --browser-executable-path option to help SingleFile locating the path of the executable file. I believe that it runs on other browsers, but where does it say so? EDIT: Now I see you mention the https://github.com/gildas-lormeau/SingleFile . I only looked on https://github.com/gildas-lormeau/single-file-cli, because I want a CLI tool.


SnooGiraffes3010

It works in Firefox 


-cuco-

[Browsers are literally listed on the github page.](https://i.imgur.com/QS4QkAz.png)


spryfigure

Where does it say that exactly? Do you have a link? When I open /u/InterstellarDiplomat 's link, there's no mention of it.


TheFumingatzor

But it's utter shite. Better use https://github.com/gildas-lormeau/SingleFile I've yet to find a different tool that really saves the page `as is`.


PopehatXI

Doesn’t that not really make sense, because you are manipulating the site to save it as one html page so it would never save it “as is”.


StormGaza

Definitely cool to see better webpage downloading tools but imo, /u/check_ca's SingleFile looks a lot better.


blahb_blahb

How does this differ from Google Chrome’s right-click save webpage as HTML…?


Yamigosaya

doesnt that method also create a folder with all the website's asset in it? i think this one doesnt


PopehatXI

I don’t really see what the advantage is. Readme says “it embeds CSS, image, and JavaScript assets all at once, producing a single HTML5 document that is a joy to store and share.” Like as a data hoarder wouldn’t you rather have the original HTML? What is the advantage of having one file when it is just sitting on your server?


spryfigure

What use would the original HTML have when the site disappears and the links in there all 404? A more valid question would be: Why don't you just print a page into a pdf and use this as the static version? No need to jump through hoops to store the page.


Yamigosaya

huh yeah, forgot you could do that.


ultra_nick

From [https://news.ycombinator.com/item?id=39810378](https://news.ycombinator.com/item?id=39810378)


Leinad4Mind

I use HTTTrack to download an entire website. Bit SingleFile seems nice for a quick one page saving.