A mirror of https://github.com/richardg867/WaybackProxy

RichardG867 f62cb20ed9 Don't forward iframes through QUICK_IMAGES, leaking Wayback to the clients il y a 5 ans
.gitignore 76de1e19e9 Initial commit il y a 10 ans
LICENSE 76de1e19e9 Initial commit il y a 10 ans
README.md 5560f07312 Update limitations section il y a 5 ans
config.py d0d6ea3c4a Implement SILENT, fix printing of non-strings il y a 5 ans
waybackproxy.py f62cb20ed9 Don't forward iframes through QUICK_IMAGES, leaking Wayback to the clients il y a 5 ans

README.md

WaybackProxy

WaybackProxy is a HTTP proxy that sends all requests through the Internet Archive Wayback Machine and OoCities, returning the original antique-browser-friendly markup.

1999 Google viewed on Internet Explorer 4.0 on Windows 95

Setup

  1. Edit config.py to your liking
  2. Start waybackproxy.py
  3. Set up your antique browser:
    • If your browser supports proxy auto-configuration, set the auto-configuration URL to http://ip:port/proxy.pac where ip is the IP of the system running WaybackProxy and port is the proxy's port (8888 by default).
    • If proxy auto-configuration is not supported or fails to work, set the browser to use an HTTP proxy at that IP and port instead.
  4. Try it out! You can edit most settings that are in config.py by browsing to http://web.archive.org while on the proxy, although you must edit config.py to make them permanent.
  5. Press Ctrl+C to stop

Known issues and limitations

  • The Wayback Machine itself is not 100% reliable, especially when it comes to images on archived pages.
  • Dates are not preserved on redirect, which can lead to 404 errors on a few websites.
  • WaybackProxy is not a generic proxy. The POST and CONNECT methods are not implemented.