webrecorder / wabac.js

wabac.js - Web Archive Browsing Augmentation Client
https://replayweb.page
GNU Affero General Public License v3.0
98 stars 16 forks source link

Better handling of self-redirects #130

Closed matteocargnelutti closed 1 year ago

matteocargnelutti commented 1 year ago

(As briefly discussed on Discord)

When a capture contains two records for a given URL, one being an HTTP 302 and the other HTTP 200, wabac.js sometimes fails to handle that self-redirect appropriately, and returns a 404 instead.

Example: Capture of https://twitter.com/webrecorder_io/status/1656308899849334784 made with Scoop 0.4.4: archive.wacz.zip (rename to .wacz)

Screenshot 2023-07-06 at 4 30 38 PM