Skip to content

Commit

Permalink
better description for pagination_only
Browse files Browse the repository at this point in the history
  • Loading branch information
BurnzZ committed Oct 26, 2023
1 parent 3e4484b commit 396283d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion tests/test_ecommerce.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,10 @@ def test_metadata():
"title": "Navigation",
},
"pagination_only": {
"description": "Follow pagination and product detail pages.",
"description": (
"Follow pagination and product detail pages. SubCategory links are ignored. "
"Use this when some subCategory links are misidentified by ML-extraction."
),
"title": "Pagination Only",
},
},
Expand Down
5 changes: 4 additions & 1 deletion zyte_spider_templates/spiders/ecommerce.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ class EcommerceSpiderParams(BaseSpiderParams):
},
EcommerceCrawlStrategy.pagination_only: {
"title": "Pagination Only",
"description": "Follow pagination and product detail pages.",
"description": (
"Follow pagination and product detail pages. SubCategory links are ignored. "
"Use this when some subCategory links are misidentified by ML-extraction."
),
},
},
},
Expand Down

0 comments on commit 396283d

Please sign in to comment.