Philipp Hagemeister
10 years ago
8 changed files with 99 additions and 14 deletions
Split View
Diff Options
-
1youtube_dl/__init__.py
-
3youtube_dl/extractor/__init__.py
-
27youtube_dl/extractor/divxstage.py
-
19youtube_dl/extractor/generic.py
-
27youtube_dl/extractor/movshare.py
-
8youtube_dl/extractor/novamov.py
-
2youtube_dl/extractor/nowvideo.py
-
26youtube_dl/extractor/videoweed.py
@ -0,0 +1,27 @@ |
|||
from __future__ import unicode_literals |
|||
|
|||
from .novamov import NovaMovIE |
|||
|
|||
|
|||
class DivxStageIE(NovaMovIE): |
|||
IE_NAME = 'divxstage' |
|||
IE_DESC = 'DivxStage' |
|||
|
|||
_VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'divxstage\.(?:eu|net|ch|co|at|ag)'} |
|||
|
|||
_HOST = 'www.divxstage.eu' |
|||
|
|||
_FILE_DELETED_REGEX = r'>This file no longer exists on our servers.<' |
|||
_TITLE_REGEX = r'<div class="video_det">\s*<strong>([^<]+)</strong>' |
|||
_DESCRIPTION_REGEX = r'<div class="video_det">\s*<strong>[^<]+</strong>\s*<p>([^<]+)</p>' |
|||
|
|||
_TEST = { |
|||
'url': 'http://www.divxstage.eu/video/57f238e2e5e01', |
|||
'md5': '63969f6eb26533a1968c4d325be63e72', |
|||
'info_dict': { |
|||
'id': '57f238e2e5e01', |
|||
'ext': 'flv', |
|||
'title': 'youtubedl test video', |
|||
'description': 'This is a test video for youtubedl.', |
|||
} |
|||
} |
@ -0,0 +1,27 @@ |
|||
from __future__ import unicode_literals |
|||
|
|||
from .novamov import NovaMovIE |
|||
|
|||
|
|||
class MovShareIE(NovaMovIE): |
|||
IE_NAME = 'movshare' |
|||
IE_DESC = 'MovShare' |
|||
|
|||
_VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'movshare\.(?:net|sx|ag)'} |
|||
|
|||
_HOST = 'www.movshare.net' |
|||
|
|||
_FILE_DELETED_REGEX = r'>This file no longer exists on our servers.<' |
|||
_TITLE_REGEX = r'<strong>Title:</strong> ([^<]+)</p>' |
|||
_DESCRIPTION_REGEX = r'<strong>Description:</strong> ([^<]+)</p>' |
|||
|
|||
_TEST = { |
|||
'url': 'http://www.movshare.net/video/559e28be54d96', |
|||
'md5': 'abd31a2132947262c50429e1d16c1bfd', |
|||
'info_dict': { |
|||
'id': '559e28be54d96', |
|||
'ext': 'flv', |
|||
'title': 'dissapeared image', |
|||
'description': 'optical illusion dissapeared image magic illusion', |
|||
} |
|||
} |
@ -0,0 +1,26 @@ |
|||
from __future__ import unicode_literals |
|||
|
|||
from .novamov import NovaMovIE |
|||
|
|||
|
|||
class VideoWeedIE(NovaMovIE): |
|||
IE_NAME = 'videoweed' |
|||
IE_DESC = 'VideoWeed' |
|||
|
|||
_VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'videoweed\.(?:es|com)'} |
|||
|
|||
_HOST = 'www.videoweed.es' |
|||
|
|||
_FILE_DELETED_REGEX = r'>This file no longer exists on our servers.<' |
|||
_TITLE_REGEX = r'<h1 class="text_shadow">([^<]+)</h1>' |
|||
|
|||
_TEST = { |
|||
'url': 'http://www.videoweed.es/file/b42178afbea14', |
|||
'md5': 'abd31a2132947262c50429e1d16c1bfd', |
|||
'info_dict': { |
|||
'id': 'b42178afbea14', |
|||
'ext': 'flv', |
|||
'title': 'optical illusion dissapeared image magic illusion', |
|||
'description': '' |
|||
}, |
|||
} |
Write
Preview
Loading…
Cancel
Save