blog2epub
v1.5.0 - Release Candidate 2

แปลงบล็อกเป็น EPUB โดยใช้บรรทัดคำสั่งหรือ GUI
เป้าหมายหลักของฉันในการสร้างแอพนี้คือการรักษามรดกของ blogosphere สำหรับคนรุ่นต่อไปในอนาคต
![]() | ![]() |
![]() | ![]() |
เช็คเอาต์สำหรับบิลด์ล่าสุดที่มีอยู่
pip install git+https://github.com/bohdanbobrowski/blog2epub.git
git clone [email protected]:bohdanbobrowski/blog2epub.git
cd blog2epub
python -m venv venv
venvScriptsactivate
pip install -e .[dev]
source ./venv/bin/activate
pip install -e .[dev]
python blog2epub_build_windows.py
ในที่สุดคุณสามารถเรียกใช้ NSIS เพื่อสร้าง Windows Installer:
"C:Program Files (x86)NSISmakensis" blog2epub_windows_installer.nsi
python blog2epub_build_macos.py
จากนั้นเพื่อสร้างภาพ DMG ด้วยแอพ:
./make_macos_dmg.sh
ก่อนที่คุณจะเริ่มคุณจะต้องติดตั้ง buildozer ตามเอกสารการติดตั้งนี้
buildozer -v android







blog2epub --help
usage: Blog2epub Cli interface [-h] [-l LIMIT] [-s SKIP] [-q QUALITY] [-o OUTPUT] [-d] url
Convert blog (blogspot.com, wordpress.com or another based on Wordpress) to epub using CLI or GUI.
positional arguments:
url url of blog to download
options:
-h, --help show this help message and exit
-l LIMIT, --limit LIMIT
articles limit
-s SKIP, --skip SKIP number of skipped articles
-q QUALITY, --quality QUALITY
images quality (0-100)
-o OUTPUT, --output OUTPUT
output epub file name
-d, --debug turn on debug
ตัวอย่าง:
blog2epub starybezpiek.blogspot.com -l=2 -o=example.epub
Starting blogger.com crawler
Found 54 articles to crawl.
Downloading.
1. 10 lat kremlowskiej propagandy, czyli RT ujawnia swoje sekrety
Downloading.
2. "Komunę obaliliśmy, a nadal jest źle. Dlaczego?" Czyli 1984 Orwella właściwie odczytany
Locale set as en_US.UTF-8
Generating cover (800px*600px) from 1 images.
Cover generated: .starybezpiek.blogspot.comexample.epub.jpg
Epub created: .example.epub
blog2epub starybezpiek.blogspot.com
blog2epub velosov.blogspot.com -l=10
blog2epub poznanskiehistorie.blogspot.com -q=100
blog2epub classicameras.blogspot.com --limit=10 --no-images
pytest ./tests
pytest --cov=blog2epub ./tests
pytest --cov=blog2epub --cov-report=html ./tests
»บันทึกการเปลี่ยนแปลงที่สมบูรณ์ที่นี่«
และในที่สุดรายการข้อบกพร่องที่รู้จักและแผนการในอนาคตสำหรับฟังก์ชั่นและการปรับปรุงใหม่: backlog.md