From 84b3b6d61ee64d82291d26f4babb0c1a8ffc5949 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Wed, 29 Mar 2023 19:45:09 -0500 Subject: [PATCH] Remove site: themaplebookshelf.com - No DNS, broken ~18 months --- calibre-plugin/plugin-defaults.ini | 11 ----- fanficfare/adapters/__init__.py | 1 - .../adapters/adapter_themaplebookshelf.py | 41 ------------------- fanficfare/defaults.ini | 11 ----- 4 files changed, 64 deletions(-) delete mode 100644 fanficfare/adapters/adapter_themaplebookshelf.py diff --git a/calibre-plugin/plugin-defaults.ini b/calibre-plugin/plugin-defaults.ini index 87835e0f..ef89c6ba 100644 --- a/calibre-plugin/plugin-defaults.ini +++ b/calibre-plugin/plugin-defaults.ini @@ -2750,17 +2750,6 @@ extratags: ## Site dedicated to these categories/characters/ships extracategories:Criminal Minds -[themaplebookshelf.com] -## Some sites also require the user to confirm they are adult for -## adult content. In commandline version, this should go in your -## personal.ini, not defaults.ini. -#is_adult:true - -extra_valid_entries: readings,challenge -extra_titlepage_entries: readings,challenge -challenge_label: Challenge -readings_label: Readings - [themasque.net] ## Some sites require login (or login for some rated stories) The ## program can prompt you, or you can save it in config. In diff --git a/fanficfare/adapters/__init__.py b/fanficfare/adapters/__init__.py index 98edfe04..2837f409 100644 --- a/fanficfare/adapters/__init__.py +++ b/fanficfare/adapters/__init__.py @@ -86,7 +86,6 @@ from . import adapter_voracity2eficcom from . import adapter_spikeluvercom from . import adapter_bloodshedversecom from . import adapter_fictionmaniatv -from . import adapter_themaplebookshelf from . import adapter_sheppardweircom from . import adapter_samandjacknet from . import adapter_csiforensicscom diff --git a/fanficfare/adapters/adapter_themaplebookshelf.py b/fanficfare/adapters/adapter_themaplebookshelf.py deleted file mode 100644 index e9affbf9..00000000 --- a/fanficfare/adapters/adapter_themaplebookshelf.py +++ /dev/null @@ -1,41 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright 2014 Fanficdownloader team, 2018 FanFicFare team -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -# Software: eFiction -from __future__ import absolute_import -from .base_efiction_adapter import BaseEfictionAdapter - -class TheMapleBookshelfComSiteAdapter(BaseEfictionAdapter): - - @staticmethod - def getSiteDomain(): - return 'themaplebookshelf.com' - - @classmethod - def getPathToArchive(self): - return '/Literati' - - @classmethod - def getSiteAbbrev(seluuf): - return 'maplebook' - - @classmethod - def getDateFormat(self): - return "%b %d, %Y" - -def getClass(): - return TheMapleBookshelfComSiteAdapter diff --git a/fanficfare/defaults.ini b/fanficfare/defaults.ini index 851092a6..7a2e5ec5 100644 --- a/fanficfare/defaults.ini +++ b/fanficfare/defaults.ini @@ -2754,17 +2754,6 @@ extratags: ## Site dedicated to these categories/characters/ships extracategories:Criminal Minds -[themaplebookshelf.com] -## Some sites also require the user to confirm they are adult for -## adult content. In commandline version, this should go in your -## personal.ini, not defaults.ini. -#is_adult:true - -extra_valid_entries: readings,challenge -extra_titlepage_entries: readings,challenge -challenge_label: Challenge -readings_label: Readings - [themasque.net] ## Some sites require login (or login for some rated stories) The ## program can prompt you, or you can save it in config. In