zenx 0.5.0__py3-none-any.whl → 0.5.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.
@@ -21,7 +21,7 @@ class PreprocessPipeline(Pipeline):
21
21
  if await self.db.exists(_id, spider):
22
22
  raise DropItem
23
23
  await self.db.insert(_id, spider)
24
- scraped_time = item['scraped_at'] - item['responded_at']
24
+ scraped_time = item['scraped_at'] - item['received_at']
25
25
  self.logger.info("scraped", id=item.get("_id"), pipeline=self.name, time_ms=scraped_time)
26
26
  return item
27
27
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zenx
3
- Version: 0.5.0
3
+ Version: 0.5.1
4
4
  Summary: mini-framework
5
5
  Requires-Python: >=3.12
6
6
  Requires-Dist: curl-cffi>=0.12.0
@@ -13,15 +13,15 @@ zenx/pipelines/__init__.py,sha256=IxkZ0UpEJdYjLdd-PMcC9PzzzArTBNNcpgKc7NiOe5Y,13
13
13
  zenx/pipelines/base.py,sha256=N_388z5DFMeaU6wMwcClZAbQFWKh4kpAF7eUJhpQevs,1863
14
14
  zenx/pipelines/google_rpc.py,sha256=NlQjt1htUi3S1NCvZi1DtOlOi7sNR3qMFf2d-lRFMI4,4628
15
15
  zenx/pipelines/manager.py,sha256=-LKVtAfM3bJJp-_WgLVkjUpwh3MRRk2VDM_uDeMlaHE,1302
16
- zenx/pipelines/preprocess.py,sha256=raVSS74G5oh8RmC5OkmdzQITN7iOBOM4EwNRRXvNb3I,773
16
+ zenx/pipelines/preprocess.py,sha256=_EZ7OTI9yXPNZRn1LWQZ_AJJsT10xAZvdMxh_3zUEAQ,772
17
17
  zenx/pipelines/websocket.py,sha256=7YwLuWaNpqfs2BF4Vr63xpepWGcHCPyonoH1Fo3qziY,4464
18
18
  zenx/resources/proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  zenx/resources/proto/feed_pb2.py,sha256=ZyICOLnyuXekkvV4bAHZ1nE1-wwzcYYRRrmRJCMrSoo,2810
20
20
  zenx/resources/proto/feed_pb2_grpc.py,sha256=Mim6FfBgIMj0PmTqHk036nVUMJH3A6I3ts6r1j3bQF8,7441
21
21
  zenx/spiders/__init__.py,sha256=rs5LuqdM2MQlUYiTGJrzkYhzN8_SSLTrR7wGjSRrrSo,25
22
22
  zenx/spiders/base.py,sha256=KoMsT7ezwne1clTtP66dfvQGZPzdg2e7ygkM40h2QbA,1659
23
- zenx-0.5.0.dist-info/METADATA,sha256=S31e4r97LINmdDhQ4RJqe5ApOOX7lFGx9m0ry9U1sTU,1273
24
- zenx-0.5.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
25
- zenx-0.5.0.dist-info/entry_points.txt,sha256=8JXob2f1VtvzGFris-e9Usqywg7oca-cChDlH9moOZU,38
26
- zenx-0.5.0.dist-info/top_level.txt,sha256=JeXwvK86d7sB-2x-avugFnZIZa33zaHWKI8RHWJR6KY,5
27
- zenx-0.5.0.dist-info/RECORD,,
23
+ zenx-0.5.1.dist-info/METADATA,sha256=JSRM7O4OXoAZeclTuAyIwrlFhRkVZIwfctAtbSa7VLY,1273
24
+ zenx-0.5.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
25
+ zenx-0.5.1.dist-info/entry_points.txt,sha256=8JXob2f1VtvzGFris-e9Usqywg7oca-cChDlH9moOZU,38
26
+ zenx-0.5.1.dist-info/top_level.txt,sha256=JeXwvK86d7sB-2x-avugFnZIZa33zaHWKI8RHWJR6KY,5
27
+ zenx-0.5.1.dist-info/RECORD,,
File without changes