1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 04:05:39 +01:00

flake8 fixes for eurosport

This commit is contained in:
Johan Andersson 2018-11-14 00:46:42 +01:00
parent 951b8d7b7c
commit 1c302d4a18

View File

@ -1,7 +1,6 @@
from __future__ import absolute_import
import re
import json
import uuid
from urllib.parse import urlparse, quote
from svtplay_dl.service import Service
@ -23,7 +22,7 @@ class Eurosport(Service):
clientapikey = janson["sdk"]["clientApiKey"]
devices = "https://eu.edge.bamgrid.com/devices"
postdata = {"deviceFamily": "browser", "applicationRuntime":"firefox", "deviceProfile":"macosx", "attributes": {}}
postdata = {"deviceFamily": "browser", "applicationRuntime": "firefox", "deviceProfile": "macosx", "attributes": {}}
header = {"authorization": "Bearer {}".format(clientapikey)}
res = self.http.post(devices, headers=header, json=postdata)