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 | 137f07c27a88b07df57df5b2cdebebe3c7722bac (patch) | |
tree | 4ebdcbea6b540f69c40ba0be6ac766008030d149 /yt_dlp/extractor/adobetv.py | |
parent | Adding debian version 2024.05.27-1. (diff) | |
download | yt-dlp-137f07c27a88b07df57df5b2cdebebe3c7722bac.tar.xz yt-dlp-137f07c27a88b07df57df5b2cdebebe3c7722bac.zip |
Merging upstream version 2024.07.01.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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): |