aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLivia Medeiros <livia@cirno.name>2022-10-04 06:01:53 +0900
committerGitHub <noreply@github.com>2022-10-04 02:31:53 +0530
commit1d77d8ce07d21850cac2be6fcffea3311234bc16 (patch)
treefd2bf2e31cad645cc230739cc031a2676803fb1f
parenta057779d5e706f7bb8721a6c46cca47f0925f682 (diff)
downloadhypervideo-pre-1d77d8ce07d21850cac2be6fcffea3311234bc16.tar.lz
hypervideo-pre-1d77d8ce07d21850cac2be6fcffea3311234bc16.tar.xz
hypervideo-pre-1d77d8ce07d21850cac2be6fcffea3311234bc16.zip
[extractor/holodex] Fix `_VALID_URL` (#4948)
Authored by: LiviaMedeiros
-rw-r--r--yt_dlp/extractor/holodex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/holodex.py b/yt_dlp/extractor/holodex.py
index 70d711719..a2b73ecc1 100644
--- a/yt_dlp/extractor/holodex.py
+++ b/yt_dlp/extractor/holodex.py
@@ -6,7 +6,7 @@ from ..utils import traverse_obj
class HolodexIE(InfoExtractor):
_VALID_URL = r'''(?x)https?://(?:www\.|staging\.)?holodex\.net/(?:
api/v2/playlist/(?P<playlist>\d+)|
- watch/(?P<id>\w+)(?:\?(?:[^#]+&)?playlist=(?P<playlist2>\d+))?
+ watch/(?P<id>[\w-]{11})(?:\?(?:[^#]+&)?playlist=(?P<playlist2>\d+))?
)'''
_TESTS = [{
'url': 'https://holodex.net/watch/9kQ2GtvDV3s',