diff --git a/ir_webstats/constants.py b/ir_webstats/constants.py index e842aee..a08edca 100644 --- a/ir_webstats/constants.py +++ b/ir_webstats/constants.py @@ -40,23 +40,23 @@ #URLS URL_IRACING_LOGIN = 'https://members.iracing.com/membersite/login.jsp' URL_IRACING_LOGIN2 = 'https://members.iracing.com/membersite/Login' -URL_IRACING_HOME = 'http://members.iracing.com/membersite/member/Home.do' -URL_STATS_CHART = 'http://members.iracing.com/memberstats/member/GetChartData?custId=%s&catId=%s&chartType=1' -URL_DRIVER_COUNTS = 'http://members.iracing.com/membersite/member/GetDriverCounts' -URL_CAREER_STATS = 'http://members.iracing.com/memberstats/member/GetCareerStats?custid=%s' -URL_YEARLY_STATS = 'http://members.iracing.com/memberstats/member/GetYearlyStats?custid=%s' -URL_CARS_DRIVEN = 'http://members.iracing.com/memberstats/member/GetCarsDriven?custid=%s' -URL_PERSONAL_BEST = 'http://members.iracing.com/memberstats/member/GetPersonalBests?carid=%s&custid=%s' -URL_DRIVER_STATUS = 'http://members.iracing.com/membersite/member/GetDriverStatus?%s' -URL_DRIVER_STATS = 'http://members.iracing.com/memberstats/member/GetDriverStats' -URL_LASTRACE_STATS = 'http://members.iracing.com/memberstats/member/GetLastRacesStats?custid=%s' -URL_RESULTS_ARCHIVE = 'http://members.iracing.com/memberstats/member/GetResults' -URL_SEASON_STANDINGS = 'http://members.iracing.com/memberstats/member/GetSeasonStandings' -URL_SEASON_STANDINGS2 = 'http://members.iracing.com/membersite/member/statsseries.jsp' -URL_HOSTED_RESULTS = 'http://members.iracing.com/memberstats/member/GetPrivateSessionResults' -URL_SELECT_SERIES = 'http://members.iracing.com/membersite/member/SelectSeries.do?&season=%s&view=undefined&nocache=%s' -URL_SESSION_TIMES = 'http://members.iracing.com/membersite/member/GetSessionTimes'#T-m-d -URL_SERIES_RACERESULTS = 'http://members.iracing.com/memberstats/member/GetSeriesRaceResults' +URL_IRACING_HOME = 'https://members.iracing.com/membersite/member/Home.do' +URL_STATS_CHART = 'https://members.iracing.com/memberstats/member/GetChartData?custId=%s&catId=%s&chartType=1' +URL_DRIVER_COUNTS = 'https://members.iracing.com/membersite/member/GetDriverCounts' +URL_CAREER_STATS = 'https://members.iracing.com/memberstats/member/GetCareerStats?custid=%s' +URL_YEARLY_STATS = 'https://members.iracing.com/memberstats/member/GetYearlyStats?custid=%s' +URL_CARS_DRIVEN = 'https://members.iracing.com/memberstats/member/GetCarsDriven?custid=%s' +URL_PERSONAL_BEST = 'https://members.iracing.com/memberstats/member/GetPersonalBests?carid=%s&custid=%s' +URL_DRIVER_STATUS = 'https://members.iracing.com/membersite/member/GetDriverStatus?%s' +URL_DRIVER_STATS = 'https://members.iracing.com/memberstats/member/GetDriverStats' +URL_LASTRACE_STATS = 'https://members.iracing.com/memberstats/member/GetLastRacesStats?custid=%s' +URL_RESULTS_ARCHIVE = 'https://members.iracing.com/memberstats/member/GetResults' +URL_SEASON_STANDINGS = 'https://members.iracing.com/memberstats/member/GetSeasonStandings' +URL_SEASON_STANDINGS2 = 'https://members.iracing.com/membersite/member/statsseries.jsp' +URL_HOSTED_RESULTS = 'https://members.iracing.com/memberstats/member/GetPrivateSessionResults' +URL_SELECT_SERIES = 'https://members.iracing.com/membersite/member/SelectSeries.do?&season=%s&view=undefined&nocache=%s' +URL_SESSION_TIMES = 'https://members.iracing.com/membersite/member/GetSessionTimes' # T-m-d +URL_SERIES_RACERESULTS = 'https://members.iracing.com/memberstats/member/GetSeriesRaceResults' URL_GET_EVENTRESULTS = 'http://members.iracing.com/membersite/member/GetEventResultsAsCSV?subsessionid=%s&simsesnum=%s&includeSummary=1' #simsesnum 0 race, -1 qualy or practice, -2 practice