3 ms·
I tried that, but found that guessing backwards from the current time works better: https://gist.github.com/Aaron1011/2595f8699ade9d4df16398a68e8c1a52 https://g
by Aaron1011 9y ago
I tried that, but found that guessing backwards from the current time works better: https://gist.github.com/Aaron1011/2595f8699ade9d4df16398a68e8c1a52 https://gist.github.com/Aaron1011/2595f8699ade9d4df16398a68e...
- jdiez17 9y agoThey must have changed the response code, because I'm getting HTTP 200 on all requests $ curl -I https://permanent-redirect.xyz/pages/1515222320 HTTP/1.1 200 OK Date: Fri, 12 Jan 2018 15:07:09 GMT Server: Apache Content-Type: text/html; charset=UTF-8
- Aaron1011 9y agoThat's to be expected. The idea behind my script is that the URL is encoding the unix time of the first visit to that URL. By starting at the current time and working backwards, the first HTTP 200 you come across should be the current page.
- jdiez17 9y agoAh, I see. Yes, that is definitely a smarter way of doing it.