Skip to content

Commit ddfbde8

Browse files
authored
fix: Add browserforge to mandatory dependencies (#1044)
### Description `Browserforge` is now used for header generation not only for `PlaywrightCrawler`, but also for http clients and so it needs to be mandatory dependency.
1 parent 0a7fdb3 commit ddfbde8

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ keywords = [
3333
"scraping",
3434
]
3535
dependencies = [
36+
"browserforge>=1.2.3",
3637
"cachetools>=5.5.0",
3738
"colorama>=0.4.0",
3839
"docutils>=0.21.0",
@@ -55,7 +56,6 @@ dependencies = [
5556
# https://github.com/apify/crawlee-python/issues/995
5657
all = [
5758
"beautifulsoup4[lxml]>=4.12.0",
58-
"browserforge>=1.2.3",
5959
"cookiecutter>=2.6.0",
6060
"curl-cffi>=0.9.0",
6161
"html5lib>=1.0",
@@ -77,7 +77,7 @@ beautifulsoup = ["beautifulsoup4[lxml]>=4.12.0", "html5lib>=1.0"]
7777
cli = ["cookiecutter>=2.6.0", "inquirer>=3.3.0", "typer>=0.12.0"]
7878
curl-impersonate = ["curl-cffi>=0.9.0"]
7979
parsel = ["parsel>=1.10.0"]
80-
playwright = ["browserforge>=1.2.3", "playwright>=1.27.0"]
80+
playwright = ["playwright>=1.27.0"]
8181

8282
[project.scripts]
8383
crawlee = "crawlee._cli:cli"

uv.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)