TopDownHockey-Scraper 3.2.5__tar.gz → 3.2.6__tar.gz

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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TopDownHockey_Scraper
3
- Version: 3.2.5
3
+ Version: 3.2.6
4
4
  Summary: The TopDownHockey Scraper
5
5
  Home-page: https://github.com/TopDownHockey/TopDownHockey_Scraper
6
6
  Author: Patrick Bacon
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = TopDownHockey_Scraper
3
- version = 3.2.5
3
+ version = 3.2.6
4
4
  author = Patrick Bacon
5
5
  author_email = patrick.s.bacon@gmail.com
6
6
  description = A package built for scraping hockey data from EliteProspects, the NHL's HTML/API reports, and ESPN's XML reports.
@@ -9,7 +9,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
9
9
 
10
10
  setup(
11
11
  name="TopDownHockey_Scraper", # Replace with your own username
12
- version="3.2.5",
12
+ version="3.2.6",
13
13
  author="Patrick Bacon",
14
14
  author_email="patrick.s.bacon@gmail.com",
15
15
  description="The TopDownHockey Scraper",
@@ -1899,7 +1899,7 @@ def scrape_espn_ids_single_game(game_date, home_team, away_team):
1899
1899
  #print(str(i))
1900
1900
  for i in range (0, ((len(soup_found)))):
1901
1901
  away = soup_found[i]['href'].rsplit('/')[-1].split('-')[0].upper()
1902
- home = soup_found[i]['href'].rsplit('/')[-1].split('-')[1].upper()
1902
+ home = soup_found[i]['href'].rsplit('/')[-1].split('-')[-1].upper()
1903
1903
  espnid = soup_found[i]['href'].rsplit('/')[-2]
1904
1904
  at.append(away)
1905
1905
  ht.append(home)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TopDownHockey_Scraper
3
- Version: 3.2.5
3
+ Version: 3.2.6
4
4
  Summary: The TopDownHockey Scraper
5
5
  Home-page: https://github.com/TopDownHockey/TopDownHockey_Scraper
6
6
  Author: Patrick Bacon