mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2026-04-28 10:45:34 +02:00
Compare commits
5 Commits
0fe9958afe
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e3c300ee0f | ||
|
|
4fc4c45aac | ||
|
|
ad1241cc36 | ||
|
|
440e124dd6 | ||
|
|
aee1df3201 |
4
.github/workflows/autotag.yml
vendored
4
.github/workflows/autotag.yml
vendored
@@ -10,9 +10,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Auto Tag
|
||||
- name: Auto tag
|
||||
uses: Klemensas/action-autotag@stable
|
||||
with:
|
||||
GITHUB_TOKEN: "${{ secrets.GH_PAT }}"
|
||||
|
||||
2
.github/workflows/release-docker.yml
vendored
2
.github/workflows/release-docker.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Downcase repo
|
||||
run: echo REPOSITORY=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
|
||||
|
||||
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -51,7 +51,7 @@ jobs:
|
||||
- name: Build artifacts
|
||||
run: |
|
||||
python -m pip install -r requirements.txt
|
||||
python -m pip install pyinstaller==6.16.0
|
||||
python -m pip install pyinstaller==6.17.0
|
||||
cd src
|
||||
python build_package.py
|
||||
|
||||
|
||||
19
README.md
19
README.md
@@ -1,12 +1,13 @@
|
||||
# FlareSolverr
|
||||
|
||||
[](https://github.com/FlareSolverr/FlareSolverr/releases)
|
||||
[](https://hub.docker.com/r/flaresolverr/flaresolverr/)
|
||||
[](https://hub.docker.com/r/flaresolverr/flaresolverr)
|
||||
[](https://hub.docker.com/r/flaresolverr/flaresolverr)
|
||||
[](https://github.com/FlareSolverr/FlareSolverr/issues)
|
||||
[](https://github.com/FlareSolverr/FlareSolverr/pulls)
|
||||
[](https://www.paypal.com/paypalme/diegoheras0xff)
|
||||
[](https://www.blockchain.com/btc/address/13Hcv77AdnFWEUZ9qUpoPBttQsUT7q9TTh)
|
||||
[](https://www.blockchain.com/eth/address/0x0D1549BbB00926BF3D92c1A8A58695e982f1BE2E)
|
||||
[](https://github.com/FlareSolverr/FlareSolverr)
|
||||
|
||||
[](https://ko-fi.com/ngosang)
|
||||
|
||||
FlareSolverr is a proxy server to bypass Cloudflare and DDoS-GUARD protection.
|
||||
|
||||
@@ -50,7 +51,9 @@ We provide a `docker-compose.yml` configuration file. Clone this repository and
|
||||
`docker-compose up -d` _(Compose V1)_ or `docker compose up -d` _(Compose V2)_ to start
|
||||
the container.
|
||||
|
||||
If you prefer the `docker cli` execute the following command.
|
||||
If you prefer the `docker cli` execute the following command:
|
||||
|
||||
**Bash**
|
||||
|
||||
```bash
|
||||
docker run -d \
|
||||
@@ -61,6 +64,12 @@ docker run -d \
|
||||
ghcr.io/flaresolverr/flaresolverr:latest
|
||||
```
|
||||
|
||||
**Command Prompt or Powershell**
|
||||
|
||||
```cmd
|
||||
docker run -d --name=flaresolverr -p 8191:8191 -e LOG_LEVEL=info --restart unless-stopped ghcr.io/flaresolverr/flaresolverr:latest
|
||||
```
|
||||
|
||||
If your host OS is Debian, make sure `libseccomp2` version is 2.5.x. You can check the version with `sudo apt-cache policy libseccomp2`
|
||||
and update the package with `sudo apt install libseccomp2=2.5.1-1~bpo10+1` or `sudo apt install libseccomp2=2.5.1-1+deb11u1`.
|
||||
Remember to restart the Docker daemon and the container after the update.
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
bottle==0.13.4
|
||||
waitress==3.0.2
|
||||
selenium==4.38.0
|
||||
selenium==4.39.0
|
||||
func-timeout==4.3.5
|
||||
prometheus-client==0.23.1
|
||||
# Required by undetected_chromedriver
|
||||
requests==2.32.5
|
||||
certifi==2025.10.5
|
||||
certifi==2025.11.12
|
||||
websockets==15.0.1
|
||||
packaging==25.0
|
||||
# Only required for Linux and macOS
|
||||
xvfbwrapper==0.2.15; platform_system != "Windows"
|
||||
xvfbwrapper==0.2.16; platform_system != "Windows"
|
||||
# Only required for Windows
|
||||
pefile==2024.8.26; platform_system == "Windows"
|
||||
|
||||
@@ -4,6 +4,7 @@ import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
import zipfile
|
||||
import tarfile
|
||||
|
||||
import requests
|
||||
|
||||
@@ -87,9 +88,24 @@ def compress_package():
|
||||
compr_format = 'zip' if os.name == 'nt' else 'gztar'
|
||||
compr_file_name = 'flaresolverr_windows_x64' if os.name == 'nt' else 'flaresolverr_linux_x64'
|
||||
compr_file_path = os.path.join(dist_folder, compr_file_name)
|
||||
shutil.make_archive(compr_file_path, compr_format, package_folder)
|
||||
print("Compressed file path: " + compr_file_path)
|
||||
|
||||
if compr_format == 'zip':
|
||||
shutil.make_archive(compr_file_path, compr_format, package_folder)
|
||||
print("Compressed file path: " + compr_file_path)
|
||||
else:
|
||||
def _reset_tarinfo(tarinfo):
|
||||
tarinfo.uid = 0
|
||||
tarinfo.gid = 0
|
||||
tarinfo.uname = ""
|
||||
tarinfo.gname = ""
|
||||
return tarinfo
|
||||
|
||||
tar_path = compr_file_path + '.tar.gz'
|
||||
with tarfile.open(tar_path, 'w:gz') as tar:
|
||||
for entry in os.listdir(package_folder):
|
||||
fullpath = os.path.join(package_folder, entry)
|
||||
tar.add(fullpath, arcname=entry, filter=_reset_tarinfo)
|
||||
print("Compressed file path: " + tar_path)
|
||||
|
||||
if __name__ == "__main__":
|
||||
print("Building package...")
|
||||
|
||||
Reference in New Issue
Block a user