mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2026-08-25 18:08:14 +00:00
Impersonate Firefox 98
Add support for impersonating Firefox 98 released a few days ago. It has the same TLS signature as Firefox 95 so the adaptation includes changing the user-agent only. Upgrade the NSS version used to 3.75, even though it's not strictly necessary.
This commit is contained in:
@@ -74,9 +74,9 @@ RUN cd brotli-${BROTLI_VERSION} && \
|
||||
# Needed for building libnss
|
||||
RUN pip install gyp-next
|
||||
|
||||
ARG NSS_VERSION=nss-3.74
|
||||
ARG NSS_VERSION=nss-3.75
|
||||
# This tarball is already bundled with nspr, a dependency of libnss.
|
||||
ARG NSS_URL=https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_74_RTM/src/nss-3.74-with-nspr-4.32.tar.gz
|
||||
ARG NSS_URL=https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_75_RTM/src/nss-3.75-with-nspr-4.32.tar.gz
|
||||
|
||||
# Download and compile nss.
|
||||
RUN curl -o ${NSS_VERSION}.tar.gz ${NSS_URL}
|
||||
|
||||
Reference in New Issue
Block a user