- view_count = self._search_regex(r'Views: (.+?)<br />',
- webpage, 'Views Count')
- video_id = self._og_search_property('video', webpage, 'Video id').split('=')[1]
+ view_count_str = self._search_regex(
+ r'<span class="views_n">([0-9,.]+)</span>',
+ webpage, 'view count', fatal=False)
+ view_count = (
+ None if view_count_str is None
+ else int(view_count_str.replace(',', '')))
+ video_id = self._search_regex(
+ r'<param\s+name="movie"\s+value="/emb/([0-9]+)"\s*/>',
+ webpage, 'video id')