Vidzi Add new extractor, changed the import order and uploaded a video and create the test data

(cherry picked from commit 4b7c01dca61e8b453d4130137d666aed94ea0f1a)
This commit is contained in:
winwon 2014-10-20 11:29:08 +01:00
parent 97802cf6af
commit 472c98900d
2 changed files with 6 additions and 5 deletions

View File

@ -268,6 +268,7 @@ from .videodetective import VideoDetectiveIE
from .videolecturesnet import VideoLecturesNetIE from .videolecturesnet import VideoLecturesNetIE
from .videofyme import VideofyMeIE from .videofyme import VideofyMeIE
from .videopremium import VideoPremiumIE from .videopremium import VideoPremiumIE
from .vidzi import VidziIE
from .vimeo import ( from .vimeo import (
VimeoIE, VimeoIE,
VimeoChannelIE, VimeoChannelIE,
@ -317,7 +318,7 @@ from .youtube import (
YoutubeWatchLaterIE, YoutubeWatchLaterIE,
) )
from .zdf import ZDFIE from .zdf import ZDFIE
from .vidzi import VidziIE
_ALL_CLASSES = [ _ALL_CLASSES = [
klass klass

View File

@ -4,12 +4,12 @@ from .common import InfoExtractor
class VidziIE(InfoExtractor): class VidziIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?vidzi\.tv/(?P<id>\w+)' _VALID_URL = r'https?://(?:www\.)?vidzi\.tv/(?P<id>\w+)'
_TEST = { _TEST = {
'url': 'http://vidzi.tv/m1chxrwq7bx9', 'url': 'http://vidzi.tv/h8gbz2rn51vk.html',
'md5': '5c4c4a8ca2281a199c8eefe8f411d630', 'md5': '4a48137d9fa8a7d848a64485aed68889',
'info_dict': { 'info_dict': {
'id': 'm1chxrwq7bx9', 'id': 'h8gbz2rn51vk',
'ext': 'mp4', 'ext': 'mp4',
'title': 'Watch Cadbury Dream Factory S01E04 HDTV x264 FiHTV mp4', 'title': 'Watch my4 mp4',
}, },
} }