James McCool
commited on
Commit
·
59e1d02
1
Parent(s):
f147e97
ping
Browse files
global_func/grab_contest_data.py
CHANGED
@@ -7,6 +7,7 @@ def grab_contest_data(sport, contest_name, contest_id_map, contest_date, contest
|
|
7 |
sport_var = 'pga'
|
8 |
else:
|
9 |
sport_var = sport.lower()
|
|
|
10 |
contest_id = contest_id_map[contest_name]
|
11 |
raw_url = f'https://dh5nxc6yx3kwy.cloudfront.net/contests/{sport_var}/{contest_date}/{contest_id}/'
|
12 |
raw_url2 = f'https://dh5nxc6yx3kwy.cloudfront.net/contests/{sport_var}/{contest_date2}/{contest_id}/'
|
|
|
7 |
sport_var = 'pga'
|
8 |
else:
|
9 |
sport_var = sport.lower()
|
10 |
+
|
11 |
contest_id = contest_id_map[contest_name]
|
12 |
raw_url = f'https://dh5nxc6yx3kwy.cloudfront.net/contests/{sport_var}/{contest_date}/{contest_id}/'
|
13 |
raw_url2 = f'https://dh5nxc6yx3kwy.cloudfront.net/contests/{sport_var}/{contest_date2}/{contest_id}/'
|