[ie/omnyfm] updated _VALID_URL regex pattern for id

This commit is contained in:
subrat-lima 2024-09-20 01:18:31 +05:30
parent 93e65f14dc
commit 4ff1288758

View File

@ -15,7 +15,7 @@
class OmnyFMShowIE(InfoExtractor):
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']
_PAGE_SIZE = 10
_TESTS = [{