aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/zattoo.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2024-04-01 05:31:09 +0530
committerGitHub <noreply@github.com>2024-04-01 05:31:09 +0530
commite3a3ed8a981d9395c4859b6ef56cd02bc3148db2 (patch)
tree2f61a343fd48af1ea30ea1edea365d8c85e7bddb /yt_dlp/extractor/zattoo.py
parenta25a424323267e3f6f9f63c0b62df499bd7b8d46 (diff)
[ie, cleanup] No `from` stdlib imports in extractors (#8978)
Diffstat (limited to 'yt_dlp/extractor/zattoo.py')
-rw-r--r--yt_dlp/extractor/zattoo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/zattoo.py b/yt_dlp/extractor/zattoo.py
index 6bd9ea064..5cc9c5f7a 100644
--- a/yt_dlp/extractor/zattoo.py
+++ b/yt_dlp/extractor/zattoo.py
@@ -1,5 +1,5 @@
import re
-from uuid import uuid4
+import uuid
from .common import InfoExtractor
from ..compat import compat_str
@@ -53,7 +53,7 @@ class ZattooPlatformBaseIE(InfoExtractor):
self._request_webpage(
'%s/zapi/v3/session/hello' % self._host_url(), None,
'Opening session', data=urlencode_postdata({
- 'uuid': compat_str(uuid4()),
+ 'uuid': compat_str(uuid.uuid4()),
'lang': 'en',
'app_version': '1.8.2',
'format': 'json',