示例#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