mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-20 05:47:24 +01:00
[ie/omnyfm] updated _VALID_URL regex pattern for id
This commit is contained in:
parent
93e65f14dc
commit
4ff1288758
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
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>[^/]+)'
|
||||||
_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 = [{
|
||||||
|
Loading…
Reference in New Issue
Block a user