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
9aee1ace28
commit
1a735dc0d8
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class FptplayIE(InfoExtractor):
|
||||||
contentId = self._match_id(url)
|
contentId = self._match_id(url)
|
||||||
|
|
||||||
# Need valid cookie with Bearer token, else it won't work
|
# Need valid cookie with Bearer token, else it won't work
|
||||||
token = self._get_cookies(url).get("token")
|
token = self._get_cookies(url).get('token')
|
||||||
|
|
||||||
res = self._download_json(self.get_api_with_st_token(contentId), contentId, expected_status=406)
|
res = self._download_json(self.get_api_with_st_token(contentId), contentId, expected_status=406)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue