Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
ó
Eh-_c@s[ddlmZddlmZmZddlmZmZm	Z	ddl
mZddlZddl
Z
yddlZWnek
r™ddlZnXddlmZmZeddd	ded
ƒfdedƒfd
edƒfdedƒfdedƒfgƒejj_d„Zd„Zdefd„ƒYZdefd„ƒYZdS(iÿÿÿÿ(tTranslateTXT(t	CHostBasetCBaseHostClass(tprintDBGtprintExctbyteify(tCParsingHelperN(tconfigtConfigSelectiontdefaulttdatetchoicestLastesttviewssMost viewedtdureetLongesttrates	Top ratedtrandomtRandomcCs
g}|S(N((t
optionList((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pyt
GetConfigListscCsdS(Nshttps://tainiesonline.org((((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pytgettytulst
tainiesonlinecBs”eZidd6dd6ZeeƒZejidd6ƒdZdZidd	6dd
6dd6d
d6d
d6idd	6dd
6dd6dd6d
d6idd	6dd
6dd6dd6d
d6idd	6edƒd6e	d6idd	6edƒd6gZ
d„Zd„Zd„Z
dd „Zd!„Zd"„Zd#d$„Zd%„Zd&„Zd'„Zd(„Zd)„Zd*„Zd+„Zd,„Zd-d
d
d.„ZRS(/sMozilla/5.0s
User-Agents	text/htmltAccepttXMLHttpRequestsX-Requested-Withshttps://tainiesonline.orgs?s=tmoviestcategorytmodesΤαινίεςttitletturlticont
list_itemstseriessΞένες σειρέςs*https://tainiesonline.org/katigoria/seirest
collectionsΣυλλογέςs.https://tainiesonline.org/katigoria/collectiontsearchtSearchtsearch_itemtsearch_historysSearch historycCsetj|idd6dd6ƒd|_itd6td6td6|jd	6|_i|_i|_dS(
Nstainiesonline.tvthistorystainiesonline.cookietcookiesFhttps://tainiesonline.org/wp-content/uploads/2019/03/tainiesonLOGO.pngt
use_cookietload_cookietsave_cookiet
cookiefile(Rt__init__tDEFAULT_ICON_URLtTruetCOOKIE_FILEt
defaultParamstcacheFilterst
cacheLinks(tself((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pyR-9s	
	cCs]dt|ƒkr2|jdƒr2|j|}n|jjdƒsY|jddƒ}n|S(Nithttpshttps://shttp://(tlent
startswithtMAIN_URLtreplace(R4R((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pyt_getFullUrlDs
"cCs1|jddƒ}|jddƒ}tj|ƒS(Ns&nbsp;t s&nbsp(R9RtcleanHtmlStr(R4tdata((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pyR<KstdircCsktdƒxZ|D]R}t|ƒ}|j|ƒd|d<|dkrV|j|ƒq|j|ƒqWdS(Nstainiesonline.listsTabRtnameR>(RtdicttupdatetaddDirtaddVideo(R4ttabtcItemttypetitemtparams((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pytlistsTabPs



c	Csítdƒi|_|jj|jƒ\}}|s8dSidd6dd6idd6dd6idd6d	d6id
d6dd6idd6d
d6idd6dd6idd6|jdƒd6g}|jjj|ddtƒd}t	j
dƒj|ƒ}xu|D]m}|djdƒrqÿn|djdƒr7qÿn|j
i|j|dƒd6|j|dƒd6ƒqÿW|j
idd6|jdƒd6ƒ|j
idd6|jdƒd6ƒ|j
idd6|jdƒd6ƒ||jd<dS( Nstainiesonline.fillCategoriest2020Rs6https://tainiesonline.org/katigoria/tainiesonline/2020Rt2019s6https://tainiesonline.org/katigoria/tainiesonline/2019t2018s6https://tainiesonline.org/katigoria/tainiesonline/2018t2017s6https://tainiesonline.org/katigoria/tainiesonline/2017t2016s(https://tainiesonline.org/katigoria/2016s	2013-2015s,https://tainiesonline.org/katigoria/new-goods!Ελληνικές Ταινίεςscategory/ελλ-ταινίες/s>Ταινιες<s</ul>isa[^>]*?href=(.+?)>*?>([^<]+?)<iscollection/sπροσεχώς/s9Κινούμενα Σχέδια (με μετάφραση)skatigoria/κιν-σχέδια/s;Κινούμενα Σχέδια (με υπότιτλους)s#katigoria/κιν-σχέδια-subs/sAnime Moviesskatigoria/animemovies/R(RR2tcmtgetPageR8R:tphtgetDataBeetwenMarkerstFalsetretcompiletfindalltendswithtappendR<(R4tstsR=t	moviesTabttmpRG((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pytfillCategories[sF
	






"
cCs_tdƒi|jkr&|jƒnt|ƒ}||d<|j|jjdgƒ|ƒdS(Ns tainiesonline.listMoviesCategoryRR(RR2R\R@RItget(R4REtnextCategory((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pytlistMoviesCategorys


texplore_itemcCs.tdƒ|jddƒ}|d}|dkrI|dt|ƒ7}nd|krf||d7}n|jj|ƒ\}}|sˆdS|jjj|tjdƒtjdƒt	ƒd}d	|krÑt
}nt	}|jjj|d
dt	ƒd}|jdƒ}xØ|D]Ð}|j
|jjj|d
ƒdƒ}|j
|jjj|dƒdƒ}	|j|jjj|dƒdƒ}
|jdƒrt|ƒ}|ji|d6t
d6|
d6|d6|	d6ƒ|j|ƒqqW|r*t|ƒ}|jitdƒd6|dd6ƒ|j|ƒndS(Nstainiesonline.listItemstpageiRs/page/t
url_suffixsclass=pagess</div>srel=nexts
<h1 class=sclass=filmborder>sclass=moviefilm>sa[^>]*?href=(.+?)>*?>issrc=(.+?)>*?altsalt="([^"]+?)"R5Rtgood_for_favRRs	Next page(RR]tstrRORPRQtgetDataBeetwenReMarkersRTRURSR/RRtsplitR:tgetSearchGroupsR<R7R@RARBt_(R4RER^RaRRYR=tnextPageRGRRRH((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pyt	listItems‰sB

4	"
%%%c s–tdƒ|jjˆdƒ\}}|s0dS|j|jjj|dƒdƒ}|dkr‰|j|jj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;">([^<]+?)<s:<meta[^>]*?property=og:title[^>]*?content="([^"]+?)Tainiessog:image content=(.+?)>Rs/trailers	</iframe>s<iframe[^>]+?src=(.+?)widthit
ignoreCases//shttp:R5tTRAILERttrailerRR?tneed_resolvetlinkstdescRs<b>ΠΕΡΙΛΗΨΗ</b>s<!-- END TAG -->tfaceboktunknowns-collections-trilogys
-pentalogys	-βδομs-συλλοs-καλύτερεςs-κορυφαίεςc3s|]}|ˆdkVqdS(RN((t.0tidx(RE(sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pys	<genexpr>ãstcollect_items<b>sF<div\s*class=separator\s*style="clear: both;\s*text-align:\s*center;">s&<div\s+style="text-align\:\s+center;">t<s<a[^>]*?href=(.+?)target=t/s>Seasons>Σεζόνtepisodes([0-9]+?)[^0-9]s%<a[^>]*?href=(.+?)\s.+?>([^<]+?)<\/a>s	-S{0}E{1}tlinksIDtseasontmovie(RRORPR<RQRgR:RRRSR/R7R@RARCR]tanyRTRUtNoneR#RfR6tfindRVtuptcheckHostSupportRXtgetHostNametstriptformattgetLinksForMovie( R4RERYR=RpRticonAt
trailerMarkerRmRHtms1tm1t	linksDataRteLinkstepisodestcollectionIDtspTabtsptcollectionItemsRGt	itemTitleRotitemUrltseasonMarkertseasonstseasonIDtepisodesDatateItemteUrlteIDRy((REsP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pytexploreItem®s
%(((%%
'%




		'	*



	





 




c
Csätdƒ|j|jjj|dƒdƒ}d|krc|j|jjj|dƒdƒ}ntd|ƒg}tjdƒtjdƒtjd	ƒg}x'|D]}d|j|ƒkr¨Pq¨q¨W|j	|ƒ}t
|ƒdkrö|d=nxç|D]ß}tjd
ƒj|ƒ}x¾|D]¶}	|	}
|}|
jdƒrP|
d7}
nd
|j
j|
ƒkrnq"n|j
j|
ƒ}|
jdƒrœ|
d7}
n|
jdƒr"|ji|d|d6|
d6d
d6ƒq"q"WqýW|S(Ns/tainiesonline.getLinksForMovie---------------->stitle="(.+?)tainiesiRsalt="(.+?)ταινιεςsBtitle--------------->sπαρόχουςsπάροχουςsF<div\s*class=separator\s*style="clear: both;\s*text-align:\s*center;">shref=(http[s]?:[^">\s]*)RwR5is//s: R?RRn(RR<RORQRgRTRUR}R#RfR6RVR7RR€RRX(
R4R=tBtitleturlTabtsplitTabRŽt	DataItemstItemR‰RGRRR?((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pyR„@s<
%(*





cCsetd|||fƒt|ƒ}|j|d<|jtj|ƒ|d<d|d<|j|ƒdS(NsJtainiesonline.listSearchResult cItem[%s], searchPattern[%s] searchType[%s]RRbR#R(RR@R8t
SEARCH_SUFFIXturllibt
quote_plusRj(R4REt
searchPatternt
searchType((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pytlistSearchResultbs

cCs‘td|ƒ|d|d|jddƒ|jddƒ}|jj|gƒ}t|ƒre|Si|_|jdgƒ}||j|<|S(Ns#tainiesonline.getLinksForVideo [%s]RRRzRRxRo(RR]R3R6(R4RERtR›((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pytgetLinksForVideojs2	
cCs<td|ƒg}|jdƒr8|jj|ƒ}n|S(Ns tainiesonline.getVideoLinks [%s]R5(RR7RtgetVideoLinkExt(R4tvideoUrlR›((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pyt
getVideoLinksus
cCsItd|ƒg}d|jdƒks>d|jdƒkrA|jj|dƒ\}}|sd|S|jjj|ddƒ\}}|s|S|jjj|d	ƒd
}|jjj|dƒd
}|dkrò|jjj|d
ƒd
}ni|j|ƒd6|j|ƒd6idd6|jt	ƒd6gd6id6gS|SdS(Ns$tainiesonline.getArticleContent [%s]R{RR`RRs<b>ΠΕΡΙΛΗΨΗ</b>Rqs6<meta[^>]*?property="og:title"[^>]*?content="([^"]+?)"is<strong><em>(.+?)</em></strong>Rs3</p><div style="text-align: center;">(.+?)</div><p>Rttexttimagest
other_info(
RR]RORPRQRRRgR<R:R(R4REtretTabRYR=RRp((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pytgetArticleContent|s&*!
cCsotdƒi|dd6|jddƒd6|dd6|dd6|jddƒd6|dd6}tj|ƒS(	Nstainiesonline.getFavouriteDataRFRRRRRpR(RR]tjsontdumps(R4RERH((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pytgetFavouriteData’s
cCsUtdƒyttj|ƒƒ}Wntk
rCi}tƒnX|j|ƒtS(Ns*tainiesonline.setInitListFromFavouriteItem(RRR®tloadst	ExceptionRRBR/(R4tfav_dataRH((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pytsetInitListFromFavouriteItemœs


ic	CsÍtdƒtj|||||ƒ|jjddƒ}|jjddƒ}|jjddƒ}td||fƒg|_t|jƒ|_|jjddƒ|dkrÍ|j	|j
idd6ƒné|dkrï|j|jd	ƒnÇ|d	kr|j|jƒn¨|d
kr-|j
|jƒn‰|dkryt|jƒ}|jitd
6dd6ƒ|j|||ƒn=|dkr¯|jidd6dd6dtdƒƒntƒtj|||ƒdS(NshandleService startR?RRRsKhandleService: |||||||||||||||||||||||||||||||||||| name[%s], category[%s] RcRR R`R#tsearch_next_pageR%R&R'RpsType: (ssearchRµ(RRt
handleServicetcurrItemR]tcurrListR@tpopR}RItMAIN_CAT_TABR_RjR™RARSR¤tlistsHistoryRhRtendHandleService(	R4tindextrefreshR¢R£R?RRRE((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pyR¶§s8
	(t__name__t
__module__tHEADERR@tAJAX_HEADERRAR8RŸRhR/RºR-R:R<RIR\R_RjR™R„R¤R¥R¨R­R°R´R¶(((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pyRsT







				&	%	’	"					
	tIPTVHostcBseZd„ZRS(cCs tj|tƒtdgƒdS(NtfavouriteTypes(RR-RR/(R4((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pyR-És(R¿RÀR-(((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pyRÃÇs(t7Plugins.Extensions.IPTVPlayer.components.iptvplayerinitRRht.Plugins.Extensions.IPTVPlayer.components.ihostRRt-Plugins.Extensions.IPTVPlayer.tools.iptvtoolsRRRt*Plugins.Extensions.IPTVPlayer.libs.pCommonRRTR R®R²t
simplejsontComponents.configRRtpluginst
iptvplayertmovieshdco_sortbyRRRRÃ(((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosttainiesonline.pyt<module>s(
!		ÿ«