├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── ReadList.txt ├── SinaBlog2e-book.py ├── SinaBlog_config.json ├── __init__.py ├── db ├── SinaBlog.sql └── SinaBlog_db_002.sqlite ├── idea_test.py ├── src ├── __init__.py ├── book.py ├── container │ ├── __init__.py │ ├── image.py │ ├── initialbook.py │ ├── page.py │ └── task.py ├── lib │ ├── SinaBlog_parser │ │ ├── SinaBlogparser.py │ │ ├── __init__.py │ │ ├── author.py │ │ ├── base.py │ │ ├── content │ │ │ ├── SinaBlogArticle.py │ │ │ ├── SinaBlogAuthor.py │ │ │ └── __init__.py │ │ ├── info │ │ │ └── __init__.py │ │ └── tools │ │ │ ├── __init__.py │ │ │ └── parser_tools.py │ ├── __init__.py │ └── epub │ │ ├── __init__.py │ │ ├── directory.py │ │ ├── epub.py │ │ ├── inf.py │ │ ├── mime_type.py │ │ ├── opf.py │ │ ├── template │ │ ├── META-INF │ │ │ ├── container │ │ │ │ └── container.xml │ │ │ └── duokan_container │ │ │ │ └── duokan-extension.xml │ │ ├── OEBPS │ │ │ ├── opf │ │ │ │ ├── content.xml │ │ │ │ ├── guide │ │ │ │ │ └── item.xml │ │ │ │ ├── manifest │ │ │ │ │ └── item.xml │ │ │ │ ├── metadata │ │ │ │ │ ├── book_id.xml │ │ │ │ │ ├── cover.xml │ │ │ │ │ ├── creator.xml │ │ │ │ │ └── title.xml │ │ │ │ └── spine │ │ │ │ │ ├── item.xml │ │ │ │ │ └── item_nolinear.xml │ │ │ └── toc │ │ │ │ ├── content.xml │ │ │ │ ├── docTitle │ │ │ │ └── title.xml │ │ │ │ ├── head │ │ │ │ ├── depth.xml │ │ │ │ └── uid.xml │ │ │ │ └── navMap │ │ │ │ └── item.xml │ │ └── directory │ │ │ ├── chapter.html │ │ │ ├── content.html │ │ │ ├── finish_chapter.html │ │ │ ├── item_leaf.html │ │ │ └── item_root.html │ │ ├── toc.py │ │ └── tools │ │ ├── __init__.py │ │ ├── base.py │ │ ├── epub_config.py │ │ └── epub_path.py ├── main.py ├── read_list_parser.py ├── tools │ ├── __init__.py │ ├── config.py │ ├── controler.py │ ├── db.py │ ├── debug.py │ ├── extra_tools.py │ ├── html_creator.py │ ├── http.py │ ├── match.py │ ├── path.py │ ├── template_config.py │ └── type.py └── worker.py └── www ├── __init__.py ├── css ├── bootstrap.css ├── customer.css ├── markdown.css └── normalize.css ├── image ├── cover.png └── kanshan.png └── template ├── __init__.py ├── base.html ├── content ├── info │ ├── author.html │ ├── comment.html │ └── title.html └── question │ ├── answer.html │ └── question.html └── front_page ├── base.html └── info ├── answer.html ├── article.html ├── author.html ├── collection.html ├── column.html ├── question.html ├── sinablog.html └── topic.html /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/README.md -------------------------------------------------------------------------------- /ReadList.txt: -------------------------------------------------------------------------------- 1 | http://blog.sina.com.cn/u/1597288934 2 | -------------------------------------------------------------------------------- /SinaBlog2e-book.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/SinaBlog2e-book.py -------------------------------------------------------------------------------- /SinaBlog_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/SinaBlog_config.json -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /db/SinaBlog.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/db/SinaBlog.sql -------------------------------------------------------------------------------- /db/SinaBlog_db_002.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/db/SinaBlog_db_002.sqlite -------------------------------------------------------------------------------- /idea_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/idea_test.py -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/book.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/book.py -------------------------------------------------------------------------------- /src/container/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /src/container/image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/container/image.py -------------------------------------------------------------------------------- /src/container/initialbook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/container/initialbook.py -------------------------------------------------------------------------------- /src/container/page.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/container/page.py -------------------------------------------------------------------------------- /src/container/task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/container/task.py -------------------------------------------------------------------------------- /src/lib/SinaBlog_parser/SinaBlogparser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/SinaBlog_parser/SinaBlogparser.py -------------------------------------------------------------------------------- /src/lib/SinaBlog_parser/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/lib/SinaBlog_parser/author.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/SinaBlog_parser/author.py -------------------------------------------------------------------------------- /src/lib/SinaBlog_parser/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/SinaBlog_parser/base.py -------------------------------------------------------------------------------- /src/lib/SinaBlog_parser/content/SinaBlogArticle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/SinaBlog_parser/content/SinaBlogArticle.py -------------------------------------------------------------------------------- /src/lib/SinaBlog_parser/content/SinaBlogAuthor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/SinaBlog_parser/content/SinaBlogAuthor.py -------------------------------------------------------------------------------- /src/lib/SinaBlog_parser/content/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/lib/SinaBlog_parser/info/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/lib/SinaBlog_parser/tools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/lib/SinaBlog_parser/tools/parser_tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/SinaBlog_parser/tools/parser_tools.py -------------------------------------------------------------------------------- /src/lib/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /src/lib/epub/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /src/lib/epub/directory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/directory.py -------------------------------------------------------------------------------- /src/lib/epub/epub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/epub.py -------------------------------------------------------------------------------- /src/lib/epub/inf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/inf.py -------------------------------------------------------------------------------- /src/lib/epub/mime_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/mime_type.py -------------------------------------------------------------------------------- /src/lib/epub/opf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/opf.py -------------------------------------------------------------------------------- /src/lib/epub/template/META-INF/container/container.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/META-INF/container/container.xml -------------------------------------------------------------------------------- /src/lib/epub/template/META-INF/duokan_container/duokan-extension.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/META-INF/duokan_container/duokan-extension.xml -------------------------------------------------------------------------------- /src/lib/epub/template/OEBPS/opf/content.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/OEBPS/opf/content.xml -------------------------------------------------------------------------------- /src/lib/epub/template/OEBPS/opf/guide/item.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/OEBPS/opf/guide/item.xml -------------------------------------------------------------------------------- /src/lib/epub/template/OEBPS/opf/manifest/item.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/OEBPS/opf/manifest/item.xml -------------------------------------------------------------------------------- /src/lib/epub/template/OEBPS/opf/metadata/book_id.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/OEBPS/opf/metadata/book_id.xml -------------------------------------------------------------------------------- /src/lib/epub/template/OEBPS/opf/metadata/cover.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/lib/epub/template/OEBPS/opf/metadata/creator.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/OEBPS/opf/metadata/creator.xml -------------------------------------------------------------------------------- /src/lib/epub/template/OEBPS/opf/metadata/title.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/OEBPS/opf/metadata/title.xml -------------------------------------------------------------------------------- /src/lib/epub/template/OEBPS/opf/spine/item.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/lib/epub/template/OEBPS/opf/spine/item_nolinear.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/lib/epub/template/OEBPS/toc/content.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/OEBPS/toc/content.xml -------------------------------------------------------------------------------- /src/lib/epub/template/OEBPS/toc/docTitle/title.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/OEBPS/toc/docTitle/title.xml -------------------------------------------------------------------------------- /src/lib/epub/template/OEBPS/toc/head/depth.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/OEBPS/toc/head/depth.xml -------------------------------------------------------------------------------- /src/lib/epub/template/OEBPS/toc/head/uid.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/lib/epub/template/OEBPS/toc/navMap/item.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/OEBPS/toc/navMap/item.xml -------------------------------------------------------------------------------- /src/lib/epub/template/directory/chapter.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/directory/chapter.html -------------------------------------------------------------------------------- /src/lib/epub/template/directory/content.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/directory/content.html -------------------------------------------------------------------------------- /src/lib/epub/template/directory/finish_chapter.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/directory/finish_chapter.html -------------------------------------------------------------------------------- /src/lib/epub/template/directory/item_leaf.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/directory/item_leaf.html -------------------------------------------------------------------------------- /src/lib/epub/template/directory/item_root.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/template/directory/item_root.html -------------------------------------------------------------------------------- /src/lib/epub/toc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/toc.py -------------------------------------------------------------------------------- /src/lib/epub/tools/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /src/lib/epub/tools/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/tools/base.py -------------------------------------------------------------------------------- /src/lib/epub/tools/epub_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/tools/epub_config.py -------------------------------------------------------------------------------- /src/lib/epub/tools/epub_path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/lib/epub/tools/epub_path.py -------------------------------------------------------------------------------- /src/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/main.py -------------------------------------------------------------------------------- /src/read_list_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/read_list_parser.py -------------------------------------------------------------------------------- /src/tools/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- -------------------------------------------------------------------------------- /src/tools/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/tools/config.py -------------------------------------------------------------------------------- /src/tools/controler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/tools/controler.py -------------------------------------------------------------------------------- /src/tools/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/tools/db.py -------------------------------------------------------------------------------- /src/tools/debug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/tools/debug.py -------------------------------------------------------------------------------- /src/tools/extra_tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/tools/extra_tools.py -------------------------------------------------------------------------------- /src/tools/html_creator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/tools/html_creator.py -------------------------------------------------------------------------------- /src/tools/http.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/tools/http.py -------------------------------------------------------------------------------- /src/tools/match.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/tools/match.py -------------------------------------------------------------------------------- /src/tools/path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/tools/path.py -------------------------------------------------------------------------------- /src/tools/template_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/tools/template_config.py -------------------------------------------------------------------------------- /src/tools/type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/tools/type.py -------------------------------------------------------------------------------- /src/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/src/worker.py -------------------------------------------------------------------------------- /www/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /www/css/bootstrap.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/css/bootstrap.css -------------------------------------------------------------------------------- /www/css/customer.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/css/customer.css -------------------------------------------------------------------------------- /www/css/markdown.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/css/markdown.css -------------------------------------------------------------------------------- /www/css/normalize.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/css/normalize.css -------------------------------------------------------------------------------- /www/image/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/image/cover.png -------------------------------------------------------------------------------- /www/image/kanshan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/image/kanshan.png -------------------------------------------------------------------------------- /www/template/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | -------------------------------------------------------------------------------- /www/template/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/template/base.html -------------------------------------------------------------------------------- /www/template/content/info/author.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/template/content/info/author.html -------------------------------------------------------------------------------- /www/template/content/info/comment.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/template/content/info/comment.html -------------------------------------------------------------------------------- /www/template/content/info/title.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/template/content/info/title.html -------------------------------------------------------------------------------- /www/template/content/question/answer.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/template/content/question/answer.html -------------------------------------------------------------------------------- /www/template/content/question/question.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/template/content/question/question.html -------------------------------------------------------------------------------- /www/template/front_page/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/template/front_page/base.html -------------------------------------------------------------------------------- /www/template/front_page/info/answer.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /www/template/front_page/info/article.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /www/template/front_page/info/author.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/template/front_page/info/author.html -------------------------------------------------------------------------------- /www/template/front_page/info/collection.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/template/front_page/info/collection.html -------------------------------------------------------------------------------- /www/template/front_page/info/column.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/template/front_page/info/column.html -------------------------------------------------------------------------------- /www/template/front_page/info/question.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /www/template/front_page/info/sinablog.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /www/template/front_page/info/topic.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eebook/SinaBlog2e-book/HEAD/www/template/front_page/info/topic.html --------------------------------------------------------------------------------