def Parse(self, stat, file_object, knowledge_base):
    """Parse the History file."""
    _, _ = stat, knowledge_base
    # TODO(user): Convert this to use the far more intelligent plaso parser.
    ff = Firefox3History(file_object)
    for timestamp, unused_entry_type, url, title in ff.Parse():
      yield rdf_webhistory.BrowserHistoryItem(
          url=url,
          domain=urlparse.urlparse(url).netloc,
          access_time=timestamp,
          program_name="Firefox",
          source_path=file_object.Path(),
          title=title)
def Parse ( self , stat , file_object , knowledge_base ) : _ , _ = stat , knowledge_base ff = Firefox3History ( file_object ) for timestamp , unused_entry_type , url , title in ff . Parse ( ) : yield rdf_webhistory . BrowserHistoryItem ( url = url , domain = urlparse . urlparse ( url ) . netloc , access_time = timestamp , program_name = "Firefox" , source_path = file_object . Path ( ) , title = title )
Parse the History file.