Formats everything for proper packaging
This commit is contained in:
@@ -1,5 +1,20 @@
|
||||
#!/usr/bin/env python3
|
||||
# Copyright (c) 2025 Markil 3
|
||||
# This CLI tool allows for the download and packaging of various internet comics into .cbz files.
|
||||
# Copyright (C) 2025 Markil 3
|
||||
# http://www.singlepilot.net
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
import logging
|
||||
import logging.handlers
|
||||
import argparse
|
||||
@@ -653,7 +668,6 @@ def find_comic_class(url: str) -> type[Comic]:
|
||||
:returns: A parser
|
||||
"""
|
||||
url_f = URLFormat(url)
|
||||
logging.info(_registry_subdomains)
|
||||
while len(url_f.domains) > 0:
|
||||
i = bisect.bisect(_registry_subdomains, url_f)
|
||||
if i == 0:
|
||||
|
||||
Reference in New Issue
Block a user