From b1892db0154aaa9372228e7742c5e4b37c90687c Mon Sep 17 00:00:00 2001 From: MrHulk <154370583+MrHulk02@users.noreply.github.com> Date: Tue, 10 Sep 2024 11:30:54 +0530 Subject: [PATCH] Update yt_dlp/extractor/fptplay.py Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com> --- yt_dlp/extractor/fptplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/fptplay.py b/yt_dlp/extractor/fptplay.py index 8fabc5ec8..59005aceb 100644 --- a/yt_dlp/extractor/fptplay.py +++ b/yt_dlp/extractor/fptplay.py @@ -53,7 +53,7 @@ def _real_extract(self, url): # movie or single video manifest = self._download_json(self.get_api_with_st_token(contentId, 0), contentId, headers={'authorization': f'Bearer {token.value}'}, expected_status=406) - if manifest.get("msg") != "success": + if manifest.get('msg') != 'success': raise ExtractorError(f' - Got an error, response: {manifest.get("msg")}', expected=True) formats, subtitles = self._extract_m3u8_formats_and_subtitles(manifest["data"]["url"], contentId)