Пример #1
0
	def _get_ffx3_bookmarks(self, fpath):
		"""Parse Firefox' .json bookmarks backups"""
		from kupfer.plugin import firefox3_support
		self.output_debug("Parsing", fpath)
		bookmarks = firefox3_support.get_bookmarks(fpath)
		for book in bookmarks:
			yield UrlLeaf(book["uri"], book["title"])
Пример #2
0
 def _get_ffx3_bookmarks(self, fpath):
     """Parse Firefox' .json bookmarks backups"""
     from kupfer.plugin import firefox3_support
     self.output_debug("Parsing", fpath)
     bookmarks = firefox3_support.get_bookmarks(fpath)
     for book in bookmarks:
         yield UrlLeaf(book["uri"], book["title"])
Пример #3
0
 def _get_ffx3_bookmarks(self, fpath):
     """Parse Firefox' .json bookmarks backups"""
     from kupfer.plugin import firefox3_support
     self.output_debug("Parsing", fpath)
     bookmarks, tags = firefox3_support.get_bookmarks(fpath)
     for book in bookmarks:
         yield UrlLeaf(book["uri"], book["title"] or book["uri"])
     if __kupfer_settings__['load_tags']:
         for tag, items in tags.iteritems():
             yield Tag(tag, items)
Пример #4
0
	def _get_ffx3_bookmarks(self, fpath):
		"""Parse Firefox' .json bookmarks backups"""
		from kupfer.plugin import firefox3_support
		self.output_debug("Parsing", fpath)
		bookmarks, tags = firefox3_support.get_bookmarks(fpath)
		for book in bookmarks:
			yield UrlLeaf(book["uri"], book["title"] or book["uri"])
		if __kupfer_settings__['load_tags']:
			for tag, items in tags.iteritems():
				yield Tag(tag, items)