#NEWLINE# def _extract_view_count( self , html ) : #NEWLINE# #INDENT# m = re . search ( '<li class="views">\\s*<span class="count">(?P<viewcount>[^<]+)</span> Views\\s*</li>' , self ) #NEWLINE# return ( int ( self . _fix_count ( m . group ( 'viewcount' ) ) ) if ( m is not None ) else 0 )