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/theintercept.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 'yt_dlp/extractor/theintercept.py')
-rw-r--r-- | yt_dlp/extractor/theintercept.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/yt_dlp/extractor/theintercept.py b/yt_dlp/extractor/theintercept.py index 99f0d42..dcdca8f 100644 --- a/yt_dlp/extractor/theintercept.py +++ b/yt_dlp/extractor/theintercept.py @@ -1,5 +1,4 @@ from .common import InfoExtractor -from ..compat import compat_str from ..utils import ( ExtractorError, int_or_none, @@ -20,7 +19,7 @@ class TheInterceptIE(InfoExtractor): 'timestamp': 1450429239, 'upload_date': '20151218', 'comment_count': int, - } + }, }] def _real_extract(self, url): @@ -35,8 +34,8 @@ class TheInterceptIE(InfoExtractor): if post['slug'] == display_id: return { '_type': 'url_transparent', - 'url': 'jwplatform:%s' % post['fov_videoid'], - 'id': compat_str(post['ID']), + 'url': 'jwplatform:{}'.format(post['fov_videoid']), + 'id': str(post['ID']), 'display_id': display_id, 'title': post['title'], 'description': post.get('excerpt'), |