Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

wget, fails to completely download a webpage

Featured Replies

Hello. I'm having issues backing up this web, more precisely the roll menu at the top bar with arrows. Using the below command is supposedly to download locally the whole page but it won't download the part (javascript?) that makes it available to show when on mouse over.

 

Also at the top-right the gear icons aren't downloaded.

wget --wait=1 --page-requisites --html-extension --no-clobber --convert-links --restrict-file-names=windows --no-parent http://segaretro.org/Main_Page
  • Author

Actually wget is my second alternative. I got fed up of httrack when yesterday wasn't downloading the whole page either. Also, it's slow as hell (capped at 20kbps) and feels lacking-outdated.

 

Anyway, whatever works is welcome.

  • Author

"game"? I don't know where you want to get at dude. If you check the page you linked me I'm already using the 2 top programs.

The site you are trying to download is written in PHP and uses JQuery. When you download from a site, you are only getting the rendered HTML, so certain functionality may well be missing. Also, the site is built with MediaWiki.... it specifically is importing functions from other portions of the site to handle certain things. For example this:

<script>if(window.mw){mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits","mediawiki.legacy.ajax"]);}</script>
Documentation regarding loading resources:

http://www.mediawiki.org/wiki/JQuery

Also the problem might be that the code is specifically designed to only work while running in PHP/MediaWiki on an actual server... maybe your program can get all the relevant parts you need to make it work, but you are trying to use it in the incorrect environment?

Or maybe the method is not correct. Most information I find for making backups of a MediaWiki are for site owners. Maybe research specifically how to use wget to download from MW, here is one thing you can look at:

http://webmasters.stackexchange.com/questions/28702/how-to-dump-a-mediawiki-for-offline-use

But it may not get the site 100% as for reasons outlined above.

dude? :w00t:

 

hit and miss game= if something doesn't work, try something else [1]

 

jaclaz

 

 

 

[1]maybe this *something else* will work, and sometimes it won't, no way to say in advance :ph34r:.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.