coocan 0.1__tar.gz → 0.3__tar.gz

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.
@@ -1,12 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: coocan
3
- Version: 0.1
3
+ Version: 0.3
4
4
  Summary: Air Spider Framework
5
5
  Author: wauo
6
6
  Author-email: markadc@126.com
7
7
  Requires-Python: >=3.10
8
- Description-Content-Type: text/markdown
9
-
10
- # 项目说明
11
-
12
- - 一个轻量爬虫框架
@@ -0,0 +1 @@
1
+ from coocan.spider.base import AirAsyncSpider
@@ -7,7 +7,7 @@ import coocan
7
7
  from coocan.url import Request
8
8
 
9
9
 
10
- class Spider:
10
+ class AirAsyncSpider:
11
11
  start_urls = []
12
12
  max_requests = 5
13
13
 
@@ -1,10 +1,9 @@
1
1
  from typing import Callable
2
2
 
3
+ from cocoman.spider.errors import ResponseCodeError, ResponseTextError
3
4
  from parsel import Selector
4
5
  from requests import Response
5
6
 
6
- from cocoman.spider.errors import ResponseCodeError, ResponseTextError
7
-
8
7
 
9
8
  class SelectorResponse(Response):
10
9
  """可以使用Xpath、CSS"""
@@ -1,12 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: coocan
3
- Version: 0.1
3
+ Version: 0.3
4
4
  Summary: Air Spider Framework
5
5
  Author: wauo
6
6
  Author-email: markadc@126.com
7
7
  Requires-Python: >=3.10
8
- Description-Content-Type: text/markdown
9
-
10
- # 项目说明
11
-
12
- - 一个轻量爬虫框架
@@ -1,16 +1,11 @@
1
1
  from setuptools import setup, find_packages
2
2
 
3
- with open("readme.md", "r", encoding="utf-8") as f:
4
- long_description = f.read()
5
-
6
3
  setup(
7
4
  name="coocan",
8
- version="0.1",
5
+ version="0.3",
9
6
  author="wauo",
10
7
  author_email="markadc@126.com",
11
8
  description="Air Spider Framework",
12
9
  packages=find_packages(),
13
10
  python_requires=">=3.10",
14
- long_description=long_description,
15
- long_description_content_type="text/markdown",
16
11
  )
@@ -1 +0,0 @@
1
- from coocan.spider.base import Spider
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes