TopDownHockey-Scraper 4.2.0__py3-none-any.whl → 4.3__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.
Potentially problematic release.
This version of TopDownHockey-Scraper might be problematic. Click here for more details.
- TopDownHockey_Scraper/TopDownHockey_NHL_Scraper.py +16 -4
- {topdownhockey_scraper-4.2.0.dist-info → topdownhockey_scraper-4.3.dist-info}/METADATA +3 -2
- topdownhockey_scraper-4.3.dist-info/RECORD +7 -0
- {topdownhockey_scraper-4.2.0.dist-info → topdownhockey_scraper-4.3.dist-info}/WHEEL +1 -1
- topdownhockey_scraper-4.2.0.dist-info/RECORD +0 -7
- {topdownhockey_scraper-4.2.0.dist-info → topdownhockey_scraper-4.3.dist-info/licenses}/LICENSE +0 -0
- {topdownhockey_scraper-4.2.0.dist-info → topdownhockey_scraper-4.3.dist-info}/top_level.txt +0 -0
|
@@ -502,7 +502,9 @@ def scrape_html_roster(season, game_id):
|
|
|
502
502
|
(np.where(roster_df['Name']== "JOSHUA BROWN" , "JOSH BROWN",
|
|
503
503
|
(np.where(roster_df['Name']== "JAKE LUCCHINI" , "JACOB LUCCHINI",
|
|
504
504
|
(np.where(roster_df['Name']== "EMIL LILLEBERG" , "EMIL MARTINSEN LILLEBERG",
|
|
505
|
-
roster_df['Name']
|
|
505
|
+
(np.where(roster_df['Name']== "CAMERON ATKINSON" , "CAM ATKINSON",
|
|
506
|
+
(np.where(roster_df['Name']== "JURAJ SLAFKOVSKA" , "JURAJ SLAFKOVSKY",
|
|
507
|
+
roster_df['Name']))))))))))))))))))))))))))))))))))
|
|
506
508
|
|
|
507
509
|
roster_df['Name'] = roster_df['Name'].str.normalize('NFKD').str.encode('ascii', errors='ignore').str.decode('utf-8').str.upper()
|
|
508
510
|
|
|
@@ -628,6 +630,7 @@ def scrape_html_shifts(season, game_id):
|
|
|
628
630
|
'DEVON LEVI',
|
|
629
631
|
'DIMITRI PATZOLD',
|
|
630
632
|
'DOMINIK HASEK',
|
|
633
|
+
'DREW COMMESSO',
|
|
631
634
|
'DREW MACINTYRE',
|
|
632
635
|
'DUSTIN BUTLER',
|
|
633
636
|
'DUSTIN TOKARSKI',
|
|
@@ -843,6 +846,7 @@ def scrape_html_shifts(season, game_id):
|
|
|
843
846
|
'NATHAN SCHOENFELD',
|
|
844
847
|
'NICK ELLIS',
|
|
845
848
|
'NICO DAWS',
|
|
849
|
+
'NIKKE KOKKO',
|
|
846
850
|
'NIKLAS BACKSTROM',
|
|
847
851
|
'NIKLAS LUNDSTROM',
|
|
848
852
|
'NIKLAS SVEDBERG',
|
|
@@ -889,6 +893,7 @@ def scrape_html_shifts(season, game_id):
|
|
|
889
893
|
'SAMI AITTOKALLIO',
|
|
890
894
|
'SAMUEL ERSSON',
|
|
891
895
|
'SAMUEL MONTEMBEAULT',
|
|
896
|
+
'SAM MONTEMBEAULT',
|
|
892
897
|
'SCOTT CLEMMENSEN',
|
|
893
898
|
'SCOTT DARLING',
|
|
894
899
|
'SCOTT FOSTER',
|
|
@@ -936,6 +941,7 @@ def scrape_html_shifts(season, game_id):
|
|
|
936
941
|
'VILLE HUSSO',
|
|
937
942
|
'VITEK VANECEK',
|
|
938
943
|
'WADE DUBIELEWICZ',
|
|
944
|
+
'YANIV PERETS',
|
|
939
945
|
'YANN DANIS',
|
|
940
946
|
'YAROSLAV ASKAROV',
|
|
941
947
|
'ZACH FUCALE',
|
|
@@ -1218,7 +1224,9 @@ def scrape_html_shifts(season, game_id):
|
|
|
1218
1224
|
(np.where(all_shifts['name']== "JOSHUA BROWN" , "JOSH BROWN",
|
|
1219
1225
|
(np.where(all_shifts['name']== "JAKE LUCCHINI" , "JACOB LUCCHINI",
|
|
1220
1226
|
(np.where(all_shifts['name']== "EMIL LILLEBERG" , "EMIL MARTINSEN LILLEBERG",
|
|
1221
|
-
all_shifts['name']
|
|
1227
|
+
(np.where(all_shifts['name']== "CAMERON ATKINSON" , "CAM ATKINSON",
|
|
1228
|
+
(np.where(all_shifts['name']== "JURAJ SLAFKOVSKA" , "JURAJ SLAFKOVSKY",
|
|
1229
|
+
all_shifts['name']))))))))))))))))))))))))))))))))))
|
|
1222
1230
|
|
|
1223
1231
|
all_shifts['name'] = all_shifts['name'].str.normalize('NFKD').str.encode('ascii', errors='ignore').str.decode('utf-8').str.upper()
|
|
1224
1232
|
|
|
@@ -1538,7 +1546,9 @@ def scrape_api_events(game_id, drop_description = True, shift_to_espn = False):
|
|
|
1538
1546
|
(np.where(api_events['ep1_name']== "JOSHUA BROWN" , "JOSH BROWN",
|
|
1539
1547
|
(np.where(api_events['ep1_name']== "JAKE LUCCHINI" , "JACOB LUCCHINI",
|
|
1540
1548
|
(np.where(api_events['ep1_name']== "EMIL LILLEBERG" , "EMIL MARTINSEN LILLEBERG",
|
|
1541
|
-
api_events['ep1_name']
|
|
1549
|
+
(np.where(api_events['ep1_name']== "CAMERON ATKINSON" , "CAM ATKINSON",
|
|
1550
|
+
(np.where(api_events['ep1_name']== "JURAJ SLAFKOVSKA" , "JURAJ SLAFKOVSKY",
|
|
1551
|
+
api_events['ep1_name']))))))))))))))))))))))))))))))))))
|
|
1542
1552
|
|
|
1543
1553
|
|
|
1544
1554
|
# 21-22 CHANGES
|
|
@@ -1922,7 +1932,9 @@ def scrape_espn_events(espn_game_id, drop_description = True):
|
|
|
1922
1932
|
(np.where(espn_events['event_player_1']== "JOSHUA BROWN" , "JOSH BROWN",
|
|
1923
1933
|
(np.where(espn_events['event_player_1']== "JAKE LUCCHINI" , "JACOB LUCCHINI",
|
|
1924
1934
|
(np.where(espn_events['event_player_1']== "EMIL LILLEBERG" , "EMIL MARTINSEN LILLEBERG",
|
|
1925
|
-
espn_events['event_player_1']
|
|
1935
|
+
(np.where(espn_events['event_player_1']== "CAMERON ATKINSON" , "CAM ATKINSON",
|
|
1936
|
+
(np.where(espn_events['event_player_1']== "JURAJ SLAFKOVSKA" , "JURAJ SLAFKOVSKY",
|
|
1937
|
+
espn_events['event_player_1']))))))))))))))))))))))))))))))))))
|
|
1926
1938
|
|
|
1927
1939
|
|
|
1928
1940
|
espn_events = espn_events.assign(version =
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: TopDownHockey_Scraper
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.3
|
|
4
4
|
Summary: The TopDownHockey Scraper
|
|
5
5
|
Home-page: https://github.com/TopDownHockey/TopDownHockey_Scraper
|
|
6
6
|
Author: Patrick Bacon
|
|
@@ -29,6 +29,7 @@ Dynamic: description
|
|
|
29
29
|
Dynamic: description-content-type
|
|
30
30
|
Dynamic: home-page
|
|
31
31
|
Dynamic: license
|
|
32
|
+
Dynamic: license-file
|
|
32
33
|
Dynamic: project-url
|
|
33
34
|
Dynamic: requires-dist
|
|
34
35
|
Dynamic: requires-python
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
TopDownHockey_Scraper/TopDownHockey_EliteProspects_Scraper.py,sha256=j-7gTk-cp_0LyZihNxm67xH9KdA3Fx4xrFKKu3-9-rU,42245
|
|
2
|
+
TopDownHockey_Scraper/TopDownHockey_NHL_Scraper.py,sha256=jEXELfiHFhkFRpR-l01GOOrrcVc23AJ23d48KmPQjHc,160018
|
|
3
|
+
topdownhockey_scraper-4.3.dist-info/licenses/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
|
|
4
|
+
topdownhockey_scraper-4.3.dist-info/METADATA,sha256=PaDA9Iuug5ekc87e399la3rVLVMYe02cmZfa5jbkyLk,5717
|
|
5
|
+
topdownhockey_scraper-4.3.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
6
|
+
topdownhockey_scraper-4.3.dist-info/top_level.txt,sha256=PBd96GLGFq97ZDLd7_4ZCx8_ZFr_wdWKs5SIpGl5xCs,22
|
|
7
|
+
topdownhockey_scraper-4.3.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
TopDownHockey_Scraper/TopDownHockey_EliteProspects_Scraper.py,sha256=j-7gTk-cp_0LyZihNxm67xH9KdA3Fx4xrFKKu3-9-rU,42245
|
|
2
|
-
TopDownHockey_Scraper/TopDownHockey_NHL_Scraper.py,sha256=MYnj_-m8TVKHzWUgDwKFDf3bWnx5BU0pUFBq0rGu-lM,159294
|
|
3
|
-
topdownhockey_scraper-4.2.0.dist-info/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
|
|
4
|
-
topdownhockey_scraper-4.2.0.dist-info/METADATA,sha256=FMTAn0gLq1munwyl9DyuHseYd2gQrDxiSEqIaq7RC1A,5697
|
|
5
|
-
topdownhockey_scraper-4.2.0.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
|
6
|
-
topdownhockey_scraper-4.2.0.dist-info/top_level.txt,sha256=PBd96GLGFq97ZDLd7_4ZCx8_ZFr_wdWKs5SIpGl5xCs,22
|
|
7
|
-
topdownhockey_scraper-4.2.0.dist-info/RECORD,,
|
{topdownhockey_scraper-4.2.0.dist-info → topdownhockey_scraper-4.3.dist-info/licenses}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|