mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-02-04 01:30:12 +09:00
flake8 fixes
This commit is contained in:
parent
5ef679391f
commit
bedaa1c962
@ -6,10 +6,7 @@ import re
|
|||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
from ..utils import (
|
from ..utils import (
|
||||||
clean_html,
|
clean_html,
|
||||||
extract_attributes,
|
|
||||||
get_element_by_id,
|
get_element_by_id,
|
||||||
get_element_by_attribute,
|
|
||||||
get_element_by_class,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@ -57,7 +54,7 @@ class DigitalConcertHallIE(InfoExtractor):
|
|||||||
# the div with id=key contains the video title
|
# the div with id=key contains the video title
|
||||||
vid_info_div = clean_html(get_element_by_id(key, webpage))
|
vid_info_div = clean_html(get_element_by_id(key, webpage))
|
||||||
self.debug_out("vid_info_div:\n" + vid_info_div)
|
self.debug_out("vid_info_div:\n" + vid_info_div)
|
||||||
title = re.sub('\s+', ' ', vid_info_div)
|
title = re.sub(r'\s+', ' ', vid_info_div)
|
||||||
self.to_screen("title: " + title)
|
self.to_screen("title: " + title)
|
||||||
entries.append({
|
entries.append({
|
||||||
'id': key,
|
'id': key,
|
||||||
|
Loading…
Reference in New Issue
Block a user