[Moin-user] wget moinmoin page with attachments

Lukasz Szybalski szybalski at gmail.com
Tue May 5 15:29:54 EDT 2009


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



>
> 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
>>
>



-- 
How to create python package?
http://lucasmanual.com/mywiki/PythonPaste
DataHub - create a package that gets, parses, loads, visualizes data
http://lucasmanual.com/mywiki/DataHub




More information about the Moin-user mailing list