mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-03 00:25:08 +00:00
[Cleanup] Remove some unnecessary groups in regexes (#1738)
Authored by: Ashish0804
This commit is contained in:
@ -8,7 +8,7 @@ from ..utils import ExtractorError
|
||||
|
||||
|
||||
class EpiconIE(InfoExtractor):
|
||||
_VALID_URL = r'(?:https?://)(?:www\.)?epicon\.in/(?:documentaries|movies|tv-shows/[^/?#]+/[^/?#]+)/(?P<id>[^/?#]+)'
|
||||
_VALID_URL = r'https?://(?:www\.)?epicon\.in/(?:documentaries|movies|tv-shows/[^/?#]+/[^/?#]+)/(?P<id>[^/?#]+)'
|
||||
_TESTS = [{
|
||||
'url': 'https://www.epicon.in/documentaries/air-battle-of-srinagar',
|
||||
'info_dict': {
|
||||
@ -84,7 +84,7 @@ class EpiconIE(InfoExtractor):
|
||||
|
||||
|
||||
class EpiconSeriesIE(InfoExtractor):
|
||||
_VALID_URL = r'(?!.*season)(?:https?://)(?:www\.)?epicon\.in/tv-shows/(?P<id>[^/?#]+)'
|
||||
_VALID_URL = r'(?!.*season)https?://(?:www\.)?epicon\.in/tv-shows/(?P<id>[^/?#]+)'
|
||||
_TESTS = [{
|
||||
'url': 'https://www.epicon.in/tv-shows/1-of-something',
|
||||
'playlist_mincount': 5,
|
||||
|
Reference in New Issue
Block a user