# Path: cum/config.py
# class BaseConfig(object):
# class MadokamiConfig(object):
#     def __init__(self):
#     def __setattr__(self, name, value):
#     def default_download_directory(self):
#     def load(self):
#     def serialize(self):
#     def write(self):
#     def __init__(self, config, dict):
#     def login(self):
# def get():
# def initialize(directory=None):
# 
# Path: cum/exceptions.py
# class CumException(Exception):
# class LoginError(CumException):
# class ScrapingError(CumException):
# class ConfigError(CumException):
#     def __init__(self, message=''):
#     def __str__(self):
#     def __init__(self, config, cursor, message=''):
# 
# Path: cum/scrapers/base.py
# class BaseSeries(metaclass=ABCMeta):
# class BaseChapter(metaclass=ABCMeta):
#     def __init__(self, url, **kwargs):
#     def alias(self):
#     def follow(self, ignore=False):
#     def get_chapters(self):
#     def name(self):
#     def update(self):
#     def __init__(self, *args, **kwargs):
#     def _strip_unwanted_characters(self, path):
#     def _windows_name_directory(self, directory):
#     def available(self):
#     def create_directory(self, directory):
#     def create_zip(self, files):
#     def db_remove(self):
#     def download(self):
#     def filename(self):
#     def from_url(url):
#     def get(self, use_db=True):
#     def guess_extension(mime_type):
#     def ignore(self):
#     def mark_downloaded(self):
#     def mark_new(self):
#     def page_download_finish(bar, files, fs):
#     def page_download_task(page_num, r):
#     def progress_bar(self, arg):
#     def save(self, series, ignore=False):
#         KEEP_CHARACTERS = [' ', '.', '-', '_', '[', ']', '/', "'"]


from abc import ABCMeta
from cum import config, exceptions
from cum.scrapers.base import BaseChapter, BaseSeries, download_pool
from functools import partial
from tempfile import NamedTemporaryFile
from urllib.parse import urljoin, urlparse
import concurrent.futures
import re
import requests


class FoOlSlideSeries(BaseSeries, metaclass=ABCMeta):
    def __init__(self, url, directory=None, stub=None, use_https=False):
        self.url = url
        self.directory = directory
        self.stub = stub
        self.use_https = use_https
        self._page = 1

# Path: cum/config.py
# class BaseConfig(object):
# class MadokamiConfig(object):
#     def __init__(self):
#     def __setattr__(self, name, value):
#     def default_download_directory(self):
#     def load(self):
#     def serialize(self):
#     def write(self):
#     def __init__(self, config, dict):
#     def login(self):
# def get():
# def initialize(directory=None):
# 
# Path: cum/exceptions.py
# class CumException(Exception):
# class LoginError(CumException):
# class ScrapingError(CumException):
# class ConfigError(CumException):
#     def __init__(self, message=''):
#     def __str__(self):
#     def __init__(self, config, cursor, message=''):
# 
# Path: cum/scrapers/base.py
# class BaseSeries(metaclass=ABCMeta):
# class BaseChapter(metaclass=ABCMeta):
#     def __init__(self, url, **kwargs):
#     def alias(self):
#     def follow(self, ignore=False):
#     def get_chapters(self):
#     def name(self):
#     def update(self):
#     def __init__(self, *args, **kwargs):
#     def _strip_unwanted_characters(self, path):
#     def _windows_name_directory(self, directory):
#     def available(self):
#     def create_directory(self, directory):
#     def create_zip(self, files):
#     def db_remove(self):
#     def download(self):
#     def filename(self):
#     def from_url(url):
#     def get(self, use_db=True):
#     def guess_extension(mime_type):
#     def ignore(self):
#     def mark_downloaded(self):
#     def mark_new(self):
#     def page_download_finish(bar, files, fs):
#     def page_download_task(page_num, r):
#     def progress_bar(self, arg):
#     def save(self, series, ignore=False):
#         KEEP_CHARACTERS = [' ', '.', '-', '_', '[', ']', '/', "'"]


# Path: cum/scrapers/foolslide.py
from abc import ABCMeta
from cum import config, exceptions
from cum.scrapers.base import BaseChapter, BaseSeries, download_pool
from functools import partial
from tempfile import NamedTemporaryFile
from urllib.parse import urljoin, urlparse
import concurrent.futures
import re
import requests



class FoOlSlideSeries(BaseSeries, metaclass=ABCMeta):
    def __init__(self, url, directory=None, stub=None, use_https=False):
        self.url = url
        self.directory = directory
        self.stub = stub
        self.use_https = use_https
        self._page = 1

        self.get_comic_details()