feat: 添加 Spider 基类 + Pipeline 配置 + 测试
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def sample_announcement_data():
|
||||
return {
|
||||
"title": "测试公告标题",
|
||||
"publish_date": "2026-05-09",
|
||||
"purchase_name": "测试单位",
|
||||
"content_url": "https://example.com/detail/123",
|
||||
"source_code": "ZcyAnnouncement1",
|
||||
"source_name": "采购公告",
|
||||
}
|
||||
Reference in New Issue
Block a user