예제 #1
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid), '.novel_content',
                      utils.base_to_url(INTRO_URL, tid), '#description1',
                      chap_type=serial.ChapterType.path,
                      chap_sel='.novel li',
                      tid=tid)
     self.encoding = config.BIG
예제 #2
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid), '#content',
                      utils.base_to_url(INTRO_URL, tid), '.intro',
                      chap_type=serial.ChapterType.path,
                      chap_sel='.liebiao li',
                      tid=tid)
     self.encoding = config.GB
예제 #3
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '.yd_text2',
                      utils.base_to_url(INTRO_URL, tid),
                      '.jianjie',
                      tid=tid)
     self.encoding = config.GB
예제 #4
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      intro_url=utils.base_to_url(INTRO_URL, tid),
                      tid=tid)
     self.encoding = config.GB
     self.tool = PiaotianTool
     self.page = PiaotianPage
     self.intro_page = PiaotianIntroPage
예제 #5
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid), '.text',
                      utils.base_to_url(INTRO_URL, tid), '.info .it:first',
                      chap_type=serial.ChapterType.last,
                      chap_sel='.list li',
                      tid=tid)
     self.encoding = config.GB
     self.tool = Qbxs8Tool
예제 #6
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid), '#content',
                      utils.base_to_url(INTRO_URL, tid), '.intro',
                      chap_type=serial.ChapterType.last,
                      chap_sel='.bookinfo_td td',
                      tid=tid)
     self.encoding = config.GB
     self.tool = Lwxs520Tool
예제 #7
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '#content',
                      utils.base_to_url(INTRO_URL, tid),
                      '.bintro',
                      chap_type=serial.ChapterType.last,
                      chap_sel='td.dccss',
                      tid=tid)
     self.encoding = config.GB
예제 #8
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '.yd_text2',
                      utils.base_to_url(INTRO_URL, tid),
                      '.bookintro',
                      chap_type=serial.ChapterType.last,
                      chap_sel='dd',
                      tid=tid)
     self.encoding = config.GB
예제 #9
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '#htmlContent',
                      utils.base_to_url(INTRO_URL, tid),
                      'h3',
                      chap_type=serial.ChapterType.last,
                      chap_sel='#htmlList li',
                      tid=tid)
     self.encoding = config.GB
예제 #10
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '.content span',
                      utils.base_to_url(INTRO_URL, tid),
                      '.bookintro',
                      chap_type=serial.ChapterType.last,
                      chap_sel='.list_Content li',
                      tid=tid)
     self.encoding = config.GB
예제 #11
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '#content',
                      utils.base_to_url(INTRO_URL, tid),
                      '.intro',
                      chap_type=serial.ChapterType.last,
                      chap_sel='.chapterlist li',
                      tid=tid)
     self.encoding = config.GB
     self.tool = FeizwTool
예제 #12
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '#texts',
                      utils.base_to_url(INTRO_URL, tid),
                      '#b_info',
                      chap_type=serial.ChapterType.last,
                      chap_sel='#BookText li',
                      tid=tid)
     self.encoding = config.GB
     self.tool = Zhaishu8Tool
예제 #13
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '#content',
                      utils.base_to_url(INTRO_URL, tid),
                      '#desCon1',
                      chap_type=serial.ChapterType.last,
                      chap_sel='#readtext td',
                      tid=tid)
     self.encoding = config.GB
     self.tool = YqhhyTool
예제 #14
0
    def __init__(self, topic_id, author_only=True):
        super().__init__(utils.base_to_url(BASE_URL, topic_id),
                         tid=topic_id,
                         cache=True)
        self.author_only = author_only
        self.comments_url = utils.base_to_url(COMMENTS_URL, topic_id)

        self.req = self.session = None
        self.use_exist_session = False
        self.author_id = self.content = ''
        self.num_comments = 0
예제 #15
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid), '#msgdiv',
                      intro_sel='.noveldes',
                      chap_type=serial.ChapterType.path,
                      chap_sel='.c_chapter td',
                      tid=tid)
     self.tool = IcnspTool
예제 #16
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '#content',
                      intro_sel='#description',
                      chap_type=serial.ChapterType.path,
                      chap_sel='tbody td',
                      tid=tid)
예제 #17
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '#content',
                      chap_type=serial.ChapterType.whole,
                      chap_sel='.index li',
                      tid=tid)
     self.encoding = config.GB
예제 #18
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '.read-content',
                      intro_sel='.intro',
                      chap_type=serial.ChapterType.noscheme,
                      chap_sel='.volume-wrap li',
                      tid=tid)
예제 #19
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '.archiver_postbody',
                      title_type=single.TitleType.selector,
                      title_sel='h2',
                      tid=tid)
     self.encoding = config.GB
예제 #20
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '#content',
                      chap_type=serial.ChapterType.path,
                      chap_sel='dd',
                      intro_sel='#intro p:first',
                      tid=tid)
예제 #21
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '.noveltext',
                      intro_sel='#novelintro',
                      tid=tid)
     self.encoding = config.GB
     self.page = JjwxcPage
예제 #22
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid), '#content:eq(1)',
                      intro_sel='#intro',
                      chap_type=serial.ChapterType.path,
                      chap_sel='#list dd',
                      tid=tid)
     self.encoding = config.GB
예제 #23
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '#content',
                      intro_sel='#bookintroinner',
                      chap_type=serial.ChapterType.path,
                      chap_sel='#readlist li',
                      tid=tid)
예제 #24
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '.showtxt',
                      chap_type=serial.ChapterType.path,
                      chap_sel='.list_chapter li',
                      tid=tid)
     self.encoding = config.GB
예제 #25
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid), '#ccontent',
                      intro_sel='div.gray',
                      chap_type=serial.ChapterType.last,
                      chap_sel='td.ccss',
                      tid=tid)
     self.encoding = config.GB
예제 #26
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '#content',
                      chap_type=serial.ChapterType.path,
                      chap_sel='#chapters li',
                      tid=tid)
     self.tool = YfzwwTool
예제 #27
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid), '#content',
                      chap_type=serial.ChapterType.last,
                      chap_sel='dd',
                      tid=tid)
     self.encoding = config.GB
     self.tool = BiqugexTool
예제 #28
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '#content',
                      intro_sel='.intro',
                      tid=tid)
     self.encoding = config.GB
     self.tool = WxguanTool
예제 #29
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '.content',
                      title_type=single.TitleType.selector,
                      title_sel='h1',
                      tid=tid)
     self.tool = Xsg915Tool
예제 #30
0
 def __init__(self, tid):
     super().__init__(utils.base_to_url(BASE_URL, tid),
                      '#TXT',
                      intro_sel='.introtxt',
                      tid=tid)
     self.encoding = config.GB
     self.tool = Yq33Tool