#NEWLINE# @ staticmethod #NEWLINE# def get_some_followers( topic ) : #NEWLINE# #INDENT# url = ( ( 'http://www.quora.com/' + topic ) + '/followers' ) #NEWLINE# html_doc = urllib2 . urlopen ( url ) #NEWLINE# soup = BeautifulSoup ( html_doc . read ( ) ) #NEWLINE# raw_data = str ( soup . find_all ( 'a' , class_ = 'user' ) ) #NEWLINE# soup = BeautifulSoup ( raw_data ) #NEWLINE# name = soup . get_text ( ) #NEWLINE# dict = { #NEWLINE# #INDENT# 'name' : name , #NEWLINE# 'topic' : topic , #NEWLINE# #UNINDENT# } #NEWLINE# return dict