Package Details: libcurl-impersonate-bin 1.2.1-1

Git Clone URL: https://aur.archlinux.org/libcurl-impersonate-bin.git (read-only, click to copy)
Package Base: libcurl-impersonate-bin
Description: Series of patches that make curl requests look like Chrome
Upstream URL: https://github.com/lexiforest/curl-impersonate
Licenses: MIT
Conflicts: curl-impersonate
Provides: libcurl-impersonate, libcurl-impersonate-chrome
Submitter: mattf
Maintainer: mattf
Last Packager: mattf
Votes: 3
Popularity: 0.058599
First Submitted: 2022-07-16 02:21 (UTC)
Last Updated: 2025-08-22 13:02 (UTC)

Latest Comments

1 2 Next › Last »

Nebulosa commented on 2025-08-11 12:13 (UTC)

Yes, now all works as expected!

mattf commented on 2025-08-11 12:06 (UTC)

@Nebulosa, regarding the wrong checksums, that was already fixed right? (except using sha256)

Nebulosa commented on 2025-08-11 11:18 (UTC) (edited on 2025-08-11 11:30 (UTC) by Nebulosa)

Error due updating - hashsums should be different for each arch. Also better use sha256 from download page:

sha256sums=('7d0c5f4b5b4c27299ad6759798772b866b3559ac5edb23845f36328eb734376d')
sha256sums_aarch64=('9409c19a8d7a1e88763b2c1281422d082fde21fae3b6615418995b61849fc753')
sha256sums_armv7h=('dabfb1b572c6fe37f32332a019e1048a5addb91a1a75ccdc4107ebeb10fc0c48')
sha256sums_i686=('6ac57d5ed305eee2887aa335216346e116c3fd3915a93a2a55b63efe9c6e385b')
sha256sums_x86_64=('f1aec526f2c28c816c261c22b9ad29c0eab39164a3e8e2b3f2c96d3a1b67b8dd')

PKGBUILD with other edits here

Neurognostic commented on 2025-05-20 02:52 (UTC) (edited on 2025-05-20 02:54 (UTC) by Neurognostic)

Also, please add ${pkgname%-bin} or libcurl-impersonate to the provides and conflicts arrays.

Neurognostic commented on 2025-05-19 22:13 (UTC) (edited on 2025-05-19 22:20 (UTC) by Neurognostic)

Can you please also provide a symlink to an unversioned .so for libcurl-impersonate.so and a major versioned .so for libcurl-impersonate.so.4?

That way we can configure python-curl-cffi to link it instead of the *-chrome name.

Nebulosa commented on 2025-05-08 11:37 (UTC) (edited on 2025-05-08 11:38 (UTC) by Nebulosa)

Here's my version of PKGBUILD.

Works perfectly with yt-dlp and python-curl-cffi

Not sure about firefox support, so I removed information about it. Also fixed warnings and some errors from namcap checking

zer0def commented on 2025-05-07 07:43 (UTC) (edited on 2025-05-07 07:47 (UTC) by zer0def)

Why are you stomping static libs and causing conflicts with upstream packages like, for example, zlib? They're not necessary for running the .so.

diff --git a/PKGBUILD b/PKGBUILD
index 3dc3f92..61d85f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,9 +26,6 @@ md5sums_armv7h=('9521ccbf2eb32c6925f5524b0254c6f6')

 package () {
   mkdir -p "${pkgdir}/usr/lib/"
-  for lib in $(find -L . -maxdepth 1 -type f -name "lib*" -iname "lib*" ! -name "*.tar.gz")
-  do
-    cp -a "${lib}" "${pkgdir}/usr/lib/"
-  done
+  find -L -type f -iname "lib*.so*" -print0 | xargs -0r -I@ -- cp -a "@" "${pkgdir}/usr/lib/"
   chown -R root:root "${pkgdir}/usr/lib/"
 }

Pulec commented on 2025-05-06 21:33 (UTC)

Ah yes, let's remove the tar.gz before trying to cp it... https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libcurl-impersonate-bin#n29

Swap those lines, please. Also, cp is not happy with glob, so the correct package should be:

package () {
  mkdir -p "${pkgdir}/usr/lib/"
  cp -a libcurl-impersonate_x86_64.tar.gz "${pkgdir}/usr/lib/"
  rm libcurl-impersonate*.tar.gz
  chown -R root:root "${pkgdir}/usr/lib/"
}