[extractor/common] Use compat_cookiejar_Cookie for _set_cookie (closes #23256, closes...
authorSergey M․ <dstftw@gmail.com>
Mon, 4 May 2020 23:00:37 +0000 (06:00 +0700)
committerSergey M․ <dstftw@gmail.com>
Mon, 4 May 2020 23:00:37 +0000 (06:00 +0700)
commit6c22cee673f59407a63b2916d8f0623a95a8ea20
treed43713fd2a56aeb10361c894a7df4931427bab41
parent6d874fee2a4b54272c48960f3082072d37a7e0ae
[extractor/common] Use compat_cookiejar_Cookie for _set_cookie (closes #23256, closes #24776)

To always ensure cookie name and value are bytestrings on python 2.
youtube_dl/extractor/common.py