Example #1
0
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')
Example #2
0
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')
Example #3
0
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')
Example #4
0
def Adult_OD():
    modules.addDir('Adult OD Test', '', 2, ART + 'MoviesOD.png', FANART, '')
    modules.AUTO_VIEW('500')
Example #5
0
def YT_Match_Of_The_Day():
    url = BaseURL + YTMatchOfTheDay
    modules.TestMenuDIR(url)
    modules.AUTO_VIEW('518')
Example #6
0
def NRL_YT_RP():
    url = BaseURL + NrlYTGames
    modules.TestMenuDIR(url)
    modules.AUTO_VIEW('518')
Example #7
0
def TwentyFour_Seven():
    url = BaseURL + TwentyFS
    modules.TestMenuDIR(url)
    modules.AUTO_VIEW('518')
Example #8
0
def watchSimp():
    url = BaseURL + WSimpsons
    modules.TestMenuDIR2(url)
    modules.AUTO_VIEW('518')
Example #9
0
def TV_SHOWS():
    modules.addDir('Watch Simpsons', '', 32, ART + 'Music.png', FANART, '')
    modules.AUTO_VIEW('518')
Example #10
0
def Adult_Live():
    modules.addDir('Adult Live TEST', '', 2, ART + 'UKTop100.png', FANART, '')
    modules.AUTO_VIEW('500')
Example #11
0
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')
Example #12
0
def LiveSport():
    url = BaseURL + LSports
    modules.TestMenuDIR(url)
    modules.AUTO_VIEW('518')
Example #13
0
def LiveKids():
    url = BaseURL + LKids
    modules.TestMenuDIR(url)
    modules.AUTO_VIEW('518')
Example #14
0
def LiveMovies():
    url = BaseURL + LMovies
    modules.TestMenuDIR(url)
    modules.AUTO_VIEW('518')
Example #15
0
def LiveEntertainment():
    url = BaseURL + LEntertainment
    modules.TestMenuDIR(url)
    modules.AUTO_VIEW('518')