mirror of
https://github.com/nprasad2077/nbaStats.git
synced 2026-11-17 15:23:47 +00:00
script update
This commit is contained in:
1 parent
150bda67ca
commit
3558b1c154
1 file changed
+5
-4
@@ -12,10 +12,11 @@ django.setup()
|
|||||||
|
|
||||||
from nba_data.models import PlayerShotChartData
|
from nba_data.models import PlayerShotChartData
|
||||||
|
|
||||||
player_name = 'James Harden'
|
player_name = 'Damian Lillard'
|
||||||
season = 2010
|
season = 2013
|
||||||
# team = 'LAL' # You might want to find a way to get this from the webpage
|
|
||||||
url = 'https://www.basketball-reference.com/players/h/hardeja01/shooting/' + \
|
# Player name and season will be inserted into DB. Modify before running script.
|
||||||
|
url = 'https://www.basketball-reference.com/players/l/lillada01/shooting/' + \
|
||||||
str(season)
|
str(season)
|
||||||
|
|
||||||
response = requests.get(url)
|
response = requests.get(url)
|
||||||
|
|||||||
Reference in new issue
Block a user