From 26265327b5805fac8c975cec5edd2104b57607b5 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Sun, 3 Nov 2024 12:24:52 +0200 Subject: [PATCH] Adding the option to update browserforge with camoufox Since my PRs to Camoufox got accepted :smoking: --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5dcfd04..31958c7 100644 --- a/README.md +++ b/README.md @@ -110,23 +110,23 @@ pip install scrapling # Or the latest from GitHub pip install git+https://github.com/D4Vinci/Scrapling.git@main ``` -Then in the commandline download the browser with +- For using the `StealthyFetcher`, go in the commandline and download the browser with
Windows OS ```bash -camoufox fetch +camoufox fetch --browserforge ```
MacOS ```bash -python3 -m camoufox fetch +python3 -m camoufox fetch --browserforge ```
Linux ```bash -python -m camoufox fetch +python -m camoufox fetch --browserforge ``` On a fresh installation of Linux, you may also need the following Firefox dependencies: - Debian-based distros @@ -139,13 +139,13 @@ On a fresh installation of Linux, you may also need the following Firefox depend ```
-> You can head to the official [Camoufox documentation](https://camoufox.com/python/installation/#download-the-browser) for more info on installation + See the official Camoufox documentation for more info on installation -Or if you are going to use the other browsers options, then install playwright browsers with: +- If you are going to use the `PlayWrightFetcher` options, then install playwright browsers with: ```commandline playwright install ``` -and then update the user agents files with: +- If you are going to use normal requests only with `Fetcher` class then update the fingerprints files with: ```commandline python -m browserforge update ```