Skip to content

Commit

Permalink
Reverting headers
Browse files Browse the repository at this point in the history
  • Loading branch information
swar committed Apr 7, 2019
1 parent 22ac603 commit 2d694ec
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions nba_api/stats/library/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@
except ImportError:
STATS_HEADERS = {
'Host': 'stats.nba.com',
'Connection': 'keep-alive',
'Cache-Control': 'max-age=0',
'Upgrade-Insecure-Requests': '1',
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0',
'Accept': 'application/json, text/plain, */*',
'Accept-Language': 'en-US,en;q=0.5',
'Accept-Encoding': 'gzip, deflate, br',
'Accept-Language': 'en-US,en;q=0.9',
'Connection': 'keep-alive',
}


Expand Down

0 comments on commit 2d694ec

Please sign in to comment.