def getStoryAndMp3Url(self): page_list = self.getPageUrl() method = GetUrlMethod() dict = method.getStoryAndMP3Url(page_list, 'video') story_list = dict['story'] mp3_list = dict['mp3'] # print 3, len(story_list), story_list # print 3, len(mp3_list), mp3_list return dict
def getStoryAndMp3UrlAndTitle(self): page_list = self.getPageUrl() method = GetUrlMethod() dict = method.getStoryAndMP3UrlAndTitle(page_list, 'video') story_list = dict['story'] mp3_list = dict['mp3'] # print 3, len(story_list), story_list # print 3, len(mp3_list), mp3_list return dict
def getStoryAndMp3UrlAndTitle(self): page_list = self.getPageUrl() method = GetUrlMethod() dict = method.getStoryAndMP3UrlAndTitle(page_list, 'menu') # story_list = dict['story'] # mp3_list = dict['mp3'] # title_list = dict['title'] # print 3, len(story_list),story_list # print 3, len(mp3_list),mp3_list # print 3, len(title_list),title_list return dict
def getPageUrl(self): startUrl = 'http://www.kekenet.com/video/movie/piano/' method = GetUrlMethod() page_list = method.getPageUrl(0, startUrl) # print 1, page_list return page_list
def getPageUrl(self): startUrl = 'http://www.kekenet.com/menu/13465/' method = GetUrlMethod() page_list = method.getPageUrl(5, startUrl) # print 1,page_list return page_list
def getPageUrl(self): startUrl = 'http://www.kekenet.com/video/movie/piano/' method = GetUrlMethod() page_list = method.getPageUrl(3, startUrl) # print 1, page_list return page_list