aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-03-18 03:01:00 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-03-18 03:01:07 +0530
commit5a373d97686ae3876ba42f102cf3163f3680a1e4 (patch)
treed4d8252d472e960919a6a850739c17cd53319915
parent7e6a187096b869f8ffc34fc11caf08cbd6c776f9 (diff)
downloadhypervideo-pre-5a373d97686ae3876ba42f102cf3163f3680a1e4.tar.lz
hypervideo-pre-5a373d97686ae3876ba42f102cf3163f3680a1e4.tar.xz
hypervideo-pre-5a373d97686ae3876ba42f102cf3163f3680a1e4.zip
[veo] Fix `_VALID_URL`
Closes #3095
-rw-r--r--yt_dlp/extractor/veo.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/yt_dlp/extractor/veo.py b/yt_dlp/extractor/veo.py
index 4e57a52d1..9bc41114a 100644
--- a/yt_dlp/extractor/veo.py
+++ b/yt_dlp/extractor/veo.py
@@ -12,7 +12,7 @@ from ..utils import (
class VeoIE(InfoExtractor):
- _VALID_URL = r'https?://app\.veo\.co/matches/(?P<id>[0-9A-Za-z-]+)'
+ _VALID_URL = r'https?://app\.veo\.co/matches/(?P<id>[0-9A-Za-z-_]+)'
_TESTS = [{
'url': 'https://app.veo.co/matches/20201027-last-period/',
@@ -25,6 +25,9 @@ class VeoIE(InfoExtractor):
'timestamp': 1603847208,
'duration': 1916,
}
+ }, {
+ 'url': 'https://app.veo.co/matches/20220313-2022-03-13_u15m-plsjq-vs-csl/',
+ 'only_matching': True,
}]
def _real_extract(self, url):