View Full Version : [ubuntu] Use Wget to download a forum?
January 4th, 2012, 08:17 AM
I have a forum my friends and I used to post in. It's a free Zetaboards forum, and I'd like to be able to download the threads and save them on my hard drive.
There are enough threads and replies-within-threads that it would be too much for a manual save.
Could I use Wget to archive the forum? What is the syntax for it?
January 4th, 2012, 08:52 AM
here you go:
wow that was hard to find... :-)
anyway you can use
to see commands and instructions in terminal.
January 4th, 2012, 10:06 AM
Of course there are a couple of other things for you to consider:
- if you download the forum as a single file then you'll need whatever database they use, the scema, etc., so you can load it back into some form of the searchable original content.
- you have to have something to view the database with - like the same forum software
I'm running a little weird right now due to a medical procedure earlier, but I think these things are valid.
Either way, you've got a lot of work ahead of you - hope you're prepared for it!
January 4th, 2012, 11:27 AM
you are correct wget might actually not be the way to go.
i think you can export the database... usually in cpannel ypou go to database (mysql?!) and do the export there and alter import.
but if you just want to save it you can use wget.
January 4th, 2012, 12:41 PM
I'd like to use the Wget option instead of an export.
Would I need to install Wget?
What sort of commands would I use? I found a line that goes like this:
wget -k -m -E -p -np -R memberlist.php*,faq.php*,viewtopic.php*p=*,posting .php*,search.php*,ucp.php*,viewonline.php*,*sid*,* view=print*,*start=0* -o log.txt http://www.example.com/forum/
Will that work? I tried to enter that in Terminal but nothing happened.
January 5th, 2012, 12:29 AM
January 5th, 2012, 07:56 AM
Okay, I used this code:
wget [-k -m -E -p -np -R] <url>
It worked wonderfully to save a website.
When I tried it on the forum, though, it didn't work. It only grabbed the index page and a .css file.
What I would like it to do is save the index page, sub forums, and threads.
Is this possible?
January 5th, 2012, 09:09 AM
No responses today.
Is there a better place to post questions about Wget?
January 5th, 2012, 02:36 PM
Should I try posting about this in another forum? I'm not sure which one is best.
January 5th, 2012, 04:27 PM
Quit bumping your thread - forum rules -> wait 24 hours. I realize this may be important to you, or perhaps you want to do it while you have time, but this is a volunteer forum - everyone's problems rate equally. To be honest, you probably won't get much help here. It's not an Ubuntu problem, it's not even really a problem of any sort.
My suggestion: contact the maintainers of that forum directly for help. And watch for copyright/privacy notices as you may not be allowed to do this.
In the mean time, I would just close this topic on this forum.
January 5th, 2012, 07:52 PM
It might be a good idea to seek the blessings of the board's hosts. Their TOS (http://www.zetaboards.com/tos/) mention excessive hotlinking: downloading an entire board might be misconstrued as "excessive hotlinking." There are also privacy issues to address such as COPPA (http://www.coppa.org/).
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.