def ScrapData(): GetBody = soup.find_all('div', {'class': 'video_container b_10 box'}) for item in GetBody: VidCells = soup.find_all('div', {'class': 'cell'}) for item in VidCells: Get_Video_Content = soup.find_all('div', {'class': 'thumb'}) for item in Get_Video_Content: Get_Raw_Data = soup.find_all('a') for link in Get_Raw_Data: Title = link.get("title") Video_Url = link.get('href') if Title != None: modules.AddTestDir(Title, GenVidBaseUrl + Video_Url, 28, '', '', isFolder=False) modules.AUTO_VIEW('518')
def AllLiveTV(url): parser.Category('Entertainment', url) parser.Category('Kids', url) parser.Category('Music', url) parser.Category('Movies', url) parser.Category('Sports', url) parser.Category('News', url) parser.Category('Radio', url) parser.Category('Other', url) modules.AUTO_VIEW('504')
def MOVIES_OD(): try: modules.addDir( 'All Movies', 'http://entertainmentlists.x10host.com/Lists/?mode=Movies&list=GetGenres', 39, ART + 'LiveTv.png', '', '') except: pass try: parser.MovieCategories('mode=Movies&list=GetGenres') except: pass modules.AUTO_VIEW('500')
def Adult_OD(): modules.addDir('Adult OD Test', '', 2, ART + 'MoviesOD.png', FANART, '') modules.AUTO_VIEW('500')
def YT_Match_Of_The_Day(): url = BaseURL + YTMatchOfTheDay modules.TestMenuDIR(url) modules.AUTO_VIEW('518')
def NRL_YT_RP(): url = BaseURL + NrlYTGames modules.TestMenuDIR(url) modules.AUTO_VIEW('518')
def TwentyFour_Seven(): url = BaseURL + TwentyFS modules.TestMenuDIR(url) modules.AUTO_VIEW('518')
def watchSimp(): url = BaseURL + WSimpsons modules.TestMenuDIR2(url) modules.AUTO_VIEW('518')
def TV_SHOWS(): modules.addDir('Watch Simpsons', '', 32, ART + 'Music.png', FANART, '') modules.AUTO_VIEW('518')
def Adult_Live(): modules.addDir('Adult Live TEST', '', 2, ART + 'UKTop100.png', FANART, '') modules.AUTO_VIEW('500')
def Music(): url = 'http://community-links.googlecode.com/svn/trunk/MrCuddlesTVLinks.xml' modules.TestMenuDIR(url) modules.addDir('MTV TEST', '', 2, ART + 'UKTop100.png', FANART, '') modules.AUTO_VIEW('500')
def LiveSport(): url = BaseURL + LSports modules.TestMenuDIR(url) modules.AUTO_VIEW('518')
def LiveKids(): url = BaseURL + LKids modules.TestMenuDIR(url) modules.AUTO_VIEW('518')
def LiveMovies(): url = BaseURL + LMovies modules.TestMenuDIR(url) modules.AUTO_VIEW('518')
def LiveEntertainment(): url = BaseURL + LEntertainment modules.TestMenuDIR(url) modules.AUTO_VIEW('518')