original_docstring:  Parse the html page and add posts to db.
  
          Args:
              res: response
              meta: other info for the post
  
          Returns:
              None
          
docstring: Parse the html page and add posts to db.
docstring_tokens: Parse the html page and add posts to db .
code: def parse_posts(self,res, meta):
          """ Parse the html page and add posts to db.
  
          Args:
              res: response
              meta: other info for the post
  
          Returns:
              None
          """
          soup = BeautifulSoup(res.text, 'html.parser')
          messages = self.get_messages(soup)
          infos = self.foreach(lambda x: self.get_info(x, meta['subject'], meta['subject_url'], res.url), messages)
code_tokens: def parse_posts ( self , res , meta ) : soup = BeautifulSoup ( res . text , 'html.parser' ) messages = self . get_messages ( soup ) infos = self . foreach ( lambda x : self . get_info ( x , meta [ 'subject' ] , meta [ 'subject_url' ] , res . url ) , messages )
short_docstring: Parse the html page and add posts to db.
short_docstring_tokens: Parse the html page and add posts to db .
comment: """ Parse the html page and add posts to db.
  
          Args:
              res: response
              meta: other info for the post
  
          Returns:
              None
          """