diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2024-04-01 05:31:09 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-01 05:31:09 +0530 |
commit | e3a3ed8a981d9395c4859b6ef56cd02bc3148db2 (patch) | |
tree | 2f61a343fd48af1ea30ea1edea365d8c85e7bddb /yt_dlp/extractor/polsatgo.py | |
parent | a25a424323267e3f6f9f63c0b62df499bd7b8d46 (diff) |
[ie, cleanup] No `from` stdlib imports in extractors (#8978)
Diffstat (limited to 'yt_dlp/extractor/polsatgo.py')
-rw-r--r-- | yt_dlp/extractor/polsatgo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/polsatgo.py b/yt_dlp/extractor/polsatgo.py index 1524a1fb9..1cebb365e 100644 --- a/yt_dlp/extractor/polsatgo.py +++ b/yt_dlp/extractor/polsatgo.py @@ -1,5 +1,5 @@ -from uuid import uuid4 import json +import uuid from .common import InfoExtractor from ..utils import ( @@ -51,7 +51,7 @@ class PolsatGoIE(InfoExtractor): } def _call_api(self, endpoint, media_id, method, params): - rand_uuid = str(uuid4()) + rand_uuid = str(uuid.uuid4()) res = self._download_json( f'https://b2c-mobile.redefine.pl/rpc/{endpoint}/', media_id, note=f'Downloading {method} JSON metadata', |