diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:06:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:06:10 +0000 |
commit | 7e21328585afda6d66f98ca476301680eeffac32 (patch) | |
tree | 266a4e7b20443f94572748781d71fc0375a15037 /yt_dlp/extractor/adobetv.py | |
parent | Adding upstream version 2024.05.27. (diff) | |
download | yt-dlp-7e21328585afda6d66f98ca476301680eeffac32.tar.xz yt-dlp-7e21328585afda6d66f98ca476301680eeffac32.zip |
Adding upstream version 2024.07.01.upstream/2024.07.01
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'yt_dlp/extractor/adobetv.py')
-rw-r--r-- | yt_dlp/extractor/adobetv.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/yt_dlp/extractor/adobetv.py b/yt_dlp/extractor/adobetv.py index 08e9e51..4608e5c 100644 --- a/yt_dlp/extractor/adobetv.py +++ b/yt_dlp/extractor/adobetv.py @@ -2,7 +2,6 @@ import functools import re from .common import InfoExtractor -from ..compat import compat_str from ..utils import ( ISO639Utils, OnDemandPagedList, @@ -36,7 +35,7 @@ class AdobeTVBaseIE(InfoExtractor): return subtitles def _parse_video_data(self, video_data): - video_id = compat_str(video_data['id']) + video_id = str(video_data['id']) title = video_data['title'] s3_extracted = False @@ -151,7 +150,7 @@ class AdobeTVPlaylistBaseIE(AdobeTVBaseIE): page += 1 query['page'] = page for element_data in self._call_api( - self._RESOURCE, display_id, query, 'Download Page %d' % page): + self._RESOURCE, display_id, query, f'Download Page {page}'): yield self._process_data(element_data) def _extract_playlist_entries(self, display_id, query): |