mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-23 21:08:29 +00:00
update regex
This commit is contained in:
parent
f0b0cc6371
commit
ef877e0cdf
@ -126,7 +126,7 @@ def _real_extract(self, url):
|
|||||||
class CiscoLiveSearchIE(CiscoLiveBaseIE):
|
class CiscoLiveSearchIE(CiscoLiveBaseIE):
|
||||||
IE_NAME = 'ciscolive:search'
|
IE_NAME = 'ciscolive:search'
|
||||||
|
|
||||||
_VALID_URL = r'https?://(?:www\.)?ciscolive\.com/on-demand/on-demand-library\.html'
|
_VALID_URL = r'https?://(?:www\.)?ciscolive\.com/on-demand/on-demand-library\.html\?[^#]+#/(?!session|video)[^/?#]*$'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://www.ciscolive.com/on-demand/on-demand-library.html?search.event=1737762187215001jsy4#/',
|
'url': 'https://www.ciscolive.com/on-demand/on-demand-library.html?search.event=1737762187215001jsy4#/',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
@ -141,10 +141,6 @@ class CiscoLiveSearchIE(CiscoLiveBaseIE):
|
|||||||
'playlist_count': 34,
|
'playlist_count': 34,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def suitable(cls, url):
|
|
||||||
return False if CiscoLiveSessionIE.suitable(url) else super().suitable(url)
|
|
||||||
|
|
||||||
def _entries(self, payload):
|
def _entries(self, payload):
|
||||||
from_val = 0
|
from_val = 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user