aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorllamasblade <69692580+llamasblade@users.noreply.github.com>2024-05-11 17:01:56 +0000
committerGitHub <noreply@github.com>2024-05-11 17:01:56 +0000
commit31b417e1d1ccc67d5c027bf8878f483dc34cb118 (patch)
tree37f91d6e10df8311f78a7ddd0ff40f95acfda3d2
parentfc2879ecb05aaad36869609d154e4321362c1f63 (diff)
[ie/hytale] Use `CloudflareStreamIE` explicitly (#9672)
Authored by: llamasblade
-rw-r--r--yt_dlp/extractor/hytale.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/yt_dlp/extractor/hytale.py b/yt_dlp/extractor/hytale.py
index 0f4dcc309..e8cd21a64 100644
--- a/yt_dlp/extractor/hytale.py
+++ b/yt_dlp/extractor/hytale.py
@@ -1,7 +1,8 @@
import re
+from .cloudflarestream import CloudflareStreamIE
from .common import InfoExtractor
-from ..utils import traverse_obj
+from ..utils.traversal import traverse_obj
class HytaleIE(InfoExtractor):
@@ -49,7 +50,7 @@ class HytaleIE(InfoExtractor):
entries = [
self.url_result(
f'https://cloudflarestream.com/{video_hash}/manifest/video.mpd?parentOrigin=https%3A%2F%2Fhytale.com',
- title=self._titles.get(video_hash), url_transparent=True)
+ CloudflareStreamIE, title=self._titles.get(video_hash), url_transparent=True)
for video_hash in re.findall(
r'<stream\s+class\s*=\s*"ql-video\s+cf-stream"\s+src\s*=\s*"([a-f0-9]{32})"',
webpage)