You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
josch 6533744ec4 remove restriction to php 9 years ago
README.md rename README -> README.md 10 years ago
filenameext.sh remove restriction to php 9 years ago
urlencode.py remove restriction to php 9 years ago

README.md

When using wget -rk to locally mirror a website, wget misses to do some things which these two scripts fix:

  • if a url contains a GET query string like http://mysite.com/foo?bar=baz&blub=bla then a file with name foo?bar=baz&blub=bla gets saved. The links from other documents to this file do not get urlencoded. This is fixed by urlencode.py.
  • if the copy is put online then the webserver will most likely determine the content type of the static content by the filename extension. But files that are saved under a name like foo?bar=baz&blub=bla do not have a recognized extension. This is fixed by filenameext.sh.

Both scripts together allowed to fix a mirror of a phpbb forum for me.