]> git.bitcoin.ninja Git - youtube-dl/commit
[discoverygo] Fix JSON data parsing
authorYen Chi Hsuan <yan12125@gmail.com>
Thu, 5 Jan 2017 10:45:26 +0000 (18:45 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Thu, 5 Jan 2017 10:50:34 +0000 (18:50 +0800)
commit24d8a75982de3fd2fefd2c0d4a1248d03997d843
tree4b87954c4969353d4d6d0a0eb6aaf8c0082b84a7
parent7232bb299b69ee0cf8634a0ebf26f15ecb476a42
[discoverygo] Fix JSON data parsing

HTMLParser, which is used by extract_attributes, already unescapes
attribute values with HTMLParser.unescape. They shouldn't be unescaped
again, to there may be parsing errors.

Ref: #11219, #11522
ChangeLog
youtube_dl/extractor/discoverygo.py