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:
parent
6864855eb1
commit
59ddf084a5
@ -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')}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user