https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=curl-impersonate-firefox#n154
The main binary must be installed in "curl-impersonate-ff" for the "curl_ff*" scripts to run correctly.
Git Clone URL: | https://aur.archlinux.org/curl-impersonate-firefox.git (read-only, click to copy) |
---|---|
Package Base: | curl-impersonate-firefox |
Description: | A special compilation of curl that makes it impersonate Firefox |
Upstream URL: | https://github.com/lexiforest/curl-impersonate |
Keywords: | curl https scraping security ssl tls |
Licenses: | MIT |
Provides: | curl-impersonate-firefox, libcurl-impersonate-firefox |
Submitter: | mattf |
Maintainer: | mattf |
Last Packager: | mattf |
Votes: | 1 |
Popularity: | 0.000000 |
First Submitted: | 2022-02-23 07:47 (UTC) |
Last Updated: | 2025-05-18 17:11 (UTC) |
« First ‹ Previous 1 2
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=curl-impersonate-firefox#n154
The main binary must be installed in "curl-impersonate-ff" for the "curl_ff*" scripts to run correctly.
It works now, many thanks.
This is weird. From what I can tell, it uses the same brotli version from the official repos:
https://github.com/archlinux/svntogit-packages/blob/packages/brotli/trunk/PKGBUILD
The official package cherry-picks a single commit on top of the usual tag:
https://github.com/google/brotli/commit/09b0992b6acb7faa6fd3b23f9bc036ea117230fc
Anyway, thanks for the quick fix, and for doing it on the Chrome version too.
@somini it is fixed, try again now.
Can't build this:
CCLD curl
/usr/bin/ld: ../lib/.libs/libcurl.a(libcurl_la-version.o): in function `curl_version':
version.c:(.text+0xdb): undefined reference to `BrotliDecoderVersion'
/usr/bin/ld: ../lib/.libs/libcurl.a(libcurl_la-version.o): in function `curl_version_info':
version.c:(.text+0x406): undefined reference to `BrotliDecoderVersion'
/usr/bin/ld: version.c:(.text+0x41f): undefined reference to `BrotliDecoderVersion'
/usr/bin/ld: ../lib/.libs/libcurl.a(libcurl_la-content_encoding.o): in function `brotli_close_writer':
content_encoding.c:(.text+0xee): undefined reference to `BrotliDecoderDestroyInstance'
/usr/bin/ld: ../lib/.libs/libcurl.a(libcurl_la-content_encoding.o): in function `brotli_init_writer':
content_encoding.c:(.text+0x122): undefined reference to `BrotliDecoderCreateInstance'
/usr/bin/ld: ../lib/.libs/libcurl.a(libcurl_la-content_encoding.o): in function `brotli_unencode_write':
content_encoding.c:(.text+0x44a): undefined reference to `BrotliDecoderDecompressStream'
/usr/bin/ld: content_encoding.c:(.text+0x47d): undefined reference to `BrotliDecoderDestroyInstance'
/usr/bin/ld: content_encoding.c:(.text+0x4d5): undefined reference to `BrotliDecoderGetErrorCode'
collect2: error: ld returned 1 exit status
This error seems related: https://github.com/bincrafters/community/issues/357
Pinned Comments
mattf commented on 2025-05-08 09:30 (UTC) (edited on 2025-05-08 09:32 (UTC) by mattf)
Upstream has now made it possible to build both firefox and chrome (including safari, chrome_android) all together, so I would encorage using this package from now on instead: https://aur.archlinux.org/packages/curl-impersonate