diff options
author | bashonly <88596187+bashonly@users.noreply.github.com> | 2023-10-27 19:01:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-28 00:01:31 +0000 |
commit | 177f0d963e4b9db749805c482e6f288354c8be84 (patch) | |
tree | 060498ab9160590e1d45c03c9f42dbc3799296fd /yt_dlp/extractor | |
parent | 8e02a4dcc800f9444e9d461edc41edd7b662f435 (diff) |
[ie/QDance] Update `_VALID_URL` (#8426)
Authored by: bashonly
Diffstat (limited to 'yt_dlp/extractor')
-rw-r--r-- | yt_dlp/extractor/qdance.py | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/yt_dlp/extractor/qdance.py b/yt_dlp/extractor/qdance.py index d817677f0..934ebbfd7 100644 --- a/yt_dlp/extractor/qdance.py +++ b/yt_dlp/extractor/qdance.py @@ -15,7 +15,7 @@ from ..utils import ( class QDanceIE(InfoExtractor): _NETRC_MACHINE = 'qdance' - _VALID_URL = r'https?://(?:www\.)?q-dance\.com/network/(?:library|live)/(?P<id>\d+)' + _VALID_URL = r'https?://(?:www\.)?q-dance\.com/network/(?:library|live)/(?P<id>[\w-]+)' _TESTS = [{ 'note': 'vod', 'url': 'https://www.q-dance.com/network/library/146542138', @@ -53,6 +53,27 @@ class QDanceIE(InfoExtractor): 'channel_id': 'qdancenetwork.video_149170353', }, 'skip': 'Completed livestream', + }, { + 'note': 'vod with alphanumeric id', + 'url': 'https://www.q-dance.com/network/library/WhDleSIWSfeT3Q9ObBKBeA', + 'info_dict': { + 'id': 'WhDleSIWSfeT3Q9ObBKBeA', + 'ext': 'mp4', + 'title': 'Aftershock I Defqon.1 Weekend Festival 2023 I Sunday I BLUE', + 'display_id': 'naam-i-defqon-1-weekend-festival-2023-i-dag-i-podium', + 'description': 'Relive Defqon.1 Path of the Warrior with Aftershock at the BLUE 🔥', + 'series': 'Defqon.1', + 'series_id': '31840378', + 'season': 'Defqon.1 Weekend Festival 2023', + 'season_id': '141735599', + 'duration': 3507, + 'availability': 'premium_only', + 'thumbnail': 'https://images.q-dance.network/1698158361-230625-135716-defqon-1-aftershock.jpg', + }, + 'params': {'skip_download': 'm3u8'}, + }, { + 'url': 'https://www.q-dance.com/network/library/-uRFKXwmRZGVnve7av9uqA', + 'only_matching': True, }] _access_token = None |