Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Parsing cookies.txt throws UnicodeDecodeError #24271
Comments
|
You must provide reproducible cookie file. |
Checklist
Verbose log
Description
The latest version of youtube-dl fails to parse the cookies.txt file exported with either cookies.txt or Export Cookies with the error
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 110: ordinal not in range(128). Cookies were exported from Firefox Developer Build 74.0 on Windows 10 and uploaded over WinSCP to an Ubuntu 18.04 server. The issue persisted after running dos2unix on the cookies file on the server. This process worked fine two days ago, so the issue is relatively new.