mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-24 06:59:52 +01:00
framed replay: don't use is_timegate to determine frame usage due to potential
ambiguity, memento will need to use the mp_ modifier
This commit is contained in:
parent
e513b3755c
commit
8ea7f5d3a0
@ -67,8 +67,7 @@ class BaseContentView(object):
|
|||||||
# (not supported in proxy mode)
|
# (not supported in proxy mode)
|
||||||
if (self.is_frame_mode and wbrequest.wb_url and
|
if (self.is_frame_mode and wbrequest.wb_url and
|
||||||
not wbrequest.wb_url.mod and
|
not wbrequest.wb_url.mod and
|
||||||
not wbrequest.options['is_proxy'] and
|
not wbrequest.options['is_proxy']):
|
||||||
not wbrequest.options.get('is_timegate', False)):
|
|
||||||
|
|
||||||
embed_url = wbrequest.wb_url.to_str(mod=self._mp_mod)
|
embed_url = wbrequest.wb_url.to_str(mod=self._mp_mod)
|
||||||
timestamp = datetime_to_timestamp(datetime.datetime.utcnow())
|
timestamp = datetime_to_timestamp(datetime.datetime.utcnow())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user