1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-10 17:17:15 +08:00

[bitchute] Unescape title

This commit is contained in:
Andrew Udvare 2018-11-23 23:26:21 -05:00
parent 6864855eb1
commit 59ddf084a5
No known key found for this signature in database
GPG Key ID: 1AFD9AFC120C26DD

View File

@ -5,7 +5,7 @@ import itertools
import re import re
from .common import InfoExtractor from .common import InfoExtractor
from ..utils import urlencode_postdata from ..utils import unescapeHTML, urlencode_postdata
class BitChuteIE(InfoExtractor): class BitChuteIE(InfoExtractor):
@ -42,6 +42,7 @@ class BitChuteIE(InfoExtractor):
webpage, 'title', default=None) or self._html_search_meta( webpage, 'title', default=None) or self._html_search_meta(
'description', webpage, 'title', 'description', webpage, 'title',
default=None) or self._og_search_description(webpage) default=None) or self._og_search_description(webpage)
title = unescapeHTML(title)
formats = [ formats = [
{'url': mobj.group('url')} {'url': mobj.group('url')}