mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-28 22:24:34 +01:00
Update yt_dlp/extractor/fptplay.py
Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com>
This commit is contained in:
parent
46e494d8d2
commit
e2aafefd23
1 changed files with 0 additions and 1 deletions
|
@ -51,7 +51,6 @@ class FptplayIE(InfoExtractor):
|
||||||
if res['result']['episode_type'] == 0:
|
if res['result']['episode_type'] == 0:
|
||||||
# movie or single video
|
# 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)
|
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)
|
raise ExtractorError(f' - Got an error, response: {manifest.get("msg")}', expected=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue