From c3389987cdce1267771ab3f4409f5395d465c4d3 Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Thu, 28 Jul 2016 10:06:10 -0400 Subject: [PATCH] frame timestamp extract: fix timestamp extracting timestamp for non-html resources for use with frame display (#189) --- pywb/static/wb_frame.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywb/static/wb_frame.js b/pywb/static/wb_frame.js index ffc11576..47d389b8 100644 --- a/pywb/static/wb_frame.js +++ b/pywb/static/wb_frame.js @@ -19,7 +19,7 @@ This file is part of pywb, https://github.com/ikreymer/pywb var LIVE_COOKIE_REGEX = /pywb.timestamp=([\d]{1,14})/; -var TS_REGEX = /\/([\d]{1,14})\//; +var TS_REGEX = /\/([\d]{1,14})(?:\w+_)?\/(?:\w+[:])?\/\//; var curr_state = {};