Full offline Wikipedia page?

Morlock

Limp Gawd
Joined
Jun 8, 2012
Messages
508
Anyone know something a bit more user-friendly than wget that I can use to download a wikipedia page PLUS the largest version available of every thumbnail image on the Aforementioned wikipedia page? In other words, I want to be able to easily download Wikipedia pages for offline use and have the full-sized images downloaded at the same time.

I would love something that I could just feed a txt file of urls to.
 
I'm not sure about your comment re: getting the largest version of every thumbnail image on a page, but in terms of inputting a list of pages via a file and using something flexible etc - I would likely do this with powershell. It's native to windows and you could schedule it if you wanted to using task manager.

re: wget in powershell, that's aliased to "Invoke-WebRequest".
re: inputting a list of url's with a file - the foreach-object is intended for exactly this sort of task.

A couple of references:
- thread on wget equivilent in powershell: https://superuser.com/questions/362152/native-alternative-to-wget-in-windows-powershell
- info on the Invoke-WebRequest module: https://docs.microsoft.com/en-us/po...l.utility/invoke-webrequest?view=powershell-6
- info on the foreach-object module: https://docs.microsoft.com/en-us/po...ershell.core/foreach-object?view=powershell-6

MS Script Repository -> PS scripts using Invoke-WebRequest - you might find some examples here that are close to what you're after:
https://gallery.technet.microsoft.com/scriptcenter/site/search?f[0].Type=SearchText&f[0].Value=invoke-webrequest&f[1].Type=ProgrammingLanguage&f[1].Value=PowerShell&f[1].Text=PowerShell

I'm pretty sure PS version 3 is required for Invoke-WebRequest.
Perhaps you knew this already and want something even easier ... ?
How are you currently getting the largest thumbnail image on a wiki page ?
 
Thanks Muz, will take a look when I can.

What I mean by largest image is:
1. See thumbnail on Wikipedia page, open the link on new page.
2. Click link for largest available version (if you've seen Wikipedia image pages, you know what I mean I think).
3. Save image.

That's also how I currently save them. :)

I'm also somewhat familiar with WinHTTrack, if anyone knows how to get it to do what I want with a Wiki url.
 
Back
Top