export_as_bookmark.bookmark_exporter module

Bookmark exporter.

class export_as_bookmark.bookmark_exporter.BookmarkExporter(urls: List[str])[source]

Bases: object

Export bookmark into Netscape Bookmark file.

export(name: str) → str[source]

Export bookmark HTML.

Parameters

name – Folder name

Returns

HTML string

classmethod from_lines(urls: str)export_as_bookmark.bookmark_exporter.BookmarkExporter[source]

Create bookmark exporter from list of urls.

Parameters

urls – Newline separated list or urls

Returns

BookmarkExporter instance

urls: List[str] = None