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

@@ -1413,7 +1413,7 @@ def scrape_html_events(season, game_id):
1413
1413
  stripped_html = hs_strip_html(tds)
1414
1414
  length = (len(stripped_html) // 8) * 8
1415
1415
  stripped_html = stripped_html[:length]
1416
- eventdf = pd.DataFrame(np.array(stripped_html).reshape(length, 8)).rename(
1416
+ eventdf = pd.DataFrame(np.array(stripped_html).reshape(int(length/8), 8)).rename(
1417
1417
  columns = {0:'index', 1:'period', 2:'strength', 3:'time', 4:'event', 5:'description', 6:'away_skaters', 7:'home_skaters'})
1418
1418
  split = eventdf.time.str.split(':')
1419
1419
  game_date = soup.find_all('td', {'align':'center', 'style':'font-size: 10px;font-weight:bold'})[2].get_text()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TopDownHockey_Scraper
3
- Version: 6.0.9
3
+ Version: 6.0.10
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=m6osH-VY491_4HUo5-A-JU41NHLPP9F48KJmwbfmvvI,163999
3
+ topdownhockey_scraper-6.0.10.dist-info/licenses/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
4
+ topdownhockey_scraper-6.0.10.dist-info/METADATA,sha256=X1NaTOIWuTiRPjzHMqLv0Lw2uGLTSNuBWZfFUwRcyv8,5671
5
+ topdownhockey_scraper-6.0.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
+ topdownhockey_scraper-6.0.10.dist-info/top_level.txt,sha256=PBd96GLGFq97ZDLd7_4ZCx8_ZFr_wdWKs5SIpGl5xCs,22
7
+ topdownhockey_scraper-6.0.10.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=rg_7RJo1eWL9dWlRweCat2v21fWX1Z45olcZN859BN4,163992
3
- topdownhockey_scraper-6.0.9.dist-info/licenses/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
4
- topdownhockey_scraper-6.0.9.dist-info/METADATA,sha256=nM1FoBq-lslyopV84S10eukQQ4pPMSyFGA2S_5xfa8g,5670
5
- topdownhockey_scraper-6.0.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
- topdownhockey_scraper-6.0.9.dist-info/top_level.txt,sha256=PBd96GLGFq97ZDLd7_4ZCx8_ZFr_wdWKs5SIpGl5xCs,22
7
- topdownhockey_scraper-6.0.9.dist-info/RECORD,,