The API uses 'https' now.
This commit is contained in:
		@@ -251,7 +251,7 @@ func getAoCLeaderboard(boardId string) (*Leaderboard, error) {
 | 
				
			|||||||
	leaderboard := new(Leaderboard)
 | 
						leaderboard := new(Leaderboard)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	client := &http.Client{}
 | 
						client := &http.Client{}
 | 
				
			||||||
	boardString := fmt.Sprintf("http://adventofcode.com/%d/leaderboard/private/view/%s.json", aocYear, boardId)
 | 
						boardString := fmt.Sprintf("https://adventofcode.com/%d/leaderboard/private/view/%s.json", aocYear, boardId)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	req, err = http.NewRequest("GET", boardString, nil)
 | 
						req, err = http.NewRequest("GET", boardString, nil)
 | 
				
			||||||
	// Read in cookies
 | 
						// Read in cookies
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user