/g/ - Technology
install openbsd
[Make a Post]>>1612
It's not particularly hard:
1. download everything from the /Static/ directory: nanochan.css, audio.png, video.png, document.png
2. download catalogs of all the boards
3. use a regular expression to find all thread URLs
4. download those thread URLs
5. use a regular expression to find all images in the /Media/ directory
6. download those images
7. set up a http server to point at the directory you downloaded
Obviously you have to preserve the directory structure for anything to work properly.
Alternatively, you can use the pyshit webpage2html script which can be found somewhere on shithub.
>>1615
That is a possibility ... :^)
I would just use Wget, though I dislike it myself because it still doesn't have multi-threading and can thus be incredibly slow ...
[code]
torsocks -P 9050 wget --adjust-extension --convert-links --no-parent --page-requisites --mirror [URL]
[/code]
[Catalog][Overboard][Update]
[Reply]5 replies
Obviously we won't be able to go on archive.is to archive posts here. Is some kind of archiving functionality planned? Ideally I'd love to have for example a button in the top of the page that downloads a gzipped folder containing the html of the thread, the css and the files uploaded. I've never programmed an image board before so I don't know how hard it is to implement but there should be a way to easily archive things here.