tvn24.py extractor: clean up
This commit is contained in:
parent
c7d0ab0678
commit
ae19aa945d
@ -41,8 +41,7 @@ class TVN24IE(InfoExtractor):
|
||||
|
||||
title = self._html_search_regex(
|
||||
r'<span[^>]+class="standardHeader1[^"]*"[^>]*>\s*(.+?)\s*</span>',
|
||||
webpage, 'title', default=None)
|
||||
|
||||
webpage, 'title')
|
||||
|
||||
def extract_json(attr, name, fatal=True):
|
||||
return self._parse_json(
|
||||
|
Loading…
x
Reference in New Issue
Block a user