Merge changes from master to Aigrain publishing code - that will be used for new...
[librarian.git] / scripts / book2fb2
diff --git a/scripts/book2fb2 b/scripts/book2fb2
new file mode 100755 (executable)
index 0000000..584ae99
--- /dev/null
@@ -0,0 +1,18 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
+from librarian.book2anything import Book2Anything
+
+
+class Book2Fb2(Book2Anything):
+    format_name = "FB2"
+    ext = "fb2"
+    uses_cover = False
+    uses_provider = True
+
+
+if __name__ == '__main__':
+    Book2Fb2.run()