[Moin-user] wget moinmoin page with attachments

R.Bauer rb.proj at gmail.com
Wed May 6 04:54:18 EDT 2009


Lukasz Szybalski schrieb:
> On Tue, May 5, 2009 at 2:24 PM, David Cramer <dcramer at motive.com> wrote:
>> MoinMoin blocks spiders from getting images. You can change the user
>> agent:
>>
>> wget -U 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5)
>> Gecko/2008120122 Firefox/3.0.5' -r -l 2 -p http://example.com/mypage
> 
> 
> That does not work:
> 
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/html]
> Saving to: `xxxxxx/mywiki/xxxxx'
> 
>     [  <=>                                  ] 245,564      955K/s   in 0.3s
> 
> 2009-05-05 14:28:02 (955 KB/s) - `xxxxxxxx/mywiki/xxxxxxx' saved [245564]
> 
> FINISHED --2009-05-05 14:28:02--
> Downloaded: 1 files, 240K in 0.3s (955 KB/s)
> 
> 
> It did not download any pdf, xls, csv, txt files on the wiki page.
> 
> Thanks,
> Lucas
> 

Is your wiki public? Does it require a user name for authentication?
Do you have to specify recursive for wget that it follows links?

There are some alternatives:

* If you want only a copy of one/few pages with all attachments you may
  be interested in using the action package pages.
  That package could be installed into you desktop wiki.

 * Use "Save" of your browser.

cheers
Reimar




> 
> 
>> Also, see this bug for more information:
>>
>> http://moinmo.in/MoinMoinBugs/SpidersCanOnlyViewPages
>>
>> David
>>
>>> -----Original Message-----
>>> From: Lukasz Szybalski [mailto:szybalski at gmail.com]
>>> Sent: Tuesday, May 05, 2009 1:13 PM
>>> To: Moin
>>> Subject: [Moin-user] wget moinmoin page with attachments
>>>
>>> Hello,
>>> I've created an extensive page, with many attachments (pdf,
>>> xls, txt, etc)
>>>
>>> I would like to download this page using wget so I have a
>>> backup copy of it in an easy readable form, with all the attachments.
>>>
>>> I cannot get it to work.
>>>
>>>  wget -r -l 2 -p http://example.com/mypage
>>>
>>> The main page gets downloaded but not the attachments.
>>> Is there a special way I should be using wget to get the files?
>>>
>>> Do you have a command that works?
>>>
>>> Thanks,
>>> Lucas
>>>
>>> --------------------------------------------------------------
>>> ----------------
>>> The NEW KODAK i700 Series Scanners deliver under ANY
>>> circumstances! Your production scanning environment may not
>>> be a perfect world - but thanks to Kodak, there's a perfect
>>> scanner to get the job done! With the NEW KODAK i700 Series
>>> Scanner you'll get full speed at 300 dpi even with all image
>>> processing features enabled. http://p.sf.net/sfu/kodak-com
>>> _______________________________________________
>>> Moin-user mailing list
>>> Moin-user at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/moin-user
>>>
> 
> 
> 





More information about the Moin-user mailing list