mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 21:33:00 +00:00
Add Emulator Support (#35)
* Add emulator * Update limit for ESPM API * use params --------- Co-authored-by: Alex Resnick <adr8282@gmail.com>
This commit is contained in:
@@ -161,7 +161,7 @@ class LogoDownloader:
|
||||
|
||||
try:
|
||||
logger.info(f"Fetching team data for {league} from ESPN API...")
|
||||
response = self.session.get(api_url, headers=self.headers, timeout=self.request_timeout)
|
||||
response = self.session.get(api_url, params={'limit':1000},headers=self.headers, timeout=self.request_timeout)
|
||||
response.raise_for_status()
|
||||
data = response.json()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user