[Extractors] Clean up the code
This commit is contained in:
parent
17eab653e1
commit
84622e970a
@ -796,9 +796,7 @@ from .orf import (
|
||||
ORFOE1IE,
|
||||
ORFIPTVIE,
|
||||
)
|
||||
from .orfium import (
|
||||
OrfiumTrackIE,
|
||||
)
|
||||
from .orfium import OrfiumTrackIE
|
||||
from .packtpub import (
|
||||
PacktPubIE,
|
||||
PacktPubCourseIE,
|
||||
|
@ -10,7 +10,7 @@ from ..utils import ExtractorError
|
||||
class OrfiumTrackIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://(www\.)?orfium\.com/track/(?P<id>\d+)'
|
||||
IE_NAME = 'orfium'
|
||||
_TESTS = [{
|
||||
_TEST = {
|
||||
'url': 'https://www.orfium.com/track/694466/misery-aciou/',
|
||||
'md5': 'ceae78f12a22b05d7f796e04de5f6cae',
|
||||
'info_dict': {
|
||||
@ -21,7 +21,7 @@ class OrfiumTrackIE(InfoExtractor):
|
||||
'url': 'https://cdn.orfium.com/tracks%2Fa281276f-8126-48aa-98ad-9121c282e6eb-1522252307.mp3',
|
||||
'ext': 'mp3'
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
||||
def _real_extract(self, url):
|
||||
mobj = re.match(self._VALID_URL, url)
|
||||
|
Loading…
x
Reference in New Issue
Block a user