From 29448350808619262d6a9ddd393a2c28df1720fe Mon Sep 17 00:00:00 2001 From: Lesmiscore Date: Sat, 12 Feb 2022 23:58:26 +0900 Subject: [PATCH] [bigo] Fix extractor to not to use `form_params` --- yt_dlp/extractor/bigo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/bigo.py b/yt_dlp/extractor/bigo.py index f90bfcd8e..6e38ecc1d 100644 --- a/yt_dlp/extractor/bigo.py +++ b/yt_dlp/extractor/bigo.py @@ -2,7 +2,7 @@ from __future__ import unicode_literals from .common import InfoExtractor -from ..utils import ExtractorError +from ..utils import ExtractorError, urlencode_postdata class BigoIE(InfoExtractor): @@ -32,7 +32,7 @@ class BigoIE(InfoExtractor): info_raw = self._download_json( 'https://bigo.tv/studio/getInternalStudioInfo', - user_id, form_params={'siteId': user_id}) + user_id, data=urlencode_postdata({'siteId': user_id})) if info_raw.get('code'): raise ExtractorError(