coocan 0.2__tar.gz → 0.3.1__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.
- {coocan-0.2 → coocan-0.3.1}/PKG-INFO +1 -1
- coocan-0.3.1/coocan/spider/__init__.py +1 -0
- {coocan-0.2 → coocan-0.3.1}/coocan/spider/base.py +1 -1
- {coocan-0.2 → coocan-0.3.1}/coocan/url/response.py +1 -2
- {coocan-0.2 → coocan-0.3.1}/coocan.egg-info/PKG-INFO +1 -1
- {coocan-0.2 → coocan-0.3.1}/setup.py +1 -1
- coocan-0.2/coocan/spider/__init__.py +0 -1
- {coocan-0.2 → coocan-0.3.1}/coocan/__init__.py +0 -0
- {coocan-0.2 → coocan-0.3.1}/coocan/url/__init__.py +0 -0
- {coocan-0.2 → coocan-0.3.1}/coocan/url/request.py +0 -0
- {coocan-0.2 → coocan-0.3.1}/coocan.egg-info/SOURCES.txt +0 -0
- {coocan-0.2 → coocan-0.3.1}/coocan.egg-info/dependency_links.txt +0 -0
- {coocan-0.2 → coocan-0.3.1}/coocan.egg-info/top_level.txt +0 -0
- {coocan-0.2 → coocan-0.3.1}/setup.cfg +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
from coocan.spider.base import MiniSpider
|
@@ -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 +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
|
File without changes
|