def MOVIEDCINDEX (url): #if settings.getSetting('tmovies_account') == 'true': #net.set_cookies(cookiejar) link = net.http_GET(url).content match=re.compile('<img src="(.+?)" height=".+?" width=".+?" alt=".+?" border=".+?" /></a></div><div class=".+?"><div class=".+?"><a href="(.+?)" title=".+? >>> (.+?)">').findall(link) if len(match) > 0: for sitethumb,url,name in match: matchyear=re.compile('Release:</td><td class="res">.+?,(.+?)</td>').findall(link) for year in matchyear: data = main.GRABMETA(name,year) thumb = data['cover_url'] yeargrab = data['year'] year = str(yeargrab) if thumb == '': thumb = sitethumb favtype = 'movie' main.addMDCDir(name+ ' (' + year +')',base_url + url,'moviedclinkpage',thumb,data,favtype) #nmatch=re.compile('<span class="currentpage">.+?</span></li><li><a href="(.+?)">(.+?)</a></li><li>').findall(link) #if len(nmatch) > 0: #for pageurl,pageno in nmatch: #main.addMDCDir('Page'+ pageno,basetv_url + pageurl,'movieindex',artwork +'nextpage.jpg','','dir') main.AUTO_VIEW('movies')
def SGMOVIEINDEXSEC(url): genre_url = "http://seriesgate.me/movies/browse/#!All/All/" link = net.http_GET(url).content match = re.compile('"each_genre" id = "g_.+?" style = "">(.+?)</div>').findall(link) for genre in match: favtype = "movie" main.addMDCDir(genre, genre_url + url, "sgmovieindex", "", "", favtype) main.AUTO_VIEW("movies")
def SGMOVIEINDEX (url): link = net.http_GET(url).content match=re.compile('"caption_title"><a href = "(.+?)" >(.+?)</a></div><div class = "caption_imdb">(.+?)</div><div class = "caption_date_m">(.+?) </div>').findall(link) if len(match) > 0: for url,name,rate,year in match: data = main.GRABMETA(name,year) thumb = data['cover_url'] yeargrab = data['year'] year = str(yeargrab) if thumb == '': thumb = '' favtype = 'movie' main.addMDCDir(name+ ' (' + year +')',base_url + url,'sgmovielinkpage',thumb,data,favtype) main.AUTO_VIEW('movies')
def SGMOVIECATS(): main.addMDCDir('All SeriesGate Movies','http://seriesgate.me/movies/browse/','sgmovieindex',artwork + 'all.jpg','','dir') #main.addMDCDir('Featured Movies','http://seriesgate.me/movies/','sgmovieindex',artwork + 'featured.jpg','','dir') main.addMDCDir('Latest Movies','http://seriesgate.me/movies/latest/','sgmovieindex',artwork + 'latest.jpg','','dir') main.addMDCDir('Popular Movies','http://seriesgate.me/movies/popular/','sgmovieindex',artwork + 'popular.jpg','','dir') main.addMDCDir('By Genre','http://seriesgate.me/movies/browse/','sgmovieindexsec',artwork + 'genre.jpg','','dir') #main.addMDCDir('[COLOR gold]Search SeriesGate Movies[/COLOR]','http://www.moviesdatacenter.com/find/within-movies/','searchsgmovie',artwork + 'search.jpg','','dir') main.AUTO_VIEW('')
def SGMOVIESEARCH(url): link = net.http_GET(url).content match=re.compile('<img src="(.+?)" height=".+?" width=".+?" alt="Watch Movies: .+?" border=".+?" /></a></div><div class=".+?"><div class="title" style="display:inline-block;">.+? <a href="(.+?)" title=".+? >>> (.+?)">').findall(link) if len(match) > 0: for sitethumb,url,name in match: matchyear=re.compile('>Release:</td><td class="res" style="padding:2px 0 6px 0;">.+?,(.+?)</td>').findall(link) for year in matchyear: data = main.GRABMETA(name,year) thumb = data['cover_url'] yeargrab = data['year'] year = str(yeargrab) if thumb == '': thumb = sitethumb favtype = 'movie' main.addMDCDir(name+ ' (' + year +')',base_url + url,'sgmovielinkpage',thumb,data,favtype) main.AUTO_VIEW('movies')
def SGMOVIEINDEX(url): link = net.http_GET(url).content match = re.compile( '"caption_title"><a href = "(.+?)" >(.+?)</a></div><div class = "caption_imdb">(.+?)</div><div class = "caption_date_m">(.+?) </div>' ).findall(link) if len(match) > 0: for url, name, rate, year in match: data = main.GRABMETA(name, year) thumb = data["cover_url"] yeargrab = data["year"] year = str(yeargrab) if thumb == "": thumb = "" favtype = "movie" main.addMDCDir(name + " (" + year + ")", base_url + url, "sgmovielinkpage", thumb, data, favtype) main.AUTO_VIEW("movies")
def MOVIEDCCATS(): main.addMDCDir('Featured DataCenter Movies','http://www.moviesdatacenter.ch/','moviedcindex',artwork + 'featured.jpg','','dir') #main.addMDCDir('Latest DataCenter Movies','http://www.moviesdatacenter.ch/Latest_Movies.html','moviedcindex',artwork + 'latest.jpg','','dir') #main.addMDCDir('Latest DataCenter Movies','http://www.moviesdatacenter.ch/Latest_Movies.html','moviedcindex',artwork + 'latest.jpg','','dir') main.addMDCDir('Top 10 DataCenter Movies','http://www.moviesdatacenter.com/IMDB_TopRated_Movies.html','moviedcindexsec',artwork + 'rating.jpg','','dir') main.addMDCDir('[COLOR gold]Search DataCenter Movies[/COLOR]','http://www.moviesdatacenter.com/find/within-movies/','searchmoviedc',artwork + 'search.jpg','','dir') main.AUTO_VIEW('')
def SGMOVIECATS(): main.addMDCDir( "All SeriesGate Movies", "http://seriesgate.me/movies/browse/", "sgmovieindex", artwork + "all.jpg", "", "dir" ) # main.addMDCDir('Featured Movies','http://seriesgate.me/movies/','sgmovieindex',artwork + 'featured.jpg','','dir') main.addMDCDir( "Latest Movies", "http://seriesgate.me/movies/latest/", "sgmovieindex", artwork + "latest.jpg", "", "dir" ) main.addMDCDir( "Popular Movies", "http://seriesgate.me/movies/popular/", "sgmovieindex", artwork + "popular.jpg", "", "dir" ) main.addMDCDir( "By Genre", "http://seriesgate.me/movies/browse/", "sgmovieindexsec", artwork + "genre.jpg", "", "dir" ) # main.addMDCDir('[COLOR gold]Search SeriesGate Movies[/COLOR]','http://www.moviesdatacenter.com/find/within-movies/','searchsgmovie',artwork + 'search.jpg','','dir') main.AUTO_VIEW("")
def AFDAHCATS(): main.addMDCDir('All Movies','http://afdah.com/category/watch-movies/','afdahindex',artwork + 'allmovies.jpg','','dir') main.addMDCDir('Featured Movies','http://afdah.com/category/featured/','afdahindex',artwork + 'featured.jpg','','dir') main.addMDCDir('Cinema Movies *Mostly Cams*','http://afdah.com/category/cinema/','afdahindex',artwork + 'cinema.jpg','','dir') main.addMDCDir('HD Movies','http://afdah.com/category/hd/','afdahindex',artwork + 'hdmovies.jpg','','dir') main.addMDCDir('Movies by Year','http://afdah.com/years/','afdahindexsec',artwork + 'years.jpg','','dir') main.addMDCDir('Movies by Country','http://afdah.com/country/','afdahindexsec',artwork + 'country.jpg','','dir') main.addMDCDir('Movies by Language','http://afdah.com/language/','afdahindexsec',artwork + 'language.jpg','','dir') main.addMDCDir('Movies by Genre','http://afdah.com/','afdahgenre',artwork + 'genre.jpg','','dir') main.addMDCDir('Search Movies','http://afdah.com/?s=','searchmovieafdah',artwork + 'search.jpg','','dir') main.AUTO_VIEW('')