ultimate-sitemap-parser 1.3.0__py3-none-any.whl → 1.3.1__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.3.0
3
+ Version: 1.3.1
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
@@ -8,14 +8,14 @@ usp/fetch_parse.py,sha256=69U1uAKawUym41N4nwJXLW9tQ0WXO4Pi63hnljYCXPM,43524
8
8
  usp/helpers.py,sha256=FeIZcEuEM3Uz8tHeNucgoB3_27Ax6qCatfalPIHHGUY,8862
9
9
  usp/objects/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  usp/objects/page.py,sha256=vz2QXC9Z3E65Cxf68tKfQkubIc_OB0m6pNYH146Qx_8,14253
11
- usp/objects/sitemap.py,sha256=KSMjgHDTG3Tx2LCIk_x3C4Q-05DNDNFt92gUwQiU7u8,11522
11
+ 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
15
  usp/web_client/requests_client.py,sha256=sFYtJ8Q5z27WlTG1PgBzcvbS75pJ0pYUastEFmxa95U,5888
16
- ultimate_sitemap_parser-1.3.0.dist-info/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
17
- ultimate_sitemap_parser-1.3.0.dist-info/METADATA,sha256=MkV1nfPlwy-cRTcqTHmLTxplbw8_jDSKEIKZacCg2lE,4397
18
- ultimate_sitemap_parser-1.3.0.dist-info/NOTICE,sha256=3ANZA5R9rYnCOnUoroGfFUOZ__ww_yG01NUAx0X6J7E,632
19
- ultimate_sitemap_parser-1.3.0.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
20
- ultimate_sitemap_parser-1.3.0.dist-info/entry_points.txt,sha256=v60w5WzqYlPOucntZUy0ydzlYwuAPSwoQY0KdT5ragQ,36
21
- ultimate_sitemap_parser-1.3.0.dist-info/RECORD,,
16
+ ultimate_sitemap_parser-1.3.1.dist-info/LICENSE,sha256=ixuiBLtpoK3iv89l7ylKkg9rs2GzF9ukPH7ynZYzK5s,35148
17
+ ultimate_sitemap_parser-1.3.1.dist-info/METADATA,sha256=GUU8qLo24ZGBtAd4CYaHxY927eFFGvKlVPhc6jfg5so,4397
18
+ ultimate_sitemap_parser-1.3.1.dist-info/NOTICE,sha256=3ANZA5R9rYnCOnUoroGfFUOZ__ww_yG01NUAx0X6J7E,632
19
+ ultimate_sitemap_parser-1.3.1.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
20
+ ultimate_sitemap_parser-1.3.1.dist-info/entry_points.txt,sha256=v60w5WzqYlPOucntZUy0ydzlYwuAPSwoQY0KdT5ragQ,36
21
+ ultimate_sitemap_parser-1.3.1.dist-info/RECORD,,
usp/objects/sitemap.py CHANGED
@@ -225,8 +225,8 @@ class AbstractPagesSitemap(AbstractSitemap, metaclass=abc.ABCMeta):
225
225
  self._dump_pages(pages)
226
226
 
227
227
  def _dump_pages(self, pages: List[SitemapPage]):
228
- temp_file, self.__pages_temp_file_path = tempfile.mkstemp()
229
- with open(self.__pages_temp_file_path, "wb") as tmp:
228
+ fd, self.__pages_temp_file_path = tempfile.mkstemp()
229
+ with os.fdopen(fd, "wb") as tmp:
230
230
  pickle.dump(pages, tmp, protocol=pickle.HIGHEST_PROTOCOL)
231
231
 
232
232
  def __del__(self):