1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-24 04:42:52 +08:00

extractor/gamestar: update comment_count extraction

the webpage layout has changed, update the regexp accordingly
This commit is contained in:
Hendrik v. Raven 2018-01-06 15:11:01 +01:00
parent 991bc36ea0
commit f4d919f0af

View File

@ -41,8 +41,8 @@ class GameStarIE(InfoExtractor):
view_count = int_or_none(json_ld.get('interactionCount'))
comment_count = int_or_none(self._html_search_regex(
r'([0-9]+) Kommentare</span>', webpage, 'comment_count',
fatal=False))
r'<span>Kommentare</span><span class="count">\(([0-9]+)\)</span>',
webpage, 'comment_count', fatal=False))
info_dict.update({
'id': video_id,