mirror of
https://github.com/nprasad2077/NBA_Go.git
synced 2026-09-22 05:55:13 +00:00
@@ -103,15 +103,15 @@ func importPlayerShotCharts(db *gorm.DB) {
|
||||
endSeason := 2017
|
||||
|
||||
targetPlayerIDs := []string{
|
||||
"jamesle01",
|
||||
"curryst01",
|
||||
"jokicni01",
|
||||
"doncilu01",
|
||||
"hardeja01",
|
||||
"irvinky01",
|
||||
"duranke01",
|
||||
"youngtr01",
|
||||
"gilgesh01",
|
||||
// "jamesle01",
|
||||
// "curryst01",
|
||||
// "jokicni01",
|
||||
// "doncilu01",
|
||||
// "hardeja01",
|
||||
// "irvinky01",
|
||||
// "duranke01",
|
||||
// "youngtr01",
|
||||
// "gilgesh01",
|
||||
"brunsja01",
|
||||
"edwaran01",
|
||||
"mitchdo01",
|
||||
|
||||
@@ -62,17 +62,17 @@ func main() {
|
||||
// importPlayerTotalsPlayoffsScrape(db)
|
||||
// log.Println("🎉 Player Playoffs (scraped) Import completed successfully")
|
||||
|
||||
importGameSchedules(db)
|
||||
log.Println("🎉 Game Imports completed successfully 🏀")
|
||||
// importGameSchedules(db)
|
||||
// log.Println("🎉 Game Imports completed successfully 🏀")
|
||||
|
||||
importBoxScores(db)
|
||||
log.Println("🎉 Related Box Score Imports completed successfully 📦")
|
||||
// importBoxScores(db)
|
||||
// log.Println("🎉 Related Box Score Imports completed successfully 📦")
|
||||
|
||||
importMarkPlayoffGames(db)
|
||||
log.Println("🎉 Playoff games marked successfully 🏆")
|
||||
// importMarkPlayoffGames(db)
|
||||
// log.Println("🎉 Playoff games marked successfully 🏆")
|
||||
|
||||
// importPlayerShotCharts(db)
|
||||
// log.Println("🎉 Player Shot Chart Import completed successfully 🎯")
|
||||
importPlayerShotCharts(db)
|
||||
log.Println("🎉 Player Shot Chart Import completed successfully 🎯")
|
||||
|
||||
log.Println("🏀 ALL Imports completed successfully ✅ 🙌")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user