Frutto-Hub / akniga.org_book_downloader

A simple python script for downloading books from akniga.org
1 stars 2 forks source link

some code refactoring #2

Open HuTao1Love opened 1 year ago

HuTao1Love commented 1 year ago

I've just refactor code and added class to simple run code not from console with args

Now it can be runned with AKnigaParser(book_url, folder) .run(delete_full_book_folder, separate_into_chapters)

p.s separate_into_chapters now default True and now it separates if arg == True