[utils] js_to_json: various improvements
authorfelix <felix.von.s@posteo.de>
Sun, 13 Mar 2016 11:29:15 +0000 (12:29 +0100)
committerSergey M․ <dstftw@gmail.com>
Sat, 14 May 2016 14:12:39 +0000 (20:12 +0600)
commitbd1e484448c84904ce0d99fe05c3721053aa3c00
tree868cf78d55d90e46fad38e87575ba0d348d53fae
parenta834622b89031dad5afbf96e4a5939a66b0d054b
[utils] js_to_json: various improvements

now JS object literals like { /* " */ 0: ",]\xaa<\/p>", } will be correctly converted to JSON.
test/test_utils.py
youtube_dl/utils.py