mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-02 03:52:50 -05:00
Use urlencode_postdata across the codebase
This commit is contained in:
@ -15,6 +15,7 @@ from ..utils import (
|
||||
sanitized_Request,
|
||||
smuggle_url,
|
||||
unsmuggle_url,
|
||||
urlencode_postdata,
|
||||
)
|
||||
|
||||
|
||||
@ -174,7 +175,7 @@ class DCNSeasonIE(InfoExtractor):
|
||||
data['show_id'] = show_id
|
||||
request = sanitized_Request(
|
||||
'http://admin.mangomolo.com/analytics/index.php/plus/show',
|
||||
compat_urllib_parse_urlencode(data),
|
||||
urlencode_postdata(data),
|
||||
{
|
||||
'Origin': 'http://www.dcndigital.ae',
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
|
Reference in New Issue
Block a user