Update yt_dlp/extractor/fptplay.py

Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com>
pull/10967/head
MrHulk 11 months ago committed by GitHub
parent 1a735dc0d8
commit 46e494d8d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -48,7 +48,7 @@ class FptplayIE(InfoExtractor):
res = self._download_json(self.get_api_with_st_token(contentId), contentId, expected_status=406)
if res["result"]["episode_type"] == 0:
if res['result']['episode_type'] == 0:
# 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)

Loading…
Cancel
Save