mapillary-downloader 0.7.3__py3-none-any.whl → 0.7.4__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.
@@ -42,7 +42,10 @@ def get_date_range(metadata_file):
42
42
  with gzip.open(metadata_file, "rt") as f:
43
43
  for line in f:
44
44
  if line.strip():
45
- data = json.loads(line)
45
+ try:
46
+ data = json.loads(line)
47
+ except json.JSONDecodeError:
48
+ continue
46
49
  if "captured_at" in data:
47
50
  timestamps.append(data["captured_at"])
48
51
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapillary_downloader
3
- Version: 0.7.3
3
+ Version: 0.7.4
4
4
  Summary: Archive user data from Mapillary
5
5
  Author-email: Gareth Davidson <gaz@bitplane.net>
6
6
  Requires-Python: >=3.10
@@ -5,7 +5,7 @@ mapillary_downloader/downloader.py,sha256=TWk3CiPbuEWgFZoyA146xdvH-heZnmBWFJKKaB
5
5
  mapillary_downloader/exif_writer.py,sha256=K_441EG1siWyNMmFGZSfnORUCjBThkeg4JFtbg9AOsA,5120
6
6
  mapillary_downloader/graphql_web.py,sha256=69pmx8xDEuu-zn7xy5CkpUBjijGTS506ZJd5I_GAepk,6671
7
7
  mapillary_downloader/ia_check.py,sha256=L2MEbG_KmlAd5NLmo2HQkO8HWvRN0brE5wXXoyNMbq8,1100
8
- mapillary_downloader/ia_meta.py,sha256=3aj1RunSLap2Kh3q9Mm_4WpcVT92elfR6k-um_GRTpk,6266
8
+ mapillary_downloader/ia_meta.py,sha256=DTmFwIKN03aNgBaerQWF5x_hveDpjvrMBTdRAgHoFRk,6365
9
9
  mapillary_downloader/ia_stats.py,sha256=kjbNUVXtZziWxTx1yi2TLTZt_F0BWjrv1WWyy6ZeCLY,10678
10
10
  mapillary_downloader/logging_config.py,sha256=Z-wNq34nt7aIhJWdeKc1feTY46P9-Or7HtiX7eUFjEI,2324
11
11
  mapillary_downloader/metadata_reader.py,sha256=Re-HN0Vfc7Hs1eOut7uOoW7jWJ2PIbKoNzC7Ak3ah5o,4933
@@ -14,8 +14,8 @@ mapillary_downloader/utils.py,sha256=VgcwbC8yb2XlTGerTNwHBU42K2IN14VU7P-I52Vb01c
14
14
  mapillary_downloader/webp_converter.py,sha256=vYLLQxDmdnqRz0nm7wXwRUd4x9mQZNah-DrncpA8sNs,1901
15
15
  mapillary_downloader/worker.py,sha256=K2DkQgFzALKs20TsG1KibNUdFiWN_v8MtVnBX_0xVyc,5162
16
16
  mapillary_downloader/worker_pool.py,sha256=QnqYcPCi3GNu2e8GNG_qQ8v680PWzCZcGE5KeskqZxU,7868
17
- mapillary_downloader-0.7.3.dist-info/entry_points.txt,sha256=PdYtxOXHMJrUhmiPO4G-F98VuhUI4MN9D_T4KPrVZ5w,75
18
- mapillary_downloader-0.7.3.dist-info/licenses/LICENSE.md,sha256=7_BIuQ-veOrsF-WarH8kTkm0-xrCLvJ1PFE1C4Ebs64,146
19
- mapillary_downloader-0.7.3.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
20
- mapillary_downloader-0.7.3.dist-info/METADATA,sha256=G93Ph_ffq5DRZ4BpaIqKkvtQVtX7lWuzlKs05SwKV68,5540
21
- mapillary_downloader-0.7.3.dist-info/RECORD,,
17
+ mapillary_downloader-0.7.4.dist-info/entry_points.txt,sha256=PdYtxOXHMJrUhmiPO4G-F98VuhUI4MN9D_T4KPrVZ5w,75
18
+ mapillary_downloader-0.7.4.dist-info/licenses/LICENSE.md,sha256=7_BIuQ-veOrsF-WarH8kTkm0-xrCLvJ1PFE1C4Ebs64,146
19
+ mapillary_downloader-0.7.4.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
20
+ mapillary_downloader-0.7.4.dist-info/METADATA,sha256=-nvKsH4w6OepCHcGhXFw-uwSRPtu_2Lqlb5GQbZXF9U,5540
21
+ mapillary_downloader-0.7.4.dist-info/RECORD,,