def Home_Menu(): process.Menu('[COLOR darkgoldenrod][I]Open Pandora\'s Box[/I][/COLOR]',Base_Pand +Decode('c3BvbmdlbWFpbi5waHA='),400,'https://s32.postimg.org/ov9s6ipf9/icon.png',FANART,'','') process.Menu('[COLOR darkgoldenrod][I]Search[/I][/COLOR]','',1,'http://icons.iconarchive.com/icons/icontexto/search/256/search-red-dark-icon.png',FANART,'','') process.Menu('[COLOR darkgoldenrod][I]Favourites[/I][/COLOR]','',10,'http://icons.iconarchive.com/icons/colorflow/colorflow_1/256/32-Favorites-icon.png',FANART,'','') xbmcplugin.setContent(addon_handle, 'movies')
def in_cat(url): html = process.OPEN_URL(url) match = re.compile('<li>.+?href="(.+?)".+?img src="(.+?)".+?rel="bookmark">(.+?)</a>.+?</li>',re.DOTALL).findall(html) for url,img,name in match: process.Menu(name,url,101,img,FANART,'','') next_page= re.compile('<span class=\'current\'.+?class="page larger" title=.+?href="(.+?)".+?</a>',re.DOTALL).findall(html) for page in next_page: process.Menu('Next Page',page,103,ICON,FANART,'','')
def vids(url): html = process.OPEN_URL(url) block = re.compile('class="wp-caption alignnone".+?src="(.+?)" alt="(.+?)".+?href="(.+?)".+?</p>',re.DOTALL).findall(html) # match = re.compile('<li>.+?href="(.+?)".+?img style=".+?alt="(.+?)".+?src="(.+?)".+?style="border-bottom.+?</li>',re.DOTALL).findall(str(block)) for img,name,url in block: name = name.replace('’','\'') process.Menu(name,url,101,img,FANART,'','') next_page= re.compile('<span class=\'current\'.+?class="page larger" title=.+?href="(.+?)".+?</a>',re.DOTALL).findall(html) for page in next_page: process.Menu('Next Page',page,100,ICON,FANART,'','')
def yd_vids(url): html = process.OPEN_URL(url) match = re.compile('article id="post-.+?img src="(.+?)" alt="(.+?)"><span class="quality">(.+?)</span><a href="(.+?)".+?class="texto">(.+?)</div>.+?</div></div>',re.DOTALL).findall(html) for img,name,rez,url,info in match: name = name.replace('’','\'') name = '%s [COLOR red](%s)[/COLOR]'%(name,rez) process.Menu(name,url,101,img,FANART,info,info) next_page= re.compile('class="pagination".+?class="current".+?href=\'(.+?)\'',re.DOTALL).findall(html) for page in next_page: process.Menu('Next Page',page,100,ICON,FANART,'','')
def porn300_channels(url): html = process.OPEN_URL(url) match = re.compile('class="grid__item grid__item--producer".+?href="(.+?)".+?image" src="(.+?)" alt="(.+?)".+?</a>.+?</li>',re.DOTALL).findall(html) for url,img,name in match: url = 'https://www.porn300.com'+url process.Menu(name,url,1009,img,FANART,'','') next_page= re.compile('class="paginador">.+?class="selected" href=".+?href="(.+?)".+?</li>',re.DOTALL).findall(html) for page in next_page: page = 'https://www.porn300.com'+page process.Menu('Next Page',page,1013,'https://www.porn300.com/android-icon-192x192.png',FANART,'','')
def watchmygf_menu(): process.Menu('Most Popular', 'https://www.watchmygf.me', 1020, logo, FANART, '', '') process.Menu('Newest', 'https://www.watchmygf.me/new/', 1020, logo, FANART, '', '') process.Menu('Top Rated', 'https://www.watchmygf.me/rated/', 1020, logo, FANART, '', '') process.Menu('Most Viewed', 'https://www.watchmygf.me/popular/', 1020, logo, FANART, '', '') # process.Menu('Categories','https://www.watchmygf.me/categories/',1023,logo,FANART,'','') process.Menu('Search', '', 1022, logo, FANART, '', '')
def Recent_Movies(): process.Menu('Pandora Recent Movies', 'http://genietvcunts.co.uk/PansBox/ORIGINS/recentmovies.php', 426, ICON, FANART, '', '') process.Menu( 'Pyramid Recent Movies', 'http://tombraiderbuilds.co.uk/addon/New%20Releaes/newreleases.txt', 1101, ICON, FANART, '', '') process.Menu( 'Supremacy Recent Movies', 'https://simplekore.com/wp-content/uploads/file-manager/steboy11/New%20Releases/New%20Releases.txt', 1101, ICON, FANART, '', '')
def Search_Menu(): process.Menu( '[COLOR darkgoldenrod][I]Search Pandoras Films[/I][/COLOR]', 'Movies', 9, 'http://icons.iconarchive.com/icons/icontexto/search/256/search-red-dark-icon.png', FANART, '', '') process.Menu( '[COLOR darkgoldenrod][I]Search Pandoras TV[/I][/COLOR]', 'TV', 9, 'http://icons.iconarchive.com/icons/icontexto/search/256/search-red-dark-icon.png', FANART, '', '') xbmcplugin.setContent(addon_handle, 'movies')
def pervclips_cats(url): html = process.OPEN_URL(url) block = re.compile('class="thumbs"(.+?)class="bottom_spot',re.DOTALL).findall(html) match = re.compile('class="thumb".+?href="(.+?)" class="img".+?src="(.+?)"(.+?)alt="(.+?)".+?<span>(.+?)</span></a>.+?</div>',re.DOTALL).findall(str(block)) alt_img = re.compile('class="thumb".+?data-original="(.+?)".+?</div>',re.DOTALL).findall(str(block)) for url,img,rest,name,vid_count in match: if '.gif' in img: img = re.compile('data-original="(.+?)".+?width=',re.DOTALL).findall(str(rest))[0] name= '%s ([COLOR dodgerblue]%s[/COLOR])'%(name,vid_count) process.Menu(name,url,1015,img,FANART,'','') else: name= '%s ([COLOR dodgerblue]%s[/COLOR])'%(name,vid_count) process.Menu(name,url,1015,img,FANART,'','')
def vex_vids(url): html = process.OPEN_URL(url) match = re.compile( 'id="mt-.+?href="(.+?)".+?img src="(.+?)" alt="(.+?)".+?class="ttx">(.+?)<div.+?class="calidad2">(.+?)</span>', re.DOTALL).findall(html) for url, img, name, info, rez in match: title = name name = name.replace('’', '\'') name = '%s [COLOR red](%s)[/COLOR]' % (name, rez) title = name process.Menu(name, url, 101, img, FANART, info, title) next_page = re.compile('class=\'current\'.+?href=\'(.+?)\'.+?</li>', re.DOTALL).findall(html) for page in next_page: process.Menu('Next Page', page, 100, ICON, FANART, '', '')
def vex_cats(url): html = process.OPEN_URL(url) match = re.compile( '<li class="cat-item cat-item.+?href="(.+?)">(.+?)</a>.+?</li>', re.DOTALL).findall(html) for url, name in match: process.Menu(name, url, 100, ICON, FANART, '', '')
def episodes(name): season_name = name.replace('Season ', '') html = requests.get(start_url).content regex_end = re.findall('<tr id="sort-control">(.+?)~#', html + '~#', re.DOTALL) for block in regex_end: tr_ = re.findall('<tr(.+?)</tr>', str(block), re.DOTALL) for tr in tr_: get_info = re.findall( '<a href="(.+?)">(.+?)</a>.+?<td class="viewers">(.+?)<.+?<div class="laughs mini">(.+?)<', str(tr), re.DOTALL) for url, name, viewers, laughs in get_info: ep_number = re.findall('(.+?) -', str(name))[0] url = start_url + url if 'k' in ep_number.lower(): season_no = '0' elif 'pilot' in ep_number.lower(): season_no = '0' elif len(ep_number) == 3: season_no = ep_number[0] elif len(ep_number) == 4: season_no = ep_number[0:2] if season_name == season_no: name = name.replace(''', '\'') process.Menu(name, url, 103, ICON, FANART, '', '')
def Music_Main(): process.Menu( 'UK Top 40', 'https://www.youtube.com/playlist?list=PLywWGW4ILrvpqqkgKRV8jpZMaUPohQipP', 10002, 'https://c1.staticflickr.com/5/4018/5122847915_c385e3e4a6.jpg', 'http://www.hutui6.com/data/out/203/67436984-uk-wallpapers.jpg', '', '')
def watchmygf_cats(url): html = process.OPEN_URL(url) match = re.compile( 'class="item-link".+?href="(.+?)".+?img.+?class="thumb".+?src="(.+?)".+?alt="(.+?)"', re.DOTALL).findall(html) for url, img, name in match: process.Menu(img, url, 1020, img, FANART, '', '')
def porn300_starz(url): html = process.OPEN_URL(url) match = re.compile('class="grid__item grid__item--pornstar-thumb".+?href="(.+?)".+?image" src=(.+?)alt="(.+?)".+?</ul>.+?</li>',re.DOTALL).findall(html) for url,img,name in match: # vid_count = vid_count.strip() url = 'https://www.porn300.com'+url process.Menu(name,url,1009,img,FANART,'','')
def porn300_cats(url): html = process.OPEN_URL(url) block = re.compile('class="grid grid--categories(.+?)id="techpump-paginator-ajax',re.DOTALL).findall(html) match = re.compile('href="(.+?)".+?gtmname="(.+?)".+?src="(.+?)".+?</li>',re.DOTALL).findall(str(block)) for url,name,img in match: url = 'https://www.porn300.com'+url process.Menu(name,url,1009,img,FANART,'','')
def previou_shows(name, url): html = process.OPEN_URL(url) block = re.compile( 'class="section-heading">Previous Episodes</h2>.+?class="pagination"', re.DOTALL).findall(html) match = re.compile( 'class="podcast-episode-container">.+?class="podcast-episode-published-date".+?href=".+?">(.+?)</a></h3>.+?<p>(.+?)<span class="toggleable-podcast-episode-body hidden">(.+?)</span>.+?source src="(.+?)">', re.DOTALL).findall(str(block)) for name, desc1, desc2, url in match: description = desc1 + desc2 name = name.replace('•', ':') name = name.replace('BiggerPockets Podcast ', '') name = name.replace('\\xe2\\x80\\x9c', '') name = name.replace('\\xe2\\x80\\x9d', '') name = name.replace('\\xe2\\x80\\x94', ' ') Play(name, url, 20, ICON, FANART, description, '') next = re.compile( 'class="pagination".+?class="next-page"><a class="next-page".+?href="(.+?)">' ).findall(html) for item in next: print item url = 'https://www.biggerpockets.com' + item process.Menu( 'Next Page', url, 106, 'https://s3.amazonaws.com/peoplepng/wp-content/uploads/2018/07/15065756/Next-Page-PNG-High-Quality-Image.png', FANART, '', '')
def TV_Calender_Prog(extra): match = re.compile( '<span class="show">.+?<a href=".+?">(.+?)</a>:.+?</span>.+?<a href=".+?" title=".+?">(.+?)</a>', re.DOTALL).findall(str(extra)) for prog, ep in match: process.Menu(prog + ' - Season ' + ep.replace('x', ' Episode '), '', 8, '', '', '', prog)
def porn300_channels(url): html = process.OPEN_URL(url) match = re.compile( 'class="grid__item grid__item--producer".+?href="(.+?)".+?image" src="(.+?)" alt="(.+?)".+?</a>.+?</li>', re.DOTALL).findall(html) for url, img, name in match: url = 'https://www.porn300.com' + url process.Menu(name, url, 1009, img, FANART, '', '') next_page = re.compile( 'class="paginador">.+?class="selected" href=".+?href="(.+?)".+?</li>', re.DOTALL).findall(html) for page in next_page: page = 'https://www.porn300.com' + page process.Menu( '[COLOR palegreen]Next Page[/COLOR]', page, 1013, 'https://raw.githubusercontent.com/CellarDoorTV/CDTV_DOMINUS_ICONS/master/artwork/mainart/module_icon/next.png', FANART, '', '')
def genre(): html = process.OPEN_URL(base) match = re.compile('<span>Genres</span>.+?<ul class="reset">(.+?)</div>', re.DOTALL).findall(html) match2 = re.compile('href="(.+?)">(.+?)</a>', re.DOTALL).findall(str(match)) for url, name in match2: process.Menu(name, url, 100, ICON, FANART, '', '')
def release(): html = process.OPEN_URL(base) match = re.compile('<span>Years</span>(.+?)</div>', re.DOTALL).findall(html) match2 = re.compile('href="(.+?)">(.+?)</a>', re.DOTALL).findall(str(match)) for url, name in match2: process.Menu(name, url, 100, ICON, FANART, '', '')
def mline_vids(url): html = process.OPEN_URL(url) match = re.compile( '<div class="poster item-flip">.+?href="(.+?)".+?<img src="(.+?)".+?<div class="title">.+?>(.+?)</a>.+?<div class="shortStory">(.+?)</div>', re.DOTALL).findall(html) Next = re.compile('<a class="pagecurrent".+?href=(.+?) onClick=', re.DOTALL).findall(html) for url, img, name, desc in match: if 'Season' in name: process.Menu(name.replace('&', '&'), url, 107, img, FANART, desc, '') else: process.Menu(name.replace('&', '&'), url, 101, img, FANART, desc, '') for n in Next: process.Menu('Next Page', n, 100, ICON, FANART, '', '')
def mst3k_season(url): html = requests.get(url).content block = re.compile('colspan="4" class="season(.+?)</body>', re.DOTALL).findall(html) grab_S = re.compile('_title">.+?(\d+).+?</th>', re.DOTALL).findall(str(block)) for season in grab_S: season = 'Season ' + season process.Menu(season, '', 101, ICON, FANART, '', '')
def porn_300_menu(): process.Menu('Top Rated','https://www.porn300.com/top-rated/',1009,'https://www.porn300.com/android-icon-192x192.png',FANART,'','') process.Menu('Most Viewed','https://www.porn300.com/most-viewed/',1009,'https://www.porn300.com/android-icon-192x192.png',FANART,'','') process.Menu('Starz','https://www.porn300.com/pornstars/',1012,'https://www.porn300.com/android-icon-192x192.png',FANART,'','') process.Menu('VR Vidz','https://www.porn300.com/channel/vr-bangers/',1009,'https://www.porn300.com/android-icon-192x192.png',FANART,'','') process.Menu('Categories','https://www.porn300.com',1010,'https://www.porn300.com/android-icon-192x192.png',FANART,'','') process.Menu('Channels','https://www.porn300.com/channels/',1013,'https://www.porn300.com/android-icon-192x192.png',FANART,'','') process.Menu('Search','',1011,'https://www.porn300.com/android-icon-192x192.png',FANART,'','')
def Pandoras_Box(url): List = [] html = process.OPEN_URL(url) match = re.compile( '<item>.+?<title>(.+?)</title>.+?<description>(.+?)</description>.+?<link>(.+?)</link>.+?<thumbnail>(.+?)</thumbnail>.+?<fanart>(.+?)</fanart>.+?</item>', re.DOTALL).findall(html) for name, desc, url, img, fanart in match: if 'php' in url: if name == '[COLOR darkgoldenrod][I]Movies[/I][/COLOR]': process.Menu(name, url, 3, img, fanart, desc, '') elif name == '[COLOR darkgoldenrod][I]TV Shows[/I][/COLOR]': process.Menu(name, url, 2, img, fanart, desc, '') elif name == '[COLOR darkgoldenrod][I]Recently Added TV[/I][/COLOR]': process.Menu(name, url, 19, img, fanart, desc, '') elif name == '[COLOR darkgoldenrod][I]Recently Added Movies[/I][/COLOR]': process.Menu(name, url, 19, img, fanart, desc, '') else: process.Menu(name, url, 400, img, fanart, desc, '') match2 = re.compile( '<a href="(.+?)" target="_blank"><img src="(.+?)" style="max-width:200px;" /><description = "(.+?)" /><background = "(.+?)" </background></a><br><b>(.+?)</b>' ).findall(html) for url, iconimage, desc, fanart, name in match2: if 'php' in url: process.Menu(name, url.replace(' ', '%20'), 400, iconimage, fanart, desc, '') elif not 'http' in url: if len(url) == 11: url = 'plugin://plugin.video.youtube/play/?video_id=' + url process.Play(name, url, 401, iconimage, fanart, desc, '') elif 'utube' in url and 'playlist' in url: process.Menu(name, url, 18, iconimage, fanart, desc, '') elif 'sportsdevil:' in url: url = 'plugin://plugin.video.SportsDevil/?mode=1&item=catcher%3dstreams%26url=' + url.replace( 'sportsdevil:', '') process.Play(name, url, 401, iconimage, fanart, desc, '') elif 'f4mtester:' in url: if '.f4m' in i.string: url = 'plugin://plugin.video.f4mTester/?url=' + url elif '.m3u8' in i.string: url = 'plugin://plugin.video.f4mTester/?url=' + url + '&streamtype=HLS' else: url = 'plugin://plugin.video.f4mTester/?url=' + url + '&streamtype=SIMPLE' process.Play(name, url, 401, iconimage, fanart, desc, '') elif 'sublink:' in url: process.Play(name, url, 15, iconimage, fanart, desc, '') elif name == '[COLOR darkgoldenrod][I]Recently Added TV[/I][/COLOR]': process.Play(name, url.replace(' ', '%20'), 401, iconimage, fanart, desc, '') elif name == '[COLOR darkgoldenrod][I]Recently Added Movies[/I][/COLOR]': process.Play(name, url.replace(' ', '%20'), 401, iconimage, fanart, desc, '') else: process.Play(name, url.replace(' ', '%20'), 401, iconimage, fanart, desc, '') xbmcplugin.addSortMethod(addon_handle, xbmcplugin.SORT_METHOD_TITLE) xbmcplugin.setContent(addon_handle, 'movies')
def genre(url): html = requests.get(genre_url).content block = re.compile('<tr>.+?class="season_title">(.+?)</th>.+?</tr>', re.DOTALL).findall(html) for genre in block: genre = genre.replace(' ', '') genrez = genre.replace('\n', '') genrez = genre.replace(' ', '') genrez = genre.replace('\n', '') process.Menu(genrez, genre_url, 106, ICON, FANART, '', '')
def TV_Calender_Day(url): from datetime import datetime today = datetime.now().strftime("%d") this_month = datetime.now().strftime("%m") this_year = datetime.now().strftime("%y") todays_number = (int(this_year) * 100) + (int(this_month) * 31) + (int(today)) HTML = process.OPEN_URL(url) match = re.compile( '<span class="dayofmonth">.+?<span class=".+?">(.+?)</span>(.+?)</span>(.+?)</div>', re.DOTALL).findall(HTML) for Day_Month, Date, Block in match: Date = Date.replace('\n', '').replace(' ', '').replace(' ', '') Day_Month = Day_Month.replace('\n', '').replace(' ', '').replace(' ', '') Final_Name = Day_Month.replace(',', ' ' + Date + ' ') split_month = Day_Month + '>' Month_split = re.compile(', (.+?)>').findall(str(split_month)) for item in Month_split: month_one = item.replace('January', '1').replace('February', '2').replace( 'March', '3').replace('April', '4').replace( 'May', '5').replace('June', '6') month = month_one.replace('July', '7').replace( 'August', '8').replace('September', '9').replace( 'October', '10').replace('November', '11').replace('December', '12') show_day = Date.replace('st', '').replace('th', '').replace('nd', '').replace('rd', '') shows_number = (int(this_year) * 100) + (int(month) * 31) + (int(show_day)) if shows_number >= todays_number: process.Menu( '[COLORred]*' + '[COLORwhite]' + Final_Name + '[/COLOR]', '', 7, '', '', '', Block) else: process.Menu( '[COLORgreen]*' + '[COLORwhite]' + Final_Name + '[/COLOR]', '', 7, '', '', '', Block)
def porn300_vids(url): html = process.OPEN_URL(url) match = re.compile('<li class="grid__item.+?href="(.+?)".+?src="(.+?)" alt="(.+?)".+?</ul>.+?</li>',re.DOTALL).findall(html) for url,img,name in match: name = name.replace(''','\'') url = 'https://www.porn300.com'+url process.PLAY(name,url,1008,img,FANART,'','') next_page= re.compile('<li class="pagination_item" itemprop="url"><a class="btn btn-primary--light btn-pagination" itemprop="name" href="(.+?)" title="Next">',re.DOTALL).findall(html) for page in next_page: page = 'https://www.porn300.com'+page process.Menu('Next Page',page,1009,'https://www.porn300.com/android-icon-192x192.png',FANART,'','')
def laughs_(url): html = requests.get(url).content block = re.compile('class="sort">(.+?)</html>', re.DOTALL).findall(html) grab_S = re.compile( '<tr >.+?href="(.+?)">(.+?)</a>.+?class="laughs mini">(.+?)<div.+?</tr>', re.DOTALL).findall(str(block)) for link, name, laughs in grab_S: link = start_url + link name = name.replace(''', '\'') name = '%s [COLOR dodgerblue][I]Laughs %s[/I][/COLOR]' % (name, laughs) process.Menu(name, link, 103, ICON, FANART, '', '')
def Origin_Main(): process.Menu('Movies', '', 200, ORIGIN_ICON, ORIGIN_FANART, '', '') process.Menu('TV Shows', '', 300, ORIGIN_ICON, ORIGIN_FANART, '', '') process.Menu('Comedy', '', 100, ORIGIN_ICON, ORIGIN_FANART, '', '') process.Menu('Football Replays + Highlights', '', 400, ORIGIN_ICON, ORIGIN_FANART, '', '') process.Menu('Cartoons', '', 800, ORIGIN_ICON, ORIGIN_FANART, '', '') process.Menu('Music', '', 2, ORIGIN_ICON, ORIGIN_FANART, '', '') if Adult_Pass == 'forefingeroffury': process.Menu('P**n', '', 700, ORIGIN_ICON, ORIGIN_FANART, '', '')