aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPetr VanÄ›k <[email protected]>2022-02-12 11:55:13 +0100
committerdirkf <[email protected]>2022-02-14 07:07:05 +0000
commit8088ce036ac4ce282f8f864c6b5f4f3987647221 (patch)
tree3eaacf1f2b871b8c10f8a34f229f86933d4371a1
parent29f7bfc4d7a80cecd67c19c25134481fbba6e175 (diff)
downloadyoutube-dl-8088ce036ac4ce282f8f864c6b5f4f3987647221.tar.gz
youtube-dl-8088ce036ac4ce282f8f864c6b5f4f3987647221.zip
revert: use _match_valid_url function
-rw-r--r--youtube_dl/extractor/streamcz.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/streamcz.py b/youtube_dl/extractor/streamcz.py
index 0191c77de..998342e93 100644
--- a/youtube_dl/extractor/streamcz.py
+++ b/youtube_dl/extractor/streamcz.py
@@ -1,5 +1,6 @@
# coding: utf-8
import json
+import re
from .common import InfoExtractor
from ..utils import (
@@ -55,7 +56,7 @@ class StreamCZIE(InfoExtractor):
}
def _real_extract(self, url):
- display_id, video_id = self._match_valid_url(url).groups()
+ display_id, video_id = re.match(self._VALID_URL, url).groups()
data = self._download_json(
'https://www.televizeseznam.cz/api/graphql', video_id, 'Downloading GraphQL result',