[compat] Fix old Pythons broken loading of valueless cookie attributes
authordirkf <fieldhouse@gmx.net>
Mon, 17 Jul 2023 19:39:11 +0000 (20:39 +0100)
committerdirkf <fieldhouse@gmx.net>
Tue, 18 Jul 2023 09:50:46 +0000 (10:50 +0100)
commit47214e46d852e9d7ddf81d69a8e70806e2396c6c
tree35f5ea2d9104002cd27d91d814dc0f4f87db6867
parent1d8d5a93f7187438587c3a754b53fdf30322cef0
[compat] Fix old Pythons broken loading of valueless cookie attributes

Cookie string parsing in Py 2.6.9, probably earlier, requires `=`.
Also 3.2, though the CPython code appears to be OK: 3.1 was also wrong.
youtube_dl/compat.py