Rupegia EPUB Creator is a Python script that generates an EPUB file from a series of HTML chapters, creating a cohesive eBook. It utilizes the ebooklib, BeautifulSoup, and other libraries.
pip install EbookLib
)pip install beautifulsoup4
)cd path/to/rupegia-epub-creator
pip install -r requirements.txt
python createbook.py
chapters_folder
variable inside createbook.py
.
# Set the folder containing chapter HTML files
chapters_folder = 'D:\\Files\\PyScrap\\Rupegia'
epub_path
variable inside createbook.py
.
# Set the path for saving the EPUB file
epub_path = 'D:\\Files\\PyScrap\\Rupegia\\rupegia.epub'
cover.jpg
is present in the script directory.# Set the folder containing chapter HTML files
chapters_folder = 'D:\\Files\\PyScrap\\Rupegia'
# Run the EPUB creation script
python createbook.py
This project is licensed under the MIT License - see the LICENSE file for details.
John Randel Carpio Contact: carpio.johnrandel@gmail.com