mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-22 02:15:12 +00:00
[bigo] Fix extractor to not to use form_params
This commit is contained in:
parent
a3eb987e0e
commit
2944835080
1 changed files with 2 additions and 2 deletions
|
@ -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 @@ def _real_extract(self, url):
|
|||
|
||||
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(
|
||||
|
|
Loading…
Reference in a new issue