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

RichardG867 413a67f763 Rebase the much better HTML patching code I had stuck in a private fork 5 жил өмнө
.gitignore 76de1e19e9 Initial commit 10 жил өмнө
LICENSE 76de1e19e9 Initial commit 10 жил өмнө
README.md f8f3797c85 Add an internal PAC file to bypass QUICK_IMAGES requests and improve performance on not-so-old browsers. 10 жил өмнө
config.py 413a67f763 Rebase the much better HTML patching code I had stuck in a private fork 5 жил өмнө
waybackproxy.py 413a67f763 Rebase the much better HTML patching code I had stuck in a private fork 5 жил өмнө

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

Limitations

  • The Wayback Machine itself. For one, sometimes archived pages lack random images for no reason at all.
  • 302 redirects are handled using a meta refresh hack, as Wayback sends them as regular pages.
  • WaybackProxy is not an all-around proxy. The POST and CONNECT methods are not implemented.