config.py 1.1 KB

12345678910111213141516171819202122232425262728
  1. # Listen port for the HTTP proxy.
  2. LISTEN_PORT = 8888
  3. # Date to get pages from Wayback. YYYYMMDD, YYYYMM and YYYY formats are
  4. # accepted, the more specific the better.
  5. DATE = '20011025' # <- Windows XP release date in case you're wondering
  6. # Allow the client to load pages and assets up to X days after DATE.
  7. # Set to None to disable this restriction.
  8. DATE_TOLERANCE = 365
  9. # Send Geocities requests to oocities.org
  10. GEOCITIES_FIX = True
  11. # Use the Wayback-tampered URL as a shortcut when loading images.
  12. # May result in faster loads, but all images will point to
  13. # http://web.archive.org/... as a result. Set this value to 2 to enable an
  14. # experimental mode using authentication on top of the original URLs instead
  15. # (which is not supported by Internet Explorer and some other browsers).
  16. QUICK_IMAGES = True
  17. # Allow the Content-Type header to contain an encoding. Some old browsers
  18. # (Mosaic?) don't understand that and fail to load anything - set this to
  19. # False if you're using one of them.
  20. CONTENT_TYPE_ENCODING = True
  21. # Disables logging if set to True.
  22. SILENT = False