diff options
author | Lesmiscore (Naoya Ozaki) <nao20010128@gmail.com> | 2022-02-04 14:54:33 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-04 11:24:33 +0530 |
commit | 5a13fdd2254d3dde52818e07cd7c5d88a74a6125 (patch) | |
tree | b3c9c001556ef8ded99dc3850f98906c571ca650 | |
parent | af5c1c553e0147fad5f386f42058186e1952ee4e (diff) | |
download | hypervideo-pre-5a13fdd2254d3dde52818e07cd7c5d88a74a6125.tar.lz hypervideo-pre-5a13fdd2254d3dde52818e07cd7c5d88a74a6125.tar.xz hypervideo-pre-5a13fdd2254d3dde52818e07cd7c5d88a74a6125.zip |
[twitcasting] Enforce UTF-8 for POST payload (#2521)
Authored by: Lesmiscore
-rw-r--r-- | yt_dlp/extractor/twitcasting.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/twitcasting.py b/yt_dlp/extractor/twitcasting.py index 5eb3926d6..8c2235a8e 100644 --- a/yt_dlp/extractor/twitcasting.py +++ b/yt_dlp/extractor/twitcasting.py @@ -85,7 +85,7 @@ class TwitCastingIE(InfoExtractor): if video_password: request_data = urlencode_postdata({ 'password': video_password, - }) + }, encoding='utf-8') webpage = self._download_webpage( url, video_id, data=request_data, headers={'Origin': 'https://twitcasting.tv'}) |