ultimate-sitemap-parser 1.4.0__py3-none-any.whl → 1.5.0__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 ultimate-sitemap-parser might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: ultimate-sitemap-parser
3
- Version: 1.4.0
3
+ Version: 1.5.0
4
4
  Summary: A performant library for parsing and crawling sitemaps
5
5
  License: GPL-3.0-or-later
6
6
  Keywords: sitemap,crawler,indexing,xml,rss,atom,google news
@@ -12,10 +12,10 @@ usp/objects/sitemap.py,sha256=_t0ej2UmNsIb0NkxYkwYGxBqX_LHEJfNc-cRulQXyIk,11495
12
12
  usp/tree.py,sha256=MdnVxfIIMqWrudsYxFI8yQTXnlmNLFEcQEOkXbnuBr4,4395
13
13
  usp/web_client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  usp/web_client/abstract_client.py,sha256=EWY4lPYJqpV7ge0DTZESTAOofAjNMIJnDm_2PPeZ9z4,7007
15
- usp/web_client/requests_client.py,sha256=sFYtJ8Q5z27WlTG1PgBzcvbS75pJ0pYUastEFmxa95U,5888
16
- ultimate_sitemap_parser-1.4.0.dist-info/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
17
- ultimate_sitemap_parser-1.4.0.dist-info/METADATA,sha256=L2nASfrjc5-hZL71JAmf6h6SUeeAVHyppi5fbuDt5lo,4397
18
- ultimate_sitemap_parser-1.4.0.dist-info/NOTICE,sha256=3ANZA5R9rYnCOnUoroGfFUOZ__ww_yG01NUAx0X6J7E,632
19
- ultimate_sitemap_parser-1.4.0.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
20
- ultimate_sitemap_parser-1.4.0.dist-info/entry_points.txt,sha256=v60w5WzqYlPOucntZUy0ydzlYwuAPSwoQY0KdT5ragQ,36
21
- ultimate_sitemap_parser-1.4.0.dist-info/RECORD,,
15
+ usp/web_client/requests_client.py,sha256=dSUFVb-v8w9MOSib7q3CZPTyRUObxCmSuD93ZHFz-VQ,5906
16
+ ultimate_sitemap_parser-1.5.0.dist-info/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
17
+ ultimate_sitemap_parser-1.5.0.dist-info/METADATA,sha256=RzokPwdiSgQnhCqaXUUQ_B2NrRCQa0JfmEZC-2xKe08,4397
18
+ ultimate_sitemap_parser-1.5.0.dist-info/NOTICE,sha256=3ANZA5R9rYnCOnUoroGfFUOZ__ww_yG01NUAx0X6J7E,632
19
+ ultimate_sitemap_parser-1.5.0.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
20
+ ultimate_sitemap_parser-1.5.0.dist-info/entry_points.txt,sha256=v60w5WzqYlPOucntZUy0ydzlYwuAPSwoQY0KdT5ragQ,36
21
+ ultimate_sitemap_parser-1.5.0.dist-info/RECORD,,
@@ -79,7 +79,7 @@ class RequestsWebClient(AbstractWebClient):
79
79
 
80
80
  __USER_AGENT = f"ultimate_sitemap_parser/{__version__}"
81
81
 
82
- __HTTP_REQUEST_TIMEOUT = 60
82
+ __HTTP_REQUEST_TIMEOUT = (9.05, 60)
83
83
  """
84
84
  HTTP request timeout.
85
85
 
@@ -114,7 +114,7 @@ class RequestsWebClient(AbstractWebClient):
114
114
  self.__waiter = RequestWaiter(wait, random_wait)
115
115
  self.__session = session or requests.Session()
116
116
 
117
- def set_timeout(self, timeout: Union[int, Tuple[int, int], None]) -> None:
117
+ def set_timeout(self, timeout: Optional[Union[float, Tuple[float, float]]]) -> None:
118
118
  """Set HTTP request timeout.
119
119
 
120
120
  See also: `Requests timeout docs <https://requests.readthedocs.io/en/latest/user/advanced/#timeouts>`__