warn-scraper 1.2.92__py3-none-any.whl → 1.2.93__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.
- warn/scrapers/co.py +6 -1
- {warn_scraper-1.2.92.dist-info → warn_scraper-1.2.93.dist-info}/METADATA +1 -1
- {warn_scraper-1.2.92.dist-info → warn_scraper-1.2.93.dist-info}/RECORD +7 -7
- {warn_scraper-1.2.92.dist-info → warn_scraper-1.2.93.dist-info}/LICENSE +0 -0
- {warn_scraper-1.2.92.dist-info → warn_scraper-1.2.93.dist-info}/WHEEL +0 -0
- {warn_scraper-1.2.92.dist-info → warn_scraper-1.2.93.dist-info}/entry_points.txt +0 -0
- {warn_scraper-1.2.92.dist-info → warn_scraper-1.2.93.dist-info}/top_level.txt +0 -0
warn/scrapers/co.py
CHANGED
@@ -157,7 +157,12 @@ def scrape(
|
|
157
157
|
for key, value in row.items():
|
158
158
|
standardized_key = header_crosswalk[key]
|
159
159
|
row_dict[standardized_key] = value
|
160
|
-
|
160
|
+
if len(row_dict["company"]) < 3 and row_dict["letter"] == "Avis Budget Group":
|
161
|
+
row_dict["company"] = "Avis Budget Group"
|
162
|
+
if len(row_dict["company"]) < 3: # or len(row_dict['naics']) <5:
|
163
|
+
logger.debug(f"Dropping row of questionable quality: {row_dict}")
|
164
|
+
else:
|
165
|
+
standardized_data.append(row_dict)
|
161
166
|
|
162
167
|
# Set the path to the final CSV
|
163
168
|
output_csv = data_dir / "co.csv"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: warn-scraper
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.93
|
4
4
|
Summary: Command-line interface for downloading WARN Act notices of qualified plant closings and mass layoffs from state government websites
|
5
5
|
Home-page: https://github.com/biglocalnews/warn-scraper
|
6
6
|
Author: Big Local News
|
@@ -29,7 +29,7 @@ warn/scrapers/ak.py,sha256=h7BYMTV0whwWAPhbzVDVKMMoVCFphKly70aiTHabPq4,1847
|
|
29
29
|
warn/scrapers/al.py,sha256=D0rT9GQ0vwfkRuveVAt-Po-T6b2TI1EPGeLOBy2m3_M,2240
|
30
30
|
warn/scrapers/az.py,sha256=elGbue01Gjf_DQ66Wy9qqGIOJsiY-KIKJOVeft8pCXg,1447
|
31
31
|
warn/scrapers/ca.py,sha256=VQOfjHXPCc-jYwh-EPGVVfnzvXB7pdmCt2uJ6QnMPRM,8600
|
32
|
-
warn/scrapers/co.py,sha256=
|
32
|
+
warn/scrapers/co.py,sha256=Zpz96Ftqti3Rx-vJEgSUAbvYmbHJ-w0tnt7mQ4FL6CA,7851
|
33
33
|
warn/scrapers/ct.py,sha256=HLMmBSFhT5Y3vZQUwRyCTxiG5BMQXTfG3SEj5rkQEL4,4771
|
34
34
|
warn/scrapers/dc.py,sha256=_sHLnVqK_W90QqJb_W88yDlgPjoMl63LYZP3CJfdN9g,4484
|
35
35
|
warn/scrapers/de.py,sha256=GyM92A-lFwZAfRxgbO-sIWhRfmBEKirzchaPIv-u0o4,1364
|
@@ -65,9 +65,9 @@ warn/scrapers/va.py,sha256=O0TgNW1typgnxbkL9IbXX9WVqUALwMjBnS06t0pnkqM,7805
|
|
65
65
|
warn/scrapers/vt.py,sha256=d-bo4WK2hkrk4BhCCmLpEovcoZltlvdIUB6O0uaMx5A,1186
|
66
66
|
warn/scrapers/wa.py,sha256=UXdVtHZo_a-XfoiyOooTRfTb9W3PErSZdKca6SRORgs,4282
|
67
67
|
warn/scrapers/wi.py,sha256=ClEzXkwZbop0W4fkQgsb5oHAPUrb4luUPGV-jOKwkcg,4855
|
68
|
-
warn_scraper-1.2.
|
69
|
-
warn_scraper-1.2.
|
70
|
-
warn_scraper-1.2.
|
71
|
-
warn_scraper-1.2.
|
72
|
-
warn_scraper-1.2.
|
73
|
-
warn_scraper-1.2.
|
68
|
+
warn_scraper-1.2.93.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
69
|
+
warn_scraper-1.2.93.dist-info/METADATA,sha256=I0gBc7FZq-TEZffPUy52bQZMMMf3zz2wxrmPPqycwyg,2118
|
70
|
+
warn_scraper-1.2.93.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
|
71
|
+
warn_scraper-1.2.93.dist-info/entry_points.txt,sha256=poh_oSweObGlBSs1_2qZmnTodlOYD0KfO7-h7W2UQIw,47
|
72
|
+
warn_scraper-1.2.93.dist-info/top_level.txt,sha256=gOhHgNEkrUvajlzoKkVOo-TlQht9MoXnKOErjzqLGHo,11
|
73
|
+
warn_scraper-1.2.93.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|