suckit icon indicating copy to clipboard operation
suckit copied to clipboard

Make URL Processing optional

Open aidik opened this issue 1 year ago • 3 comments

It would be nice to have the ability to indicate whether or not URLs should be processed for offline browsing. This change will make SuckIT a more versatile tool for static page generation and allow its integration into more toolchains.

aidik avatar Feb 26 '23 13:02 aidik

I'm not sure about what a use case would look like. Could you explain a bit more?

Skallwar avatar Feb 28 '23 09:02 Skallwar

Hi @Skallwar,

sure, for example in our environment we compile a static website from multiple local sources, and after that, we push the static files to the CDN. The use of SuckIT will significantly speed up our build process, unfortunately, we can't use it because it insists on URL processing.

Essentially I'm looking for an equivalent of httrack's --keep-links=4

Thank you for considering

aidik avatar Mar 09 '23 09:03 aidik

Oh I think I get it. The idea would be to download the website without modification.

It should be simple enough to implement I think.

I don't have much time right now so I can't give an ETA but I will gladly take a look and merge a PR adding this feature.

Skallwar avatar Mar 09 '23 10:03 Skallwar