warn-scraper 1.2.60__py3-none-any.whl → 1.2.62__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/hi.py +4 -0
- {warn_scraper-1.2.60.dist-info → warn_scraper-1.2.62.dist-info}/METADATA +1 -1
- {warn_scraper-1.2.60.dist-info → warn_scraper-1.2.62.dist-info}/RECORD +7 -7
- {warn_scraper-1.2.60.dist-info → warn_scraper-1.2.62.dist-info}/LICENSE +0 -0
- {warn_scraper-1.2.60.dist-info → warn_scraper-1.2.62.dist-info}/WHEEL +0 -0
- {warn_scraper-1.2.60.dist-info → warn_scraper-1.2.62.dist-info}/entry_points.txt +0 -0
- {warn_scraper-1.2.60.dist-info → warn_scraper-1.2.62.dist-info}/top_level.txt +0 -0
warn/scrapers/hi.py
CHANGED
@@ -118,6 +118,10 @@ def scrape(
|
|
118
118
|
|
119
119
|
line["PDF url"] = row.select("a")[0].get("href")
|
120
120
|
line["Company"] = row.select("a")[0].get_text().strip()
|
121
|
+
|
122
|
+
# Before 2024, the a href contained the company name. In 2024, it's the date.
|
123
|
+
if line["Company"] == tempdate:
|
124
|
+
line["Company"] = row.get_text().strip().replace(tempdate, '').replace('–', '').strip()
|
121
125
|
masterlist.append(line)
|
122
126
|
|
123
127
|
if len(masterlist) == 0:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: warn-scraper
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.62
|
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
|
@@ -36,7 +36,7 @@ warn/scrapers/dc.py,sha256=kAWmERzEIOtGHla9tn8hK0NfP4B-aP4jknNGUiPw4C4,4493
|
|
36
36
|
warn/scrapers/de.py,sha256=yMpCFAAlIO2f4DVUQpPKKLzm52_Zpn9IuPPFBNX1pjQ,1386
|
37
37
|
warn/scrapers/fl.py,sha256=mHymxjwNGtYXRxAwjUSIG1qeSp4Y_zzr4XDxPz9LAfY,9560
|
38
38
|
warn/scrapers/ga.py,sha256=EuqBrMlBojH6eXOHisNqJAQcsnb8FPHDwWomNopw9Ys,7285
|
39
|
-
warn/scrapers/hi.py,sha256=
|
39
|
+
warn/scrapers/hi.py,sha256=44eW_oHLbN3OSsG8mYbT7cj6hKxnQrtbt8NpVJscLV8,5471
|
40
40
|
warn/scrapers/ia.py,sha256=zOncaA9M0d6paT4pB7UU_4D_yxUgeUiGRcnpKi9DsRA,1999
|
41
41
|
warn/scrapers/id.py,sha256=rRkE9g9ZOL7JgTdIz46kyGOeetzSla3e1Xr6gJ1v_74,5443
|
42
42
|
warn/scrapers/il.py,sha256=sygdvsNuB_Gvu3o_HidtpSP4FLz0szKb1zEHqGxVtlI,1563
|
@@ -66,9 +66,9 @@ warn/scrapers/va.py,sha256=DDuR4_2Jpaxg9nVmuM6PAR8v8xz3VgxTBG5sWJgz2q0,1582
|
|
66
66
|
warn/scrapers/vt.py,sha256=d-bo4WK2hkrk4BhCCmLpEovcoZltlvdIUB6O0uaMx5A,1186
|
67
67
|
warn/scrapers/wa.py,sha256=Il3RmJpKr7SbwUBxHxlhEFLoxy7zSiduyo8F2EddB2Y,4021
|
68
68
|
warn/scrapers/wi.py,sha256=ClEzXkwZbop0W4fkQgsb5oHAPUrb4luUPGV-jOKwkcg,4855
|
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.
|
74
|
-
warn_scraper-1.2.
|
69
|
+
warn_scraper-1.2.62.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
70
|
+
warn_scraper-1.2.62.dist-info/METADATA,sha256=kv0gn2pjPnFny6R1CIW8ZhTSsn6eRFTechGto2VEDtk,2025
|
71
|
+
warn_scraper-1.2.62.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
72
|
+
warn_scraper-1.2.62.dist-info/entry_points.txt,sha256=poh_oSweObGlBSs1_2qZmnTodlOYD0KfO7-h7W2UQIw,47
|
73
|
+
warn_scraper-1.2.62.dist-info/top_level.txt,sha256=gOhHgNEkrUvajlzoKkVOo-TlQht9MoXnKOErjzqLGHo,11
|
74
|
+
warn_scraper-1.2.62.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|