mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-06 17:02:43 +01:00
Remove site: www.novelupdates.cc - Domain parked somewhere sketchy
This commit is contained in:
parent
d0d05d6c3b
commit
ffaa3bf82a
5 changed files with 1 additions and 74 deletions
|
|
@ -4068,18 +4068,6 @@ sitetags_label:Site tags
|
|||
## Attempt to fix p and br excess from HTML in great many stories
|
||||
fix_excess_space:false
|
||||
|
||||
[www.novelupdates.cc]
|
||||
## Note that novelupdates.cc != novelupdates.com
|
||||
use_basic_cache:true
|
||||
|
||||
## There is reason to believe that novelupdates.cc may be a
|
||||
## replacement for wuxiaworld.co, but currently both exist with
|
||||
## different data.
|
||||
|
||||
## When dedup_order_chapter_list:true, use a heuristic algorithm
|
||||
## specific to novelupdates.cc order and dedup chapters.
|
||||
dedup_order_chapter_list:false
|
||||
|
||||
[www.phoenixsong.net]
|
||||
## Some sites require login (or login for some rated stories) The
|
||||
## program can prompt you, or you can save it in config. In
|
||||
|
|
|
|||
|
|
@ -118,7 +118,6 @@ from . import adapter_wattpadcom
|
|||
from . import adapter_novelonlinefullcom
|
||||
from . import adapter_wwwnovelallcom
|
||||
from . import adapter_wuxiaworldxyz
|
||||
from . import adapter_novelupdatescc
|
||||
from . import adapter_hentaifoundrycom
|
||||
from . import adapter_mugglenetfanfictioncom
|
||||
from . import adapter_swiorgru
|
||||
|
|
|
|||
|
|
@ -1,48 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2020 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.
|
||||
#
|
||||
|
||||
|
||||
from __future__ import absolute_import
|
||||
import logging
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
from .adapter_wuxiaworldxyz import WuxiaWorldXyzSiteAdapter
|
||||
|
||||
def getClass():
|
||||
return NovelUpdatesCcSiteAdapter
|
||||
|
||||
class NovelUpdatesCcSiteAdapter(WuxiaWorldXyzSiteAdapter):
|
||||
DATE_FORMAT = '%Y-%m-%d %H:%M'
|
||||
|
||||
def __init__(self, config, url):
|
||||
WuxiaWorldXyzSiteAdapter.__init__(self, config, url)
|
||||
self.story.setMetadata('siteabbrev', 'nucc')
|
||||
|
||||
@staticmethod
|
||||
def getSiteDomain():
|
||||
return 'www.novelupdates.cc'
|
||||
|
||||
@classmethod
|
||||
def getAcceptDomains(cls):
|
||||
return ['www.novelupdates.cc','m.novelupdates.cc']
|
||||
|
||||
@classmethod
|
||||
def getSiteExampleURLs(cls):
|
||||
return 'https://%s/story-name' % cls.getSiteDomain()
|
||||
|
||||
def getSiteURLPattern(self):
|
||||
return r'https?://(www|m)\.novelupdates\.cc/(?P<id>[^/]+)(/)?'
|
||||
|
|
@ -310,7 +310,7 @@ def get_valid_set_options():
|
|||
'include_chapter_banner_images':(['wattpad.com'],None,boollist),
|
||||
'dateUpdated_method':(['wattpad.com'],None,['modifyDate', 'lastPublishedPart']),
|
||||
'fix_excess_space': (['novelonlinefull.com', 'novelall.com'], ['epub', 'html'], boollist),
|
||||
'dedup_order_chapter_list': (['wuxiaworld.xyz', 'novelupdates.cc'], None, boollist),
|
||||
'dedup_order_chapter_list': (['wuxiaworld.xyz'], None, boollist),
|
||||
'show_nsfw_cover_images': (['fiction.live'], None, boollist),
|
||||
'show_timestamps': (['fiction.live'], None, boollist),
|
||||
'prepend_section_titles': (['syosetu.com','kakuyomu.jp'], None, boollist+['firstepisode']),
|
||||
|
|
|
|||
|
|
@ -4043,18 +4043,6 @@ sitetags_label:Site tags
|
|||
## Attempt to fix p and br excess from HTML in great many stories
|
||||
fix_excess_space:false
|
||||
|
||||
[www.novelupdates.cc]
|
||||
## Note that novelupdates.cc != novelupdates.com
|
||||
use_basic_cache:true
|
||||
|
||||
## There is reason to believe that novelupdates.cc may be a
|
||||
## replacement for wuxiaworld.co, but currently both exist with
|
||||
## different data.
|
||||
|
||||
## When dedup_order_chapter_list:true, use a heuristic algorithm
|
||||
## specific to novelupdates.cc order and dedup chapters.
|
||||
dedup_order_chapter_list:false
|
||||
|
||||
[www.phoenixsong.net]
|
||||
## Some sites require login (or login for some rated stories) The
|
||||
## program can prompt you, or you can save it in config. In
|
||||
|
|
|
|||
Loading…
Reference in a new issue