mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-21 01:42:51 +08:00
[ultimedia] Rename to digiteka
This commit is contained in:
parent
942d46196f
commit
aecfcd4e59
@ -777,7 +777,7 @@ from .udemy import (
|
|||||||
UdemyCourseIE
|
UdemyCourseIE
|
||||||
)
|
)
|
||||||
from .udn import UDNEmbedIE
|
from .udn import UDNEmbedIE
|
||||||
from .ultimedia import UltimediaIE
|
from .digiteka import DigitekaIE
|
||||||
from .unistra import UnistraIE
|
from .unistra import UnistraIE
|
||||||
from .urort import UrortIE
|
from .urort import UrortIE
|
||||||
from .ustream import UstreamIE, UstreamChannelIE
|
from .ustream import UstreamIE, UstreamChannelIE
|
||||||
|
@ -7,7 +7,7 @@ from .common import InfoExtractor
|
|||||||
from ..utils import int_or_none
|
from ..utils import int_or_none
|
||||||
|
|
||||||
|
|
||||||
class UltimediaIE(InfoExtractor):
|
class DigitekaIE(InfoExtractor):
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
https?://(?:www\.)?(?:digiteka\.net|ultimedia\.com)/
|
https?://(?:www\.)?(?:digiteka\.net|ultimedia\.com)/
|
||||||
(?:
|
(?:
|
@ -57,7 +57,7 @@ from .pladform import PladformIE
|
|||||||
from .videomore import VideomoreIE
|
from .videomore import VideomoreIE
|
||||||
from .googledrive import GoogleDriveIE
|
from .googledrive import GoogleDriveIE
|
||||||
from .jwplatform import JWPlatformIE
|
from .jwplatform import JWPlatformIE
|
||||||
from .ultimedia import UltimediaIE
|
from .digiteka import DigitekaIE
|
||||||
|
|
||||||
|
|
||||||
class GenericIE(InfoExtractor):
|
class GenericIE(InfoExtractor):
|
||||||
@ -1814,10 +1814,10 @@ class GenericIE(InfoExtractor):
|
|||||||
if mobj is not None:
|
if mobj is not None:
|
||||||
return self.url_result(unescapeHTML(mobj.group('url')), 'ScreenwaveMedia')
|
return self.url_result(unescapeHTML(mobj.group('url')), 'ScreenwaveMedia')
|
||||||
|
|
||||||
# Look for Ulltimedia embeds
|
# Look for Digiteka embeds
|
||||||
ultimedia_url = UltimediaIE._extract_url(webpage)
|
digiteka_url = DigitekaIE._extract_url(webpage)
|
||||||
if ultimedia_url:
|
if digiteka_url:
|
||||||
return self.url_result(self._proto_relative_url(ultimedia_url), 'Ultimedia')
|
return self.url_result(self._proto_relative_url(digiteka_url), DigitekaIE.ie_key())
|
||||||
|
|
||||||
# Look for AdobeTVVideo embeds
|
# Look for AdobeTVVideo embeds
|
||||||
mobj = re.search(
|
mobj = re.search(
|
||||||
|
Loading…
Reference in New Issue
Block a user