1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-09 12:07:49 +08:00

Use variable

This commit is contained in:
AlexAplin 2018-06-17 00:53:49 -04:00
parent cdde4e4764
commit 3431b53c4c

View File

@ -97,7 +97,7 @@ class IwaraIE(InfoExtractor):
comments_header = get_element_by_class('title', comments_id)
if comments_header is not None:
comment_count = int_or_none(self._html_search_regex(
r'([\d,]+)', get_element_by_class('title', comments_id), 'comment_count', fatal=False))
r'([\d,]+)', comments_header, 'comment_count', fatal=False))
node_views_class = get_element_by_class('node-views', webpage)
if node_views_class is not None: