This commit is contained in:
2026-05-21 08:16:10 +02:00
parent 9690367d70
commit 54c7b40737
5 changed files with 431 additions and 9 deletions
+7 -3
View File
@@ -3,9 +3,13 @@ import random
from src.EpubHandler import EpubHandler
from src.Translator import Translator
from src.WebScrapper import WebScrapper
from gui import App
# Press the green button in the gutter to run the script.
if __name__ == '__main__':
# GUI starten
# Alte Beispiele (auskommentiert):
# scrapper = WebScrapper("https://www.fanmtl.com/novel/", r"E:\temp\WN\Game of the World Tree\HTML", "en")
# scrapper.getHtml("game-of-the-world-tree_{}.html", 1, 987)
@@ -17,9 +21,9 @@ if __name__ == '__main__':
#scrapper = WebScrapper("https://ncode.syosetu.com/n0806fu/", r"E:\temp\WN\Golden Experience\HTML", "jp")
#scrapper.getHtml("{}/", 334, 620) # 612
# scrapper = WebScrapper("https://fenrirealm.com/series/dorothys-forbidden-grimoire/", r"E:\temp\WN\Dorothys Forbidden Grimoire\HTML", "en")
# scrapper.getHtml("{}", 377, 828, 2)
epubHandler = EpubHandler(r"E:\temp\WN\Dorothys Forbidden Grimoire\HTML", r"E:\temp\WN\Dorothys Forbidden Grimoire\EPUB")
# scrapper = WebScrapper("https://fenrirealm.com/series/dorothys-forbidden-grimoire/", r"E:\temp\WN\Dorothy's Forbidden Grimoire\HTML", "en")
# scrapper.getHtml("{}", 1, 828, 2)
epubHandler = EpubHandler(r"E:\temp\WN\Dorothy's Forbidden Grimoire\HTML", r"E:\temp\WN\Dorothy's Forbidden Grimoire\EPUB")
epubHandler.convertHtmlToEpub("en", r"C:\Users\JohannesBOZZ\Downloads\6e1de333d6af7aaa3fdf3ffa66ac6f55.png")
# epubHandler = EpubHandler(r"E:\temp\WN\Golden Experience\501-609", r"E:\temp\WN\Golden Experience\epub")