Skip to content

Commit

Permalink
Update URL of API server
Browse files Browse the repository at this point in the history
  • Loading branch information
marhoy committed Jan 7, 2019
1 parent 37805bd commit 960ef96
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/nrkdownload/nrkapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,15 @@


def _api_url(path):
# API Documentation:
# https://psapi.nrk.no/
# https://stsnapshottestwe.blob.core.windows.net/apidocumentation/documentation.html

# This is the Granitt API: Nrk.Programspiller.Backend.WebAPI
# http://v8.psapi.nrk.no Now requires a key
granitt_url = 'http://nrkpswebapi2ne.cloudapp.net'
# granitt_url = 'http://nrkpswebapi2ne.cloudapp.net'
granitt_url = 'http://psapi-granitt-prod-we.cloudapp.net'

# This is the Snapshot API: Nrk.PsApi
snapshot_url = 'http://psapi3-webapp-prod-we.azurewebsites.net'
if path.startswith('/mediaelement'):
Expand Down

0 comments on commit 960ef96

Please sign in to comment.