爬虫开发
Some checks failed
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
Tests / PHP 8.4 (push) Has been cancelled

This commit is contained in:
cjd
2026-02-18 12:56:36 +08:00
parent a98bc6f13c
commit 260460df03
45 changed files with 4091 additions and 8 deletions

View File

@@ -0,0 +1,13 @@
{
"list_link_xpath": "//a[contains(@class,'tool-link')]/@href",
"fields": {
"name": "//h1/text()",
"summary": "//meta[@name='description']/@content",
"official_url": "//a[contains(@class,'visit-official')]/@href",
"logo_url": "//meta[@property='og:image']/@content",
"pricing_type": "//span[@data-field='pricing']/text()",
"platform": "//span[@data-field='platform']/text()",
"language": "//span[@data-field='language']/text()",
"description": "//article[contains(@class,'tool-content')]//text()"
}
}