Use undetected-playwright-patch instead of playwright

This commit is contained in:
2024-07-12 22:24:13 +02:00
parent 5ebcb665c2
commit 51c64efd65
6 changed files with 1537 additions and 12 deletions

View File

@ -1,3 +1,39 @@
[tool.poetry]
name = "twitch-drop-notifier"
version = "0.1.0"
description = ""
authors = ["Joakim Hellsén <tlovinator@gmail.com>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
discord-webhook = "^1.3.1"
django = { version = "^5.1b1", allow-prereleases = true }
django-auto-prefetch = "^1.9.0"
django-debug-toolbar = "^4.4.6"
django-ninja = "^1.2.1"
django-simple-history = "^3.7.0"
hishel = "^0.0.29"
httpx = "^0.27.0"
pillow = "^10.4.0"
platformdirs = "^4.2.2"
python-dotenv = "^1.0.1"
sentry-sdk = { extras = ["django"], version = "^2.9.0" }
whitenoise = { extras = ["brotli"], version = "^6.7.0" }
undetected-playwright-patch = "^1.40.0.post1700587210000"
[tool.poetry.group.dev.dependencies]
djlint = "^1.34.1"
pre-commit = "^3.7.1"
pytest = "^8.2.2"
pytest-django = "^4.8.0"
ruff = "^0.5.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
# https://docs.astral.sh/ruff/settings/
target-version = "py312"