mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-03 00:00:44 +02:00
[movshare] Add support for movshare.net
This commit is contained in:
parent
610e47c87e
commit
1ff7c0f7d8
|
@ -156,6 +156,7 @@
|
||||||
from .mooshare import MooshareIE
|
from .mooshare import MooshareIE
|
||||||
from .morningstar import MorningstarIE
|
from .morningstar import MorningstarIE
|
||||||
from .motorsport import MotorsportIE
|
from .motorsport import MotorsportIE
|
||||||
|
from .movshare import MovShareIE
|
||||||
from .mtv import (
|
from .mtv import (
|
||||||
MTVIE,
|
MTVIE,
|
||||||
MTVIggyIE,
|
MTVIggyIE,
|
||||||
|
|
26
youtube_dl/extractor/movshare.py
Normal file
26
youtube_dl/extractor/movshare.py
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
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)'}
|
||||||
|
|
||||||
|
_HOST = 'www.movshare.net'
|
||||||
|
|
||||||
|
_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',
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user