From 0c0e439cc65d8205b47fa415bb82fdd5e3262ca8 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Thu, 1 Oct 2015 09:45:20 -0500 Subject: [PATCH] Remove devianthearts.com--Server not found for a week. --- calibre-plugin/plugin-defaults.ini | 6 ---- fanficfare/adapters/__init__.py | 1 - fanficfare/adapters/adapter_devianthearts.py | 38 -------------------- fanficfare/defaults.ini | 6 ---- 4 files changed, 51 deletions(-) delete mode 100644 fanficfare/adapters/adapter_devianthearts.py diff --git a/calibre-plugin/plugin-defaults.ini b/calibre-plugin/plugin-defaults.ini index 3420e77..d12b0c4 100644 --- a/calibre-plugin/plugin-defaults.ini +++ b/calibre-plugin/plugin-defaults.ini @@ -869,12 +869,6 @@ extracategories:Buffy: The Vampire Slayer extracharacters:Buffy, Spike extraships:Spike/Buffy -[devianthearts.com] -## Some sites do not require a login, but do 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 - [dramione.org] ## 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 7f944fc..a183587 100644 --- a/fanficfare/adapters/__init__.py +++ b/fanficfare/adapters/__init__.py @@ -131,7 +131,6 @@ import adapter_csiforensicscom import adapter_lotrfanfictioncom import adapter_fhsarchivecom import adapter_fanfictionjunkiesde -import adapter_devianthearts import adapter_tgstorytimecom import adapter_itcouldhappennet import adapter_forumsspacebattlescom diff --git a/fanficfare/adapters/adapter_devianthearts.py b/fanficfare/adapters/adapter_devianthearts.py deleted file mode 100644 index 606a2a1..0000000 --- a/fanficfare/adapters/adapter_devianthearts.py +++ /dev/null @@ -1,38 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright 2015 Fanficdownloader team, 2015 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 -import re -from base_efiction_adapter import BaseEfictionAdapter - -class DeviantHeartsAdapter(BaseEfictionAdapter): - - @staticmethod - def getSiteDomain(): - return 'devianthearts.com' - - @classmethod - def getSiteAbbrev(self): - return 'devhrt' - - @classmethod - def getDateFormat(self): - return "%m/%d/%y" - -def getClass(): - return DeviantHeartsAdapter - diff --git a/fanficfare/defaults.ini b/fanficfare/defaults.ini index a520cd7..6dd188c 100644 --- a/fanficfare/defaults.ini +++ b/fanficfare/defaults.ini @@ -875,12 +875,6 @@ extracategories:Buffy: The Vampire Slayer extracharacters:Buffy, Spike extraships:Spike/Buffy -[devianthearts.com] -## Some sites do not require a login, but do 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 - [dramione.org] ## Some sites require login (or login for some rated stories) The ## program can prompt you, or you can save it in config. In