mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2025-08-09 05:09:36 +00:00
Merge pull request #11 from lwthiker/readme_arch
Add link to AUR packages in README.md
This commit is contained in:
@@ -49,6 +49,10 @@ If you use it outside this container:
|
|||||||
* Install dependencies: `sudo apt install libbrotli1`
|
* Install dependencies: `sudo apt install libbrotli1`
|
||||||
* Install libnss3: `sudo apt install libnss3`. Even though nss is statically compiled into `curl-impersonate`, it is still necessary to install libnss3 because curl dynamically loads `libnssckbi.so`, a file containing Mozilla's list of trusted root certificates. Alternatively, use `curl -k` to disable certificate verification.
|
* Install libnss3: `sudo apt install libnss3`. Even though nss is statically compiled into `curl-impersonate`, it is still necessary to install libnss3 because curl dynamically loads `libnssckbi.so`, a file containing Mozilla's list of trusted root certificates. Alternatively, use `curl -k` to disable certificate verification.
|
||||||
|
|
||||||
|
### Distro packages
|
||||||
|
|
||||||
|
AUR packages are available to Arch users: [curl-impersonate-chrome](https://aur.archlinux.org/packages/curl-impersonate-chrome), [curl-impersonate-firefox](https://aur.archlinux.org/packages/curl-impersonate-firefox).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
It is recommended to use the wrapper scripts `curl_chrome98` or `curl_ff91esr`, as they add all the correct headers and flags. For example:
|
It is recommended to use the wrapper scripts `curl_chrome98` or `curl_ff91esr`, as they add all the correct headers and flags. For example:
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user