Skip to content

Commit c087efd

Browse files
authored
fix: Update templates to handle optional httpx client (#1440)
### Description - Update templates to handle optional httpx client. ### Testing - Running E2E template tests
1 parent a23ce8b commit c087efd

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/crawlee/project_template/{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
# % endif
66
# % if cookiecutter.http_client == 'curl-impersonate'
77
# % do extras.append('curl-impersonate')
8-
# % elif cookiecutter.http_client == 'impit'
9-
# % do extras.append('impit')
8+
# % elif cookiecutter.http_client == 'httpx'
9+
# % do extras.append('httpx')
1010
# % endif
1111

1212
[project]

src/crawlee/project_template/{{cookiecutter.project_name}}/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ apify
1010
# % if cookiecutter.http_client == 'curl-impersonate'
1111
# % do extras.append('curl-impersonate')
1212
# % endif
13+
# % if cookiecutter.http_client == 'httpx'
14+
# % do extras.append('httpx')
15+
# % endif
1316
crawlee[{{ extras | join(',') }}]

0 commit comments

Comments
 (0)