Skip to content

Commit

Permalink
work on latest update:
Browse files Browse the repository at this point in the history
- fixes for iframes, as described in #4
- bump chrome to 88
- bump pywb to 2.5.0
- bump version to 1.0.5
  • Loading branch information
ikreymer committed Jan 27, 2021
1 parent db38270 commit 003b44a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM oldwebtoday/chrome:84 as chrome
FROM oldwebtoday/chrome:88 as chrome

FROM nikolaik/python-nodejs:python3.8-nodejs14

Expand All @@ -14,9 +14,9 @@ ENV PROXY_HOST=localhost \
DISPLAY=:99 \
GEOMETRY=1360x1020x16

RUN pip install git+https://github.com/webrecorder/pywb@patch-work
RUN pip install uwsgi

RUN pip install uwsgi 'gevent>=20.9.0'
RUN pip install pywb>=2.5.0

COPY --from=chrome /tmp/*.deb /deb/
COPY --from=chrome /app/libpepflashplayer.so /app/libpepflashplayer.so
Expand Down
3 changes: 2 additions & 1 deletion crawler.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Crawler {
if (this.emulateDevice) {
this.userAgent = this.emulateDevice.userAgent;
} else {
let version = "84";
let version = "88";

try {
version = child_process.execFileSync("google-chrome", ["--product-version"], {encoding: "utf8"}).trim();
Expand Down Expand Up @@ -326,6 +326,7 @@ class Crawler {
"--no-sandbox",
"--disable-background-media-suspend",
"--autoplay-policy=no-user-gesture-required",
"--disable-features=IsolateOrigins,site-per-process",
];
}

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.5'

services:
crawler:
image: webrecorder/browsertrix-crawler:0.1.4
image: webrecorder/browsertrix-crawler:0.1.5
build:
context: ./

Expand Down

0 comments on commit 003b44a

Please sign in to comment.