v0.11.0 with auto-archiver v1.1.0, antibot added, vk_extractor dropped

This commit is contained in:
msramalho
2025-06-18 02:14:10 +01:00
parent 019bfefd8b
commit f27fb12b27
6 changed files with 1782 additions and 1023 deletions

1
.dockerignore Normal file
View File

@@ -0,0 +1 @@
secrets/antibot_user_data*

View File

@@ -1,4 +1,4 @@
VERSION = "0.10.0"
VERSION = "0.11.0"
API_DESCRIPTION = """
#### API for the Auto-Archiver project, a tool to archive web pages and Google Sheets.

View File

@@ -12,9 +12,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
RUN pip install --no-cache-dir poetry
COPY ../../pyproject.toml ../../poetry.lock ../../README.md ./
# sed is unfortunately needed to fix a bug comming from vk-url-scraper that comes from brotli and the fact bk-ul-scraper can no longer be published to pypi
RUN sed -i 's/platform_python_implementation >= \\"CPython\\"/platform_python_implementation == \\"CPython\\"/g' poetry.lock && \
poetry install --with web --no-interaction --no-ansi --no-cache
RUN poetry install --with web --no-interaction --no-ansi --no-cache
# Copy the application code and configurations
COPY ../../app ./app/

View File

@@ -16,7 +16,7 @@ ENV LANG=C.UTF-8 \
# install dependencies
RUN apt update -y && \
apt install -y python3-venv && \
apt install -y python3-venv python3-tk python3-dev && \
python3 -m venv ./poetry-venv && \
./poetry-venv/bin/python -m pip install --upgrade pip && \
./poetry-venv/bin/python -m pip install "poetry>=2.0.0,<3.0.0"

2792
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -21,7 +21,7 @@ requires-python = ">=3.10,<3.13"
dependencies = [
"auto-archiver (>=0.13.1)",
"auto-archiver (==1.1.0)",
"celery (>=5.0)",
"redis (==3.5.3)",
"loguru (>=0.7.3,<0.8.0)",
@@ -42,7 +42,7 @@ extend-immutable-calls = ["fastapi.Depends", "fastapi.Query"]
[tool.poetry.group.worker.dependencies]
watchdog = ">=6.0.0,<7.0.0"
setuptools = "^75.8.0"
setuptools = ">=75.8.0"
[tool.poetry.group.web.dependencies]
fastapi = ">=0.115.8,<0.116.0"