diff options
Diffstat (limited to 'hypervideo_dl/extractor/vgtv.py')
-rw-r--r-- | hypervideo_dl/extractor/vgtv.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hypervideo_dl/extractor/vgtv.py b/hypervideo_dl/extractor/vgtv.py index 9d6090b..db338fa 100644 --- a/hypervideo_dl/extractor/vgtv.py +++ b/hypervideo_dl/extractor/vgtv.py @@ -1,6 +1,3 @@ -# coding: utf-8 -from __future__ import unicode_literals - import re from .common import InfoExtractor @@ -12,11 +9,12 @@ from ..utils import ( ) -class VGTVIE(XstreamIE): +class VGTVIE(XstreamIE): # XXX: Do not subclass from concrete IE IE_DESC = 'VGTV, BTTV, FTV, Aftenposten and Aftonbladet' _GEO_BYPASS = False _HOST_TO_APPNAME = { + 'tv.vg.no': 'vgtv', 'vgtv.no': 'vgtv', 'bt.no/tv': 'bttv', 'aftenbladet.no/tv': 'satv', @@ -130,6 +128,10 @@ class VGTVIE(XstreamIE): }, }, { + 'url': 'https://tv.vg.no/video/241779/politiets-ekstremkjoering', + 'only_matching': True, + }, + { 'url': 'http://www.bt.no/tv/#!/video/100250/norling-dette-er-forskjellen-paa-1-divisjon-og-eliteserien', 'only_matching': True, }, @@ -236,8 +238,6 @@ class VGTVIE(XstreamIE): raise self.raise_geo_restricted( countries=[host.rpartition('.')[-1].partition('/')[0].upper()]) - self._sort_formats(info['formats']) - info.update({ 'id': video_id, 'title': data['title'], |