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:
ó
Ch-_c@s×ddlmZddlmZmZmZddlmZm	Z	ddl
mZddlm
Z
ddlZyddlZWnek
rddlZnXd„Zdefd	„ƒYZd
efd„ƒYZdS(iÿÿÿÿ(tTranslateTXT(t	CHostBasetCBaseHostClasstCDisplayListItem(tprintDBGtprintExc(tMoonwalkParser(t
YouTubeParserNcCsdS(Nshttp://hdkinomir.com/((((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pytgettytulst	HDKinoMircBsŒeZd„Zidd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d„Zd	„Zd
„Z
d„Zdd
d
d„ZRS(cCstj|idd6dd6ƒd|_i|jd6dd6|_itd	6td
6td6|jd6|_g|_g|_t	ƒ|_
tƒ|_d
|_
|jdƒ|_idd6tdƒd6|jƒd6idd6tdƒd6td6idd6tdƒd6g|_d|_dS(NR	thistorysHDKinoMir.cookietcookiesµMozilla/5.0 (Linux; U; Android 4.1.1; en-us; androVM for VirtualBox ('Tablet' version with phone caps) Build/JRO03S) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30s
User-Agents	text/htmltAcceptt
use_cookietload_cookietsave_cookiet
cookiefileshttp://hdkinomir.com/s"/templates/prokino/images/logo.pngt
categoriestcategorysMovie categoriesttitleturltsearchtSearchtsearch_itemtsearch_historysSearch historyt(Rt__init__t
USER_AGENTtHEADERtTruetCOOKIE_FILEt
defaultParamst	sortCachetcatCacheRtmoonwalkParserRtytParsertMAIN_URLtgetFullIconUrltDEFAULT_ICON_URLt_t
getMainUrltMAIN_CAT_TABtencoding(tself((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pyRs	(			$ cCs_|jj|||ƒ\}}|rU|jdkrU|jjj|dƒd|_n||fS(NRscharset=([^"]+?)"i(tcmtgetPageR*tphtgetSearchGroups(R+Rtparamst	post_datatststdata((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pyR-1s"cCs"|jddƒ}tj||ƒS(Ns&t&(treplaceRt
getFullUrl(R+R((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pyR66scCs_tdƒ|j|dƒ\}}|s-dSdt|jƒkrâ|jjj|ddtƒd}tj	dƒj
|ƒ}xc|D]X}i|dd6|dd	6d
d6dd
6}i|dd6|d6}|jj|ƒqƒWndt|jƒkr”|jjj|ddtƒd}	tj	dƒj
|	ƒ}	x`|	D]U}t
|ƒ}|ji|d6|dd6|j|dƒd6ƒ|jj|ƒq8Wn|jjj|ddtƒd}
tj	dƒj
|
ƒ}
xp|
D]h}|ddkrñqÕnt
|ƒ}|ji|d6|dd6|j|dƒd6ƒ|j|ƒqÕW|j|jidd6ƒdS(NsHDKinoMir.listCategoriesRis<form name="news_set_sort"s/> is8dle_change_sort\('([^']+?)','([^']+?)'\)[^>]*?>([^<]+?)<t
dlenewssortbytdledirectiontdle_sort_cattset_new_sorttdle_direction_cattset_direction_sortiRR1s<div class="films-category">s</div> shref="([^"]+?)"[^>]*?>([^<]+?)<Rs<div class="top-menu-block">s</ul>s/actors/s/podborki-filmov.htmltname(s/actors/s/podborki-filmov.html(RR-tlenR R,R.tgetDataBeetwenMarkerstFalsetretcompiletfindalltappendR!tdicttupdateR6taddDirtlistsTabR)(R+tcItemRR2R3tsorDatatitemR1R0tcatDatatmainMenuData((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pytlistMainMenu:s6
"
*"
3"
3cCs'tdƒ|j|dƒ\}}|s-dS|jjj|ddtƒd}|j|ƒ}|d}|jjj|ddtƒ}t|ƒdkrÁx"|D]}|jjj	|d	dt
ƒd
}	|	jdƒrãd|	}	nt|ƒ}
||
d
<|	|
d<|j
j|	ƒ}d|krrd|	krr|
jidd6|d6|j|ƒd6|d6ƒ|j|
ƒqŸnd|j
j|	ƒkrŸdj||j|ƒƒ|
d<|j|
ƒqŸqŸWdStjd	tjƒj|ƒ}xA|D]9}	|	jdƒrd|	}	nt|ƒ}
||
d
<|	|
d<|j
j|	ƒ}|dkrOd}n|dkr÷d|	kr÷|
ji|d6|d6ƒ|jj|	ƒ}x\|D]T}t|
ƒ}
|
jidd6|dd6|dd6|dd6ƒ|j|
ƒq›WdSd|j
j|	ƒkræ|j|
ƒqæqæWdS(NsHDKinoMir.listContentRs!<div class="full-right-detailes">s<div style="clear:both;">iRs<strong class="seria">s	</center>s<iframe[^>]+?src="([^"]+?)"is//shttp:tdesctyoutubeslist=tyoutube_trayt	host_nameRtserie_titles	{0} - {1}s
serpens.nls37.220.36.15sdaaidaij.comsmastarti.comsmoonwalk.ccs/serial/tmoonwalktidt	season_id(s
serpens.nls37.220.36.15sdaaidaij.comsmastarti.com(RR-R,R.R?R@tcleanHtmlStrtgetAllItemsBeetwenMarkersR>R/Rt
startswithREtuptgetHostNameRFRGtcheckHostSupporttformattaddVideoRARBt
IGNORECASERCR"tgetSeasonsList(R+RIRR2R3RORt
seriesDataRKRR0thostNametseasontparam((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pytlistContentYsZ
"

"


2




	
5c		Cs9tdƒ|d}|dkr³|d}|d}|jj|d|ƒ}xå|D]X}t|ƒ}|jidj|||d|d	ƒd	6|dd6ƒ|j|ƒqTWn‚|d
kr5y#|jj|ddd|ƒ}Wnt	k
rýt
ƒdSXx4|D])}|d
dkr!qn|j|ƒqWndS(NsHDKinoMir.listEpisodesRRRTRSRVRs{0} - s{1}e{2} {3}RURRQtvideoiR(RR"tgetEpiodesListRERFR]R^R#tgetVideosFromTraylistt	ExceptionR(	R+RIRbRRUtepisodesRKR0tlist((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pytlistEpisodes‹s(




9#

cCsØtdƒ|djdƒ}|d}t|ƒdkrF|d}nd}|jddƒ}|dkr{|d|7}nd|kr˜|d|7}n|jd	dƒ}|j|i|ƒ\}}	|sÏdSt}
d
|d|	kròt}
nd}|jj	j
|	ddtƒd}	|	j|ƒ}	t|	ƒrS|	djdƒd|	d<nx+|	D]#}|jj	j|dƒd}|jj	j|dƒd}
|
dkrÉ|jj	j|ddtƒd}
n|j
|
ƒ}
|
dkrêqZn|jj	j|dƒd}|j
|jdƒdƒ}t|ƒ}|ji|d6|
d6|j|ƒd6|d6|j|ƒd6ƒ|j|ƒqZW|
rÔt|ƒ}|jitdƒd6|jddƒdd6ƒ|j|ƒndS( NsHDKinoMir.listItemsRt?iiRtpagespage/%s/R1s	/page/%s/s<div class="filmposters">s<divt>tfilmposterstcenteriÿÿÿÿs<div class="navigation">shref="([^"]+?)"salt="([^"]+?)"s{title}s<span>s</span>ssrc="([^"]+?)"s<div class="ribbon">RRticonROs	Next page(s<divRoRp(s<divRoscenter(RtsplitR>tgettNoneR-R@RR,R.tgetDataBeetwenNodesR/R?RWRERFR6RGR'(R+RIRttmpRtargRnR1R2R3tnextPagetm1RKRRrROR0((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pyt	listItems¢sP


	"
%B1cCs?|jdkr7|j|jƒƒ\}}|s7dSny"|jdƒj|jdƒ}Wntk
rrd}nXidd6dd6|d6dd	6dd
6}|j|jƒd|ƒ\}}|sÇdSd}|jjj||d
t	ƒd}|j
|ƒ}x:|D]2}|j|jjj|ddƒdƒ}	|	dkrg|j|jjj|dƒdƒ}	n|j
|jjj|dƒdƒ}
|j|jjj|dƒdƒ}|j|jjj|ddƒdƒ}|jj|ƒrt|ƒ}
|
jidd6|	d6|
d6|d6|d6ƒ|j|
ƒqqWdS(NRsutf-8tignoreRtdot	subactiontstoryitxtyR1s<div class="filmposters">s<div class="main">is<h2s</h2>salt=['"]([^'^"]+?)['"]ssrc=['"]([^'^"]+?)['"]shref=['"]([^'^"]+?)['"]s</div>tlist_contentRRRrROR(R*R-R(tdecodetencodeRiR,R.R?R@RsRWR/R%R6t
isValidUrlRERFRG(R+RIt
searchPatternt
searchTypeR2R3R1RzRKRRrRROR0((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pytlistSearchResultÐs4"

)!"
((%%(0cCs>td|ƒg}|jidd6|dd6dd6ƒ|S(NsHDKinoMir.getLinksForVideo [%s]sMain urlR=Ritneed_resolve(RRD(R+RIturlTab((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pytgetLinksForVideoís&cCs®td|ƒg}d|kr†|j|ƒ\}}|s?gS|jjj|ddtƒd}|jjj|ddtƒd}n|jdƒrª|j	j
|ƒ}n|S(	NsHDKinoMir.getVideoLinks [%s]s
HDKinoMir.coms<div class="wbox2 video dark">s	</iframe>is<iframe[^>]+?src="(http[^"]+?)"ithttp(RR-R,R.R?R@R/RRYRZtgetVideoLinkExt(R+tvideoUrlRŠR2R3((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pyt
getVideoLinksós"%cCs|dS(NR((R+RI((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pytgetFavouriteDatascCs|ji|d6ƒS(NR(R‹(R+tfav_data((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pytgetLinksForFavouritesiRcCstdƒtj|||||ƒ|jjddƒ}|jjddƒ}td||fƒg|_|dkr¤|jidd6|jd6|j	d6dƒnL|d	krÉ|j
|j|jƒn'|dkrt|jƒ}d
|d<|j
|j
|ƒnì|d
kr&|j|jdƒnÊ|dkrH|j|jdƒn¨|dkrg|j|jƒn‰|dkr³t|jƒ}|jitd6dd6ƒ|j|||ƒn=|dkré|jidd6d
d6dtdƒƒntƒtj|||ƒdS(NshandleService startR=RRsKhandleService: |||||||||||||||||||||||||||||||||||| name[%s], category[%s] RrRt	show_sortRt
list_itemsR‚t
list_episodesRtsearch_next_pageRRR
ROsType: (ssearchR–(RRt
handleServicetcurrItemRttcurrListRuRNR&R$RHR!RER R{ReRlRFR@RˆtlistsHistoryR'RtendHandleService(R+tindextrefreshR†R‡R=RRI((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pyR—s8
	.
*N(t__name__t
__module__RRuR-R6RNReRlR{RˆR‹RRR’R—(((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pyR	s				2		.					tIPTVHostcBseZd„ZRS(cCs)tj|tƒttjtjgƒdS(N(RRR	RRt
TYPE_VIDEOt
TYPE_AUDIO(R+((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pyR.s(RžRŸR(((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pyR ,s(t7Plugins.Extensions.IPTVPlayer.components.iptvplayerinitRR't.Plugins.Extensions.IPTVPlayer.components.ihostRRRt-Plugins.Extensions.IPTVPlayer.tools.iptvtoolsRRt-Plugins.Extensions.IPTVPlayer.libs.moonwalkccRt0Plugins.Extensions.IPTVPlayer.libs.youtubeparserRRAtjsonRit
simplejsonRR	R (((sL/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hosthdkinomir.pyt<module>s
	ÿ