TopDownHockey-Scraper 6.0.4__py3-none-any.whl → 6.0.5__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.

@@ -2465,7 +2465,7 @@ def full_scrape_1by1(game_id_list, live = False, shift_to_espn = True):
2465
2465
  # If all goes well with the HTML scrape:
2466
2466
 
2467
2467
  try:
2468
- event_coords = scrape_api_events(game_id, shift_to_espn = shift_to_espn)
2468
+ event_coords = scrape_api_events(game_id, shift_to_espn = True)
2469
2469
  api_coords = event_coords
2470
2470
  api_coords['coordinate_source'] = 'api'
2471
2471
  if len(event_coords[(event_coords.event.isin(ewc)) & (pd.isna(event_coords.coords_x))]) > 0:
@@ -2528,7 +2528,7 @@ def full_scrape_1by1(game_id_list, live = False, shift_to_espn = True):
2528
2528
  print('Scraping ESPN IDs')
2529
2529
  espn_id = scrape_espn_ids_single_game(str(game_date.date()), espn_home_team, espn_away_team).espn_id.iloc[0]
2530
2530
  print('Scraping ESPN Events')
2531
- print('Here is the ESPN ID:' espn_id)
2531
+ print('Here is the ESPN ID:', espn_id)
2532
2532
  event_coords = scrape_espn_events(int(espn_id))
2533
2533
  event_coords['coordinate_source'] = 'espn'
2534
2534
  events = single.merge(event_coords, on = ['event_player_1', 'game_seconds', 'period', 'version', 'event'], how = 'left').drop(columns = ['espn_id'])
@@ -2830,7 +2830,6 @@ def full_scrape(game_id_list, live = True, shift = False):
2830
2830
  )
2831
2831
  except Exception as e:
2832
2832
  print(e)
2833
- continue
2834
2833
 
2835
2834
  # Don't even need this, we've had this problem with Stutzle for years, just let it be.
2836
2835
  # df.event_description = df.event_description.str.replace('FEHÃ\x89RVÃ\x81RY', 'FEHERVARY').str.replace('BLÜMEL', 'BLAMEL')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TopDownHockey_Scraper
3
- Version: 6.0.4
3
+ Version: 6.0.5
4
4
  Summary: The TopDownHockey Scraper
5
5
  Home-page: https://github.com/TopDownHockey/TopDownHockey_Scraper
6
6
  Author: Patrick Bacon
@@ -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=kRZPB-pfRCDn6K2UK4ZHYlo09bDHxF7B34w8VE59GoI,163837
3
+ topdownhockey_scraper-6.0.5.dist-info/licenses/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
4
+ topdownhockey_scraper-6.0.5.dist-info/METADATA,sha256=yvjnUIQ66Z80Oi02-mWvV2GdFMvvBk2O-lgoGOB4kx0,5670
5
+ topdownhockey_scraper-6.0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
+ topdownhockey_scraper-6.0.5.dist-info/top_level.txt,sha256=PBd96GLGFq97ZDLd7_4ZCx8_ZFr_wdWKs5SIpGl5xCs,22
7
+ topdownhockey_scraper-6.0.5.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=EZBcSXt9euNVky8pye_JDFk9asXGOfumcr1VUdsyXQs,163862
3
- topdownhockey_scraper-6.0.4.dist-info/licenses/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
4
- topdownhockey_scraper-6.0.4.dist-info/METADATA,sha256=-rdPw0MmjyxVL1TkkSnEnw2TDEKCn2ukUdej-Z7fdcA,5670
5
- topdownhockey_scraper-6.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
- topdownhockey_scraper-6.0.4.dist-info/top_level.txt,sha256=PBd96GLGFq97ZDLd7_4ZCx8_ZFr_wdWKs5SIpGl5xCs,22
7
- topdownhockey_scraper-6.0.4.dist-info/RECORD,,