Example #1
0
 def __init__(self, keyword='', mid='', uid='', page_num='', max_page_num=''):
     URLWrapper.__init__(self, URLWrapper.ADV_KEYWORD_HOT_WEIBO_COMMENT)
     self.keyword = keyword
     self.mid = mid
     self.uid = uid
     self.page_num = page_num
     self.max_page_num = max_page_num
Example #2
0
 def __init__(self, keyword, page_num):
     '''
     Notice that page_num's type is string
     '''
     URLWrapper.__init__(self, URLWrapper.ADV_KEYWORD_REAL_WEIBO)
     self.keyword = keyword
     
     self.page_num = page_num
     self.is_first_parse = True
 def __init__(self, keyword, start_time, end_time, page_num, max_page_num='1'):
     '''
     Notice that page_num's type is string
     '''
     URLWrapper.__init__(self, URLWrapper.ADV_KEYWORD_REAL_WEIBO)
     self.keyword = keyword
     self.start_time = start_time
     self.end_time = end_time
     self.page_num = page_num
     self.max_page_num = max_page_num
     self.is_first_parse = True
     self.last_mid = '0'
Example #4
0
 def __init__(self, keyword, start_time, end_time, page_num, max_page_num='1'):
     '''
     Notice that page_num's type is string
     '''
     URLWrapper.__init__(self, URLWrapper.ADV_KEYWORD_HOT_WEIBO)
     self.keyword = keyword
     self.start_time = start_time
     self.end_time = end_time
     self.page_num = page_num
     self.max_page_num = max_page_num
     self.is_first_parse = True
     self.last_mid = '0'
Example #5
0
 def __init__(self, keyword="", page_num=1):
     
     URLWrapper.__init__(self, URLWrapper.HOT_TOPIC_WEIBO)
     self.keyword = keyword
     self.page_num = page_num
Example #6
0
    def __init__(self, keyword="", page_num=1):

        URLWrapper.__init__(self, URLWrapper.HOT_TOPIC_WEIBO)
        self.keyword = keyword
        self.page_num = page_num