]> git.bitcoin.ninja Git - youtube-dl/commit
[utils] Improve cookie files support
authorSergey M․ <dstftw@gmail.com>
Mon, 4 May 2020 21:19:33 +0000 (04:19 +0700)
committerSergey M․ <dstftw@gmail.com>
Mon, 4 May 2020 21:21:25 +0000 (04:21 +0700)
commitc380cc28c4e94b4b61db7f86d35e48197b407266
tree39b6f7fcf913ea8ef4775ea1d54fe86793e32539
parentf7f304910d1c1fc19313231d424daba304e1de71
[utils] Improve cookie files support

+ Add support for UTF-8 in cookie files
* Skip malformed cookie file entries instead of crashing (invalid entry len, invalid expires at)
test/test_YoutubeDLCookieJar.py
test/testdata/cookies/malformed_cookies.txt [new file with mode: 0644]
youtube_dl/utils.py