1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 16:14:48 +01:00

672 Commits

Author SHA1 Message Date
Ilya Kreymer
df94e17305 video: yt: switch on timeout only if not started.. 2014-12-28 23:29:13 -08:00
Ilya Kreymer
1684c14cda bump version to 0.7.2
video: disable yt DASH for better proxy and replay (experiment)
2014-12-28 16:34:48 -08:00
Ilya Kreymer
d6c05042c9 build: fix incorrectly built 0.7.0, update to 0.7.1 0.7.1 2014-12-27 03:11:48 -08:00
Ilya Kreymer
a76bf79b83 html_rewriter: add explicit <video>, <audio> tags to html_rewriter tag
list
0.7.0
2014-12-26 18:15:49 -08:00
Ilya Kreymer
fee7862dc8 Update README.rst 2014-12-26 18:15:18 -08:00
Ilya Kreymer
323b537047 minor changelist tweak 2014-12-26 18:03:12 -08:00
Ilya Kreymer
b6e1f14f4d Update changelist for 0.7.0! 2014-12-26 17:56:22 -08:00
Ilya Kreymer
9f47357624 Small update to README 2014-12-26 15:35:52 -08:00
Ilya Kreymer
8d6845a552 fuzzy match: add support for specifying regex and args seperately for
fuzzy_lookup match
2014-12-26 14:29:51 -08:00
Ilya Kreymer
ffb702ce03 rewrite: content detection for specific case: if content type is html and mod type is css
or js, peek stream to determine actual type. Addresses #31 in part.
Fix typo in wb_frame.js
2014-12-26 13:08:35 -08:00
Ilya Kreymer
8f57ce622d Improved top rewriting, addressing #54 2014-12-26 13:06:33 -08:00
Ilya Kreymer
4c08a6a064 video work: improved yt handling:
- disable yt using yt api, for forced html/flash, diable on load
- use yt error event to detect error
- better fallback on recorded video
use seperate cache for range and video info tracking
fix yt rules query to account for & and ?
2014-12-26 13:02:47 -08:00
Ilya Kreymer
ca17410056 video: better extension extraction for explicit video info (use format
if ext is unknown)
improved support for _pywbvid=html, forces generic html player over yt
player, better deletion of ytplayer
2014-12-24 18:13:12 -08:00
Ilya Kreymer
ad5a43db76 replay redirect: ensure no timestamp redirect when range request is
present, alter test to include inexact timestamp
2014-12-23 21:19:39 -08:00
Ilya Kreymer
181c18a1b8 pep8 pass: fix spacing, line length, issues
also remove references to obsolete cached_replay, hostnames in pywb_init
2014-12-23 15:14:03 -08:00
Ilya Kreymer
51919ed1e7 replay: make range cache available by default in replay_views since its
inited on first use. remove
separate subclass. 'enable_ranges' can be set to false to disable range
cache altogether
improve tests
2014-12-23 14:34:59 -08:00
Ilya Kreymer
3819e935fb Merge branch 'master' into video 2014-12-23 13:43:20 -08:00
Ilya Kreymer
8ccfd811bd travisci: experiment with travis improvements (new container build) 2014-12-23 12:39:33 -08:00
Ilya Kreymer
c32634c8dc test: adjust test range 2014-12-23 12:17:51 -08:00
Ilya Kreymer
c28304fd90 tests rangecache: added integration tests for range support via range
cache, using enable_cache option
2014-12-23 11:09:19 -08:00
Ilya Kreymer
a9892f531f proxy testing: refactored test server thread into ServerThreadRunner
class which runs a server in a seperate thread.. used by http/s proxies
as well, as mock live server proxy
add test for live rewrite with proxy, covering simple case as well as
video
2014-12-23 11:07:47 -08:00
Ilya Kreymer
a8b4041716 live rewrite: proxy setup refactor: ignore_proxy flag, pass proxy during constructor only 2014-12-22 21:58:07 -08:00
Ilya Kreymer
b54e4c1c06 tests: add more tests for cookie, html and rewrite_live crsf 2014-12-22 20:34:18 -08:00
Ilya Kreymer
0f2c96879c refactor: split out optional cached replay components into cached_replay,
toggleable via 'enable_cache' in config -- regular replayview does not
need any cache info
move add_range() components to statusandheaders from wbrequestresponse
add x-pywb-noredirect' header which disables date related redirect
video replay works w/o cache if supported by frontend (nginx)
2014-12-19 18:40:45 -08:00
Ilya Kreymer
b86517b246 rangecache: remove range extractions functions which are now part of
wbrequest/response
2014-12-18 13:23:45 -08:00
Ilya Kreymer
4aabba559c vidrw: refactor object/embed adding code into seperate functions for
iterating over tags, allows for reuse with setInterval (not yet added)
2014-12-18 13:22:03 -08:00
Ilya Kreymer
68e7a70777 refactor: live rewrite handler uses new range functions in
wbrequest/response, also add 'remove range' for 0- unbounded requests..
2014-12-18 13:20:16 -08:00
Ilya Kreymer
07e46f4b6c request/response: add range extraction and settings functions to
wbrequest/response (with tests)
2014-12-18 13:19:38 -08:00
Ilya Kreymer
f3dc256503 wombat: also rewrite src= in video and audio tags 2014-12-18 13:18:22 -08:00
Ilya Kreymer
c6c07d27dd Merge pull request #53 from tilgovi/patch-1
Correct error message in run-gunicorn.sh
2014-12-16 23:53:56 -08:00
Randall Leeds
905227eb42 Correct error message in run-gunicorn.sh 2014-12-16 23:36:37 -08:00
Ilya Kreymer
1937319271 Merge branch 'master' into video 2014-12-14 15:36:54 -08:00
Ilya Kreymer
0de76189a7 Merge branch 0.6.6 into video 2014-12-14 15:36:37 -08:00
Ilya Kreymer
bee70260ac Merge branch 'develop' 2014-12-13 23:19:52 -08:00
Ilya Kreymer
09861ada2c wb.js: preserve anchor in location redirect
update CHANGELIST
2014-12-13 23:19:04 -08:00
Ilya Kreymer
80c5b45178 wb.js: don't include anchor when comparing current url with expected top
url
2014-12-13 23:12:42 -08:00
Ilya Kreymer
3b14e1ad40 video: add support for experimental 'pywbvid=' selector to force video
type
add optional YT original player rewrite
fix non-local vars in flash player
wb.js: remove hash when doing location check
2014-12-12 09:07:58 -08:00
Ilya Kreymer
e68c0413d1 video rules: update rules for vimeo 2014-12-11 00:20:43 -08:00
Ilya Kreymer
8090bf9a9a video: skip videoinfo responses that have no formats, and fallback to
retry handler
remove extra log
2014-12-09 10:48:08 -08:00
Ilya Kreymer
336289b337 Merge branch 'develop' into video, merge wb.js
Add double init check for wombat
2014-12-07 23:54:20 -08:00
Ilya Kreymer
6d5592f890 wb js: add guard around wb js to prevent double-inits (such as from
fragments!)
2014-12-07 23:33:21 -08:00
Ilya Kreymer
87d7635f6f video: update rules to use new location-only rewriter for YT comments
support
2014-12-07 21:21:51 -08:00
Ilya Kreymer
721ab393f0 Merge branch 'develop' into video 2014-12-07 21:16:00 -08:00
Ilya Kreymer
5129c83095 update changelist 2014-12-07 21:15:35 -08:00
Ilya Kreymer
0a6838ac2b rewrite: refactor JS rewriters into seperate mixins, allowing for
link only, location only, and link + location JS rewriters.
location-only rewriter is new
js_rewrite_location options: all, location, urls (for now)
2014-12-07 21:13:19 -08:00
Ilya Kreymer
ab087afa4e Merge branch 'develop' into video, JS rewriter refactoring 2014-12-07 21:11:20 -08:00
Ilya Kreymer
5a11714b41 rewrite: refactor JS rewriters into seperate mixins, allowing for
link only, location only, and link + location JS rewriters.
location-only rewriter is new
js_rewrite_location options: all, location, urls (for now)
2014-12-07 21:09:37 -08:00
Ilya Kreymer
d45a23e07b vidrw: client rewrite: use client width/height if available, otherwise
use 100% to allow replacement in dynamic containers
2014-12-07 19:59:42 -08:00
Ilya Kreymer
00c4e189ef live rewrite video: add explicit generation of video info file, if
referrer and non-206 request (eg YT)
2014-12-07 19:56:29 -08:00
Ilya Kreymer
80d4fa6e29 rangecache: Add check for X-Ignore-Range-Arg header to force ignoring
range= and serving full request. (For use with nginx range cache
handling)
2014-12-07 19:55:24 -08:00