mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-18 00:05:22 +01:00
[dailymotion] Fix view count regex
In some languages they can be in the format '123,456' instead of '123.456'
This commit is contained in:
parent
f53c966a73
commit
563e405411
|
@ -148,7 +148,7 @@ def _real_extract(self, url):
|
|||
return
|
||||
|
||||
view_count = str_to_int(self._search_regex(
|
||||
r'video_views_value[^>]+>([\d\.]+)<', webpage, u'view count'))
|
||||
r'video_views_value[^>]+>([\d\.,]+)<', webpage, u'view count'))
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
|
|
Loading…
Reference in New Issue
Block a user