bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] Wget 1.12 (macports) has NULLs and stuff appended after --con


From: Denis Laplante
Subject: [Bug-wget] Wget 1.12 (macports) has NULLs and stuff appended after --convert-links
Date: Thu, 25 Aug 2011 10:53:50 -0700

Summary: Wget 1.12 (macports) has NULLs and stuff appended after html mirror file.

  command: wget -r --convert-links --adjust-extension ...

### RESULT #####
        - Result: content has many links translated, but junk appended
                - Sample: systems.1.html
- mostly good content with left-sidebar links untranslated, but main links translated
                        - followed by 1307 * NUL
- followed by 60 lines = 4291 characters from same file (links translated) starting at point=31517 of 41150 in middle of left-sidebar (links translated).
                - All files affected !

I have looked at 
http://savannah.gnu.org/search/?words=convert-links&type_of_search=bugs&Search=Search&exact=1#options

## COMMAND ##########################
WG_BASIC="-r --convert-links --adjust-extension --page-requisites --no- verbose"
WG_HOBBLE="--level=2 --limit-rate=100k --quota=10m --wait-seconds=1"
WG_EXCLUDE="--no-parent -- reject=*:*,index.php*,Special:*,User:*,Talk:* --exclude- directories=/.../Special:*"
PD_SESS_COOKIE="qwertyuiop"
WG_STARTURL="https://wiki...";

/opt/local/bin/wget ${WG_BASIC} ${WG_RESTRICT} ${WG_EXCLUDE} \
--header "Cookie: wikidb_UserName=...; wikidb__session=$ {PD_SESS_COOKIE}" \
    "${WG_STARTURL}"


######## VERSION #########
$ wget -V
GNU Wget 1.12 built on darwin9.8.0.

+digest +ipv6 +nls +ntlm +opie +md5/openssl +https -gnutls +openssl
+iri

Wgetrc:
    /Users/laplante/.wgetrc (user)
    /opt/local/etc/wgetrc (system)
Locale: /opt/local/share/locale
Compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H
    -DSYSTEM_WGETRC="/opt/local/etc/wgetrc"
    -DLOCALEDIR="/opt/local/share/locale" -I. -I../lib
    -I/opt/local/include -O2 -arch i386
Link: /usr/bin/gcc-4.0 -O2 -arch i386 -L/opt/local/lib -liconv -lintl - arch
    i386 -lssl -lcrypto -lintl -liconv -lc -Wl,-framework
    -Wl,CoreFoundation -ldl -lidn ftp-opie.o openssl.o http-ntlm.o
    gen-md5.o ../lib/libgnu.a

Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Niksic <address@hidden>.
Currently maintained by Micah Cowan <address@hidden>.
Please send bug reports and questions to <address@hidden>.        





reply via email to

[Prev in Thread] Current Thread [Next in Thread]