def createMatchups(self, leagueId, matchupId, year=""): if year: self.year = year url = URLGen.scoreboardURL(leagueId, matchupId, self.year) scoreboardPage = requests.get(url) self.feed(scoreboardPage.text)