extractor/gamestar: update comment_count extraction
the webpage layout has changed, update the regexp accordingly
This commit is contained in:
parent
991bc36ea0
commit
f4d919f0af
@ -41,8 +41,8 @@ class GameStarIE(InfoExtractor):
|
|||||||
|
|
||||||
view_count = int_or_none(json_ld.get('interactionCount'))
|
view_count = int_or_none(json_ld.get('interactionCount'))
|
||||||
comment_count = int_or_none(self._html_search_regex(
|
comment_count = int_or_none(self._html_search_regex(
|
||||||
r'([0-9]+) Kommentare</span>', webpage, 'comment_count',
|
r'<span>Kommentare</span><span class="count">\(([0-9]+)\)</span>',
|
||||||
fatal=False))
|
webpage, 'comment_count', fatal=False))
|
||||||
|
|
||||||
info_dict.update({
|
info_dict.update({
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user