mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
nrk: support for thumbnail
This commit is contained in:
parent
ef3834dcfb
commit
b4238d708e
@ -5,14 +5,14 @@ import re
|
|||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
|
|
||||||
from svtplay_dl.service import Service
|
from svtplay_dl.service import Service, OpenGraphThumbMixin
|
||||||
from svtplay_dl.utils import get_http_data, subtitle_tt
|
from svtplay_dl.utils import get_http_data, subtitle_tt
|
||||||
from svtplay_dl.utils.urllib import urlparse
|
from svtplay_dl.utils.urllib import urlparse
|
||||||
from svtplay_dl.fetcher.hds import download_hds
|
from svtplay_dl.fetcher.hds import download_hds
|
||||||
from svtplay_dl.fetcher.hls import download_hls
|
from svtplay_dl.fetcher.hls import download_hls
|
||||||
from svtplay_dl.log import log
|
from svtplay_dl.log import log
|
||||||
|
|
||||||
class Nrk(Service):
|
class Nrk(Service, OpenGraphThumbMixin):
|
||||||
supported_domains = ['nrk.no', 'tv.nrk.no']
|
supported_domains = ['nrk.no', 'tv.nrk.no']
|
||||||
|
|
||||||
def get(self, options):
|
def get(self, options):
|
||||||
|
Loading…
Reference in New Issue
Block a user