Skip to content

Commit

Permalink
revert back to extract_from=None as default
Browse files Browse the repository at this point in the history
  • Loading branch information
BurnzZ committed Jan 31, 2024
1 parent c8c3b19 commit e766bc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_ecommerce.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def test_metadata():
},
"extract_from": {
"anyOf": [{"type": "string"}, {"type": "null"}],
"default": "browserHtml",
"default": None,
"title": "Extraction source",
"description": (
"Whether to perform extraction using a browser request "
Expand Down
2 changes: 1 addition & 1 deletion zyte_spider_templates/spiders/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class BaseSpiderParams(BaseModel):
"Whether to perform extraction using a browser request "
"(browserHtml) or an HTTP request (httpResponseBody)."
),
default=ExtractFrom.browserHtml,
default=None,
json_schema_extra={
"enumMeta": {
ExtractFrom.browserHtml: {
Expand Down

0 comments on commit e766bc4

Please sign in to comment.