cobweb-launcher 3.1.33__py3-none-any.whl → 3.1.35__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.
cobweb/base/request.py CHANGED
@@ -440,7 +440,7 @@ class Request:
440
440
 
441
441
  return result
442
442
 
443
- def range_download(self, start: int = 0, chunk_size: int = 1024, file_type_detect: bool = True) -> iter(bytes):
443
+ def range_download(self, start: int = 0, chunk_size: int = 1024, file_type_detect: bool = True):
444
444
  # 分块下载
445
445
  downloaded = start
446
446
  retry_count = 0
@@ -585,7 +585,7 @@ class Request:
585
585
 
586
586
  @property
587
587
  def to_dict(self) -> Dict[str, Any]:
588
- excluded_keys = {"request_settings", "url", "seed", "method", "check_status_code"}
588
+ excluded_keys = {"request_settings", "url", "seed", "method", "response", "check_status_code"}
589
589
  result = {
590
590
  key: value for key, value in self.__dict__.items()
591
591
  if not key.startswith('_') and key not in excluded_keys
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cobweb-launcher
3
- Version: 3.1.33
3
+ Version: 3.1.35
4
4
  Summary: spider_hole
5
5
  Home-page: https://github.com/Juannie-PP/cobweb
6
6
  Author: Juannie-PP
@@ -5,7 +5,7 @@ cobweb/base/__init__.py,sha256=NanSxJr0WsqjqCNOQAlxlkt-vQEsERHYBzacFC057oI,222
5
5
  cobweb/base/common_queue.py,sha256=hYdaM70KrWjvACuLKaGhkI2VqFCnd87NVvWzmnfIg8Q,1423
6
6
  cobweb/base/item.py,sha256=1bS4U_3vzI2jzSSeoEbLoLT_5CfgLPopWiEYtaahbvw,1674
7
7
  cobweb/base/logger.py,sha256=Vsg1bD4LXW91VgY-ANsmaUu-mD88hU_WS83f7jX3qF8,2011
8
- cobweb/base/request.py,sha256=NOGoheNTnFJV3AuQi5Gi54wVtMDQf1Fw6MsuBslPH3k,21004
8
+ cobweb/base/request.py,sha256=PfOnYDD6juaiHoeVuQvFEDi11o68HHwivasy00Wa06c,21001
9
9
  cobweb/base/response.py,sha256=L3sX2PskV744uz3BJ8xMuAoAfGCeh20w8h0Cnd9vLo0,11377
10
10
  cobweb/base/seed.py,sha256=ddaWCq_KaWwpmPl1CToJlfCxEEnoJ16kjo6azJs9uls,5000
11
11
  cobweb/base/task_queue.py,sha256=2MqGpHGNmK5B-kqv7z420RWyihzB9zgDHJUiLsmtzOI,6402
@@ -34,8 +34,8 @@ cobweb/utils/decorators.py,sha256=ZwVQlz-lYHgXgKf9KRCp15EWPzTDdhoikYUNUCIqNeM,11
34
34
  cobweb/utils/dotting.py,sha256=L-jGSApdnFIP4jUWH6p5qIme0aJ1vyDrxAx8wOJWvcs,1960
35
35
  cobweb/utils/oss.py,sha256=wmToIIVNO8nCQVRmreVaZejk01aCWS35e1NV6cr0yGI,4192
36
36
  cobweb/utils/tools.py,sha256=14TCedqt07m4z6bCnFAsITOFixeGr8V3aOKk--L7Cr0,879
37
- cobweb_launcher-3.1.33.dist-info/LICENSE,sha256=z1rxSIGOyzcSb3orZxFPxzx-0C1vTocmswqBNxpKfEk,1063
38
- cobweb_launcher-3.1.33.dist-info/METADATA,sha256=rduVZ1FDZbCFRdSYWwap8vXp9H85tEj78KgjONWQFwo,6051
39
- cobweb_launcher-3.1.33.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
40
- cobweb_launcher-3.1.33.dist-info/top_level.txt,sha256=4GETBGNsKqiCUezmT-mJn7tjhcDlu7nLIV5gGgHBW4I,7
41
- cobweb_launcher-3.1.33.dist-info/RECORD,,
37
+ cobweb_launcher-3.1.35.dist-info/LICENSE,sha256=z1rxSIGOyzcSb3orZxFPxzx-0C1vTocmswqBNxpKfEk,1063
38
+ cobweb_launcher-3.1.35.dist-info/METADATA,sha256=VRoCsFQGFNsZ3f7_edkD6qY-ZGUxB3TNxn8ATShhHaA,6051
39
+ cobweb_launcher-3.1.35.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
40
+ cobweb_launcher-3.1.35.dist-info/top_level.txt,sha256=4GETBGNsKqiCUezmT-mJn7tjhcDlu7nLIV5gGgHBW4I,7
41
+ cobweb_launcher-3.1.35.dist-info/RECORD,,