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.
Some valid cookies cause youtube-dl to break #24300
Comments
|
I'm getting this same issue with youtube-dl version 2020.03.08
|
|
Downgrading to version 2020.03.06 resolves my issue. Although a proper fix moving forward would be nice. |
|
For those who have troubles reading english:
Space is Next, comment clearly states:
and with errata 5518 applied:
|
Checklist
Verbose log
Description
According to RFC 6265 , white space allowed in cookie values with double quote:
if you don't fix this issue, youtube-dl will break after downloading any link from Instagram or other sites that send cookies with space. it can be used by a mechanism to break youtube-dl.
NOTE: i re-created this issue because #24299 closed without acceptable response !!!
When downloading Instagram video, it sent a cookie like :
"{\"45.12.3.45\": 24940}:1jBJ5c:yMVdw1trErKtMZlJkGK3zfvFI4U"and write a line in cookie file that cause cookie file to be invalid for next youtube-dl run.
Instagram does not send invalid cookie and its cookies are accepted in all major browsers like Chrome of Firefox.