|
|
@ -16,7 +16,7 @@ from ..utils import (
|
|
|
|
class OmnyFMShowIE(InfoExtractor):
|
|
|
|
class OmnyFMShowIE(InfoExtractor):
|
|
|
|
IE_NAME = 'omnyfm:show'
|
|
|
|
IE_NAME = 'omnyfm:show'
|
|
|
|
_VALID_URL = r'https?://omny\.fm/shows/(?P<id>[\w-]+)'
|
|
|
|
_VALID_URL = r'https?://omny\.fm/shows/(?P<id>[\w-]+)'
|
|
|
|
_EMBED_REGEX = [r'<iframe[^>]+?src=(?:["\'])(?P<url>https?://omny\.fm/shows/.+?)\1']
|
|
|
|
_EMBED_REGEX = [r'<iframe[^>]+?src=(["\'])(?P<url>https?://omny\.fm/shows/.+?)\1']
|
|
|
|
_PAGE_SIZE = 10
|
|
|
|
_PAGE_SIZE = 10
|
|
|
|
_TESTS = [{
|
|
|
|
_TESTS = [{
|
|
|
|
'url': 'https://omny.fm/shows/league-leaders',
|
|
|
|
'url': 'https://omny.fm/shows/league-leaders',
|
|
|
|