CHANGELOG
MangDL v.3.1.0.0
ADDED
- Lhtranslation provider
- Read Manhua provider
- UltraLight provider
- Added
setsufunction in themangdl/api/providers/templates/wordpress.py'smanga_id_fntemplates and make it a default for the providers to use.
CHANGED
- Changed
mangdl/api/providers/templates/wordpress.py'stemplateclass to make%B %d, %Yas default fordate_format. - Changed
mangdl/api/providers/templates/wordpress.py'stemplate.mangafunction to check if a provider script declares adate_format, if which it did will pass themsor master soup to it and use the returned value as the title of the manga. - Changed
mangdl/api/providers/templates/wordpress.py'stemplate.mangafunction to check if a provider script declares atitle_fn, if which it did will be used as the date format for the all the manga metadata dates. - Removed
manga_id_fnfunction inmangdl/api/providers/chibimanga.pyandmangdl/api/providers/setsuscans.pyto use the defaultmanga_id_fn.setsutemplate function.
FIXED
- Removed the
title_fninmangdl/api/providers/templates/wordpress.py'stemplate.mangafunction due to the said variable not being used anywhere. - Fixed
mangdl/api/providers/firstkiss.py'smanga_id_fnfunction to receiveurland keyword arguments instead ofsoup.
MangDL v.3.0.1.0
ADDED
- Weeaboo Scans provider
- Added
msafunction in themangdl/api/providers/templates/wordpress.py'srch_fntemplates for the providers to use.
CHANGED
- Changed
mangdl/api/providers/templates/wordpress.py'stemplate.mangafunction to check if a provider script declares amanga_title, if which it did will pass themsor master soup to it and use the returned value as the title of the manga. - In
mangdl/api/providers/firstkiss.py, changed therch_fn' value tosetsuand removed the currentrch_fnfunction and its imports. - In
mangdl/api/providers/mangadex.pyL126, changed the f-string to normal string as it lacks an f-string placeholder. - In
mangdl/api/providers/mangakomi.py,mangdl/api/providers/mangasushi.py,mangdl/api/providers/vinmanga.py, andmangdl/api/providers/xunscans.py, changed therch_fn' value tomsaand removed the currentrch_fnfunction and its imports.
FIXED
- Removed
rch_fnand its imports inmangdl/api/providers/paeanscans.py. - Fixed
mangdl/utils/settings.py'sreadcfgfunction to loadyamlfiles safely.
MangDL v.3.0.0.4
CHANGED
- Changed
mangdl/api/providers/templates/wordpress.py'stemplate.mangafunction to check if a provider script declares amanga_title, if which it did will pass themsor master soup to it and use the returned value as the title of the manga.
FIXED
- Removed duplicate
chdlsfunction inmangdl/api/providers/mangadex.py. - Fixed Setsu Scans provider by adding a
manga_titlefunction which returns the appropriate title when given the correct the master soup. - The option
providerfor the commanddlwill now fallback to mangadex in case a value has not been declared by the user. - Fixed
mangdl/api/base.py'sDownloader.clifunction by passing the keyword arguments the class have received to the givencli_searchfunction.
MangDL v.3.0.0.3
FIXED
- Added the
richlibrary as a required library.
MangDL v.3.0.0.2
Attempted to add the rich library as a required library and failed... again.
MangDL v.3.0.0.1
Attempted to add the rich library as a required library and failed.
MangDL v.3.0.0.0
CHANGED
- Using a modified semantic versioning system, which functions like the old semver but has two major versions for the breaking change visible to the user and the other for developers.
- Minimized the length of provider scripts further by making templates for
ch_num_fnandrch_num_fnfunctions, defaulting toch_num_fn.breadcrumbandrch_num_fn.tdofunctions respectively.
FIXED
- Fixed name inconsistencies for the function
rch_num_fnwhich for some instances are namedrch_num_fun.
MangDL v.2.0.2
ADDED
- Added logging back with the
richlibrary.
CHANGED
- Changed
mangdl/api/base.py'stblpfunction to use therichlibrary for easier formatting and making more aesthetically pleasing tables. - Added
cookiesin the arguments ofmangdl/api/base.py'sDownloader.__init__function for the downloader to be able to use custom cookies. - Honestly, who reads this. Anyways, using the
richlibrary with theyachalklibrary for colorful printing and beautiful formatting. - Added
dein the arguments ofmangdl/utils/utils.py'sddirfunction to be able to return that value in case the output evaluates toFalse.
FIXED
- Fixed
mangdl/api/providers/templates/guya.py'stemplate.ch_fnfunction to get the image links from the first group. - Fixed
mangdl/api/providers/templates/guya.py'stemplate.chapterfunction to useself.ch_fninstead of its own implementation for fetching the image links. - Added
template.cli_dlinmangdl/api/providers/templates/guya.py. - Fixed
mangdl/api/providers/mangadex.py'sch_fnfunction to be able to fetch image links on the new version on mangadex v5 API. - Fixed
mangdl/api/providers/mangadex.py'schapterfunction to usech_fninstead of its own implementation for fetching the image links. - Fixed the spelling of "colour" in
mangdl/utils/stg.jsonto use the British English spelling instead of the American English spelling.
MangDL v.2.0.1
NOW, THIS IS A BUGFIX!
FIXED
- Removed
searchfunction inmangdl/api/providers/templates/guya.py,mangdl/api/providers/mangadex.py, andmangdl/api/providers/manganato.py. - Removed
from ...base import Searchinmangdl/api/providers/templates/guya.py. - Removed
from ..base import Searchinmangdl/api/providers/mangadex.pyandmangdl/api/providers/manganato.py. - Fixed description metadata in
mangdl/api/providers/templates/wordpress.py'smangafunction to output "No description available." when the description is not available. - Fixed
cli_searchinmangdl/api/providers/mangadex.pyandmangdl/api/providers/manganato.pyto returndl_search(title, **params)instead ofdl_search(Search(title, **params)). - Fixed
scanlatorinmangdl/api/providers/setsuscans.pyto be assigned the value of "Setsu Scans" instead of "Paean Scans". - Fixed
mangdl/providers.py'sProviderclass'initfunction to import the right thing.
MangDL v.2.0.0
NOW, THIS IS A PROVIDER SPREE!
ADDED
-
Chibimanga provider
-
1ST Kiss MANGA provider
-
Manga Komi provider
-
manga ZUKI provider
-
vinmanga provider
-
Zinmanga provider
CHANGED
-
cloudflaremust be set toTruein the provider script if the said provider is protected by cloudflare's UAM. This is in case a method of bypassing it has been found out. -
Use
genericas a template for providers who does not use a template. -
Removed
Searchdataclass. You can now usesearchfunction without passing it, instead you pass the arguments directly. -
dtfunction inutils/utils.pywill now "dehumanize" the datetime passed if it contains the word "ago". -
provideroption for the CLI commands does not verify the input now.
MangDL v.1.0.1
FIXED
-
setup.pyfixed as the pip installation for Windows OS not working due to the said OS apparently reading thedocs/README.htmlincp1252encoding instead ofutf-8
MangDL v.1.0.0
ADDED
- Xun Scans provider
- Description metadata for providers using the wordpress template.
FIXED
- Title of the search results from the providers using the wordpress template.
MangDL v.1.0.0-alpha.1
ADDED
-
__main__.pyso MangDL cli can be used when installed programmatically.
MangDL v.1.0.0-alpha.0
ADDED
- Templates for sites that uses Wordpress and other variants, and guya.moe manga reading framework.
CHANGED
- Rewrote provider scripts to use a template if they have one.
FIXED
- Lack of manganato provider script's
dl_searchfunction (literally wondering right now how that script works despite lacking one). - mangadex provider script's
dl_searchfixed to accepttitleand kwargs instead of just aSearchdataclass.
MangDL v.0.1.0
ADDED
- Paean Scans provider
CHANGED
- Removed light novel checking for Mangasushi and Ace Scans provider scripts.
MangDL v.0.0.1
ADDED
- Mangasushi provider
CHANGED
- Refactor Setsu Scans' manga function.
FIXED
- Replace the version number in the
setup.pyto reflect the real version of the app. - Remove the line that imports the non-standard regex library in
mangdl/api/base.py.
MangDL v.0.0.0-beta.1
ADDED
- Setsu Scans provider
CHANGED
- Removed logging.
FIXED
- Mangadex provider (I actually forgot what I fixed there, don't ask me and my shitty memory).
MangDL v.0.0.0-beta.0
ADDED
- Scripts for setting up portable packages in Windows.
FIXED
- Windows packages should now work.
MangDL v.0.0.0-alpha.4
ADDED
- Installation and download scripts for linux and windows packages. Instructions coming soon!
FIXED
- Windows packages should now work
MangDL v.0.0.0-alpha.3
FIRST PACKAGE PRERELEASE.
CHANGED
- For programmatic usage of the function
mangain every provider scripts, you can now change whether the function return the chapters and its metadata (which is significantly slower), just the link to the chapters, or none at all. Ex.:
from mangdl.providers import Provider
prov = Provider("acescans")
print(prov.manga('https://acescans.xyz/manga/hakoniwa-oukoku-no-souzoushu-sama/', chs=0))chs = 0 means the function will return an empty dictionary; 1: links to the chapters; 2: Ch object derived from the chapter's link. If the given integer is not 0-2 (inclusive), it will fallback to 1.
MangDL v.0.0.0-alpha.2
PROVIDERS SPREE.
ADDED
- Ace Scans provider
FIXED
- Flamescans' chapter function throwing an error from untested code
MangDL v.0.0.0-alpha.1
ADDED
- Danke fürs Lesen provider
MangDL v.0.0.0-alpha.0
START OF SEMANTIC VERSIONING.
ADDED
- Hachirumi provider
CHANGED
- An intermediary script between the provider scripts and the cli has been made, which can also be used thru programmatic usage.
Ex.:
from mangdl.providers import Provider
from mangdl.api.base import Search
prov = Provider("mangadex")
for i in prov.search(Search("sachi-iro no one room")):
print(i)- Removed saving and loading configs