crawlo 1.2.7__py3-none-any.whl → 1.2.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of crawlo might be problematic. Click here for more details.

crawlo/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '1.2.7'
1
+ __version__ = '1.2.8'
@@ -26,7 +26,9 @@ def main():
26
26
 
27
27
  # 创建爬虫进程(自动加载默认配置)
28
28
  try:
29
- process = CrawlerProcess()
29
+ # 确保 spider 模块被正确导入
30
+ spider_modules = ['{{project_name}}.spiders']
31
+ process = CrawlerProcess(spider_modules=spider_modules)
30
32
  print("✅ 爬虫进程初始化成功")
31
33
 
32
34
  # 运行固定的爬虫
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: crawlo
3
- Version: 1.2.7
3
+ Version: 1.2.8
4
4
  Summary: Crawlo 是一款基于异步IO的高性能Python爬虫框架,支持分布式抓取。
5
5
  Home-page: https://github.com/crawl-coder/Crawlo.git
6
6
  Author: crawl-coder
@@ -1,5 +1,5 @@
1
1
  crawlo/__init__.py,sha256=jSOsZbDJ_Q5wZV8onSXx5LgNM7Z1q3zCROGdImBDr2I,1373
2
- crawlo/__version__.py,sha256=8fXL0hX3SI-tAETRl-m4ljrkccNA-ZNsta0Mg8Fv7aI,21
2
+ crawlo/__version__.py,sha256=cjYkehMdBwE5OyVBgmb7f8X0eVOCQfCLgw8D6pdxpfU,21
3
3
  crawlo/cli.py,sha256=AQnAB5NMI-Ic1VPw_Jjng8L4AI4-wMozOwzE6CfXkZU,2402
4
4
  crawlo/config.py,sha256=pQm5q4hFFW8DMpQzvlhrHKvZIzhbrDVa0PMQPbk6ybg,9818
5
5
  crawlo/config_validator.py,sha256=GsIgHM8LagVN_l5zWv8twXt7yiDyE6anH81Zjeaa7rQ,10134
@@ -85,7 +85,7 @@ crawlo/settings/default_settings.py,sha256=AI2mKQwBM1lcOiAW-5FpKvtZ0txqvLVdBWSiJ
85
85
  crawlo/settings/setting_manager.py,sha256=uqgm2uZQp7Wx1hMSf2FnA0dh6f4jzZ13NQbRvIfYwsQ,3829
86
86
  crawlo/spider/__init__.py,sha256=xAH6NfE_6K2aY_VSL9DoGjcmMHJDd5Nxr7TG1Y8vQAE,21091
87
87
  crawlo/templates/crawlo.cfg.tmpl,sha256=lwiUVe5sFixJgHFEjn1OtbAeyWsECOrz37uheuVtulk,240
88
- crawlo/templates/run.py.tmpl,sha256=tRlFe-7QhVvKmbbeyVm53_Jse0NzZCDjMOfAgAs13BY,1144
88
+ crawlo/templates/run.py.tmpl,sha256=yzzB_o9lID2FDOOdBX71lJHIsunghTHZKPrd2FykGjI,1275
89
89
  crawlo/templates/project/__init__.py.tmpl,sha256=aQnHaOjMSkTviOC8COUX0fKymuyf8lx2tGduxkMkXEE,61
90
90
  crawlo/templates/project/items.py.tmpl,sha256=8_3DBA8HrS2XbfHzsMZNJiZbFY6fDJUUMFoFti_obJk,314
91
91
  crawlo/templates/project/middlewares.py.tmpl,sha256=fxHqi-Sjec5GiHJciprOU-6SAUTzM728NlZckIqf9hM,4278
@@ -202,8 +202,8 @@ tests/test_template_content.py,sha256=URwjlAzMCdUN0sW_OupUcuSNMxp1OKgW79JOpkLPXn
202
202
  tests/test_template_redis_key.py,sha256=dOFutic8CL3tOzGbYhWbMrYiXZ8R3fhNoF5VKax5Iy0,4946
203
203
  tests/test_tools.py,sha256=fgzXL2L7eBV_nGjeMxH8IMhfc0dviQ80XgzZkJp_4dA,5266
204
204
  tests/tools_example.py,sha256=uXNS4xXJ-OD_xInAn2zjKLG_nlbgVGXZLoJtfhaG9lI,7926
205
- crawlo-1.2.7.dist-info/METADATA,sha256=z8I3gU3ejPRJLJ4AFKk7r_5uR7nS_6nv-Qr1JmOgNpA,19949
206
- crawlo-1.2.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
207
- crawlo-1.2.7.dist-info/entry_points.txt,sha256=5HoVoTSPxI8SCa5B7pQYxLSrkOdiunyO9tqNsLMv52g,43
208
- crawlo-1.2.7.dist-info/top_level.txt,sha256=keG_67pbZ_wZL2dmDRA9RMaNHTaV_x_oxZ9DKNgwvR0,22
209
- crawlo-1.2.7.dist-info/RECORD,,
205
+ crawlo-1.2.8.dist-info/METADATA,sha256=GY9wf_ke6wwiru3QZBHgi-2zgfyymLKEGO5zYi1bOVY,19949
206
+ crawlo-1.2.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
207
+ crawlo-1.2.8.dist-info/entry_points.txt,sha256=5HoVoTSPxI8SCa5B7pQYxLSrkOdiunyO9tqNsLMv52g,43
208
+ crawlo-1.2.8.dist-info/top_level.txt,sha256=keG_67pbZ_wZL2dmDRA9RMaNHTaV_x_oxZ9DKNgwvR0,22
209
+ crawlo-1.2.8.dist-info/RECORD,,
File without changes