[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
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,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>[^/]+)'
_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 = [{