scrapely-python 0.1.9__py3-none-any.whl → 0.1.10__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.
scrapely/__init__.py CHANGED
@@ -132,7 +132,7 @@ from .errors import (
132
132
  raise_for_status,
133
133
  )
134
134
 
135
- __version__ = '0.1.9'
135
+ __version__ = '0.1.10'
136
136
  __all__ = [
137
137
  # Core
138
138
  'Actor',
scrapely/charging.py CHANGED
@@ -1333,7 +1333,9 @@ async def push_data_and_charge(
1333
1333
  raise
1334
1334
  return ChargeResult(
1335
1335
  chargeable_within_limit=charging_manager.compute_chargeable(),
1336
- charged_count=accepted_for_items * len(results) if results else 0,
1336
+ # Rows charged, as Apify reports it for the pushed event; the
1337
+ # implicit default-dataset event is not counted on top.
1338
+ charged_count=accepted_for_items,
1337
1339
  event_charge_limit_reached=any(
1338
1340
  result.event_charge_limit_reached for result in results
1339
1341
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scrapely-python
3
- Version: 0.1.9
3
+ Version: 0.1.10
4
4
  Summary: Scrapely Python SDK - A toolkit for building Actors on the Scrapely platform
5
5
  Author-email: Scrapely <support@scrape.ly>
6
6
  License-Expression: MIT AND Apache-2.0
@@ -1,9 +1,9 @@
1
- scrapely/__init__.py,sha256=3LP91mpUIJywB0w8vwL1kKhrMnuYE3eHZP_Bj9QjylI,5745
1
+ scrapely/__init__.py,sha256=n-Ei0So7Ex3bRjqTBs1ROCE9uAjI4fjJ7tAFC5YYA-U,5746
2
2
  scrapely/_browser_locations.py,sha256=8QVVnkms2bDn3_LDYgYDR59MvFx8757l_JYnZ7xb3oI,145269
3
3
  scrapely/actor.py,sha256=cQl9RM1MUZWWR8uNF7q6Pjd8vpB1MCoDp6KM5ITJq5I,77479
4
4
  scrapely/browser_configuration.py,sha256=jAZapNSHLFW05B96df4wNBtcyiiU9DA3ml0yTL1FwfA,5770
5
5
  scrapely/cdp_retry.py,sha256=hdTJEAIKhApM7IOk1DrQEl8NoflSJSmqd4RbNJ2IsgI,8540
6
- scrapely/charging.py,sha256=bwJ6VPJOdxpo0ZHOTrMAe8NCTXeRBuxHN0EDyXbGXss,59138
6
+ scrapely/charging.py,sha256=L3759neFv63-BvYOg5mSB2GDgauaP6nEJuT5wznJGmM,59263
7
7
  scrapely/charging_client.py,sha256=tDtlPwLSVFvoRa2NBgNjyfHkAUM77SSIyYT2ACgpDm8,3710
8
8
  scrapely/configuration.py,sha256=GjMr3YsxM16HYjAOTUzWZKG2E8FuMzAoFXmkn5dbDPM,16396
9
9
  scrapely/errors.py,sha256=DCAlVvE3jToZuPEG2HVDL7i8D8hLboomQ5JpSOcsXoQ,4107
@@ -38,10 +38,10 @@ scrapely/storage/_file_system/_key_value_store_client.py,sha256=4Ipgbh4qEqAkwQJ9
38
38
  scrapely/storage/_file_system/_storage_client.py,sha256=aaGJ4P0QAtIgEMl6yHpuobeWFD5M4rMC5HwhOOvuGuo,1794
39
39
  scrapely/storage_clients/__init__.py,sha256=cs1YX7JV2_GKBXeiiJgkQFali08b5_y_jH6Yw7iROAA,656
40
40
  scrapely/storages/__init__.py,sha256=4PAELhJNZ3exJ7Uouicn-bCQ58NafKjhLBixQ8ATQc4,173
41
- scrapely_python-0.1.9.dist-info/licenses/LICENSE,sha256=pQGY0XwjIYh-a2HfawxHq1en53bXkFkDj2Q70jKWHr4,1088
42
- scrapely_python-0.1.9.dist-info/licenses/LICENSE-APACHE,sha256=N8m0FzMq8i4UbTgXZvKEZJSD-27OF8pWZYS_atz4kTU,11355
43
- scrapely_python-0.1.9.dist-info/licenses/NOTICE,sha256=DEsNrw6UdSIqdYYqMWVFgJnyt6jUivTD7iFU6YM_e1A,1122
44
- scrapely_python-0.1.9.dist-info/METADATA,sha256=E_rdzHW3bC3asqFegdYfxL27jTuGhIm1uXvVpGFm_-o,3486
45
- scrapely_python-0.1.9.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
46
- scrapely_python-0.1.9.dist-info/top_level.txt,sha256=T4B9UMrs4q99QSAFyD1zdXhl40KnLhBKqrDkPhOTsmY,9
47
- scrapely_python-0.1.9.dist-info/RECORD,,
41
+ scrapely_python-0.1.10.dist-info/licenses/LICENSE,sha256=pQGY0XwjIYh-a2HfawxHq1en53bXkFkDj2Q70jKWHr4,1088
42
+ scrapely_python-0.1.10.dist-info/licenses/LICENSE-APACHE,sha256=N8m0FzMq8i4UbTgXZvKEZJSD-27OF8pWZYS_atz4kTU,11355
43
+ scrapely_python-0.1.10.dist-info/licenses/NOTICE,sha256=DEsNrw6UdSIqdYYqMWVFgJnyt6jUivTD7iFU6YM_e1A,1122
44
+ scrapely_python-0.1.10.dist-info/METADATA,sha256=iM8rTb87n890stjpZaERpSRig28sKSLhnmSPROFVoZc,3487
45
+ scrapely_python-0.1.10.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
46
+ scrapely_python-0.1.10.dist-info/top_level.txt,sha256=T4B9UMrs4q99QSAFyD1zdXhl40KnLhBKqrDkPhOTsmY,9
47
+ scrapely_python-0.1.10.dist-info/RECORD,,