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ñddlmZmZddlmZmZddlmZm	Z	m
Z
ddlmZddl
Z
ddlZddlZddlZyddlZWnek
r·ddlZnXd„Zdefd„ƒYZd	efd
„ƒYZdS(iÿÿÿÿ(tTranslateTXTtGetIPTVSleep(t	CHostBasetCBaseHostClass(tprintDBGtprintExctbyteify(tstrwithmetaNcCsdS(Nshttps://streaming-series.watch/((((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pytgettytulstStreamingSeriesWatchcBs•eZd„Zidd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d„Zd	„Zd
„Z
d„Zd„Zd
ddd„ZRS(cCstj|idd6dd6ƒd|_i|jd6dd6|_d	|_d
|_idd6d
d6|jƒd6idd6dd6|jdƒd6idd6tdƒd6t	d6idd6tdƒd6g|_
i|jd6t	d6t	d6t	d6|jd6|_dS(Nsdpstreaming.cxthistorysdpstreaming.cx.cookietcookiesHMozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0s
User-Agents	text/htmltAccepts#https://www.streaming-series.watch/sKhttp://reviewme.co.za/wp-content/uploads/2013/06/lista_series_7327_622x.jpgt
list_itemstcategorysNouveaux Filmsttitleturltsortt	Parcourirs/parcourir/tsearchtSearchtsearch_itemtsearch_historysSearch historytheadert
use_cookietload_cookietsave_cookiet
cookiefile(
Rt__init__t
USER_AGENTtHTTP_HEADERtMAIN_URLtDEFAULT_ICON_URLt
getMainUrlt
getFullUrlt_tTruetMAIN_CAT_TABtCOOKIE_FILEt
defaultParams(tself((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pyRs			! cs|ikrtˆjƒ}n‡‡fd†}iˆjjˆƒd6ˆjd6ˆjd6|d6|d<ˆjjˆ||ƒ\}}||fS(Ncs*ˆjj|ƒr|Stjˆ|ƒSdS(N(tcmt
isValidUrlturlparseturljoin(R(tbaseUrlR((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pyt_getFullUrl.stdomaintcookie_files
User-Agenttfull_url_handletcloudflare_params(tdictR'tupt	getDomainR&RR)tgetPageCFProtection(R(R-t	addParamst	post_dataR.tststdata((R-R(sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pytgetPage*s8cCsR|j|ƒ}|dkrdS|jj|jƒ}t|i|d6|jd6ƒS(NttCookies
User-Agent(R"R)tgetCookieHeaderR&RR(R(RtcookieHeader((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pytgetFullIconUrl8s
c	Csëtdƒ|j|dƒ\}}|s-dS|jjj|ddƒd}|jjj|dd	ƒ}x}|D]u}|j|jjj|d
ƒdƒ}|j|ƒ}t	|ƒ}|j
i|d6|d6|d
6ƒ|j|ƒqnWdS(NsStreamingSeriesWatch.listSortRs<ult>tdropdowns</ulis<as</a>shref=['"]([^'^"]+?)['"]iRR(s<ulRARB(s</ulRA(RR;R)tphtgetDataBeetwenNodestgetAllItemsBeetwenMarkersR"tgetSearchGroupstcleanHtmlStrR3tupdatetaddDir(	R(tcItemtnextCategoryR9R:titemRRtparams((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pytlistSort>s

%"cCsmtdƒ|j|dƒ\}}|s-dS|j|jjj|dƒdƒ}|jjj|ddtƒd	}tj	d
ƒj
|ƒ}t|ƒr¢|d=nx{|D]s}|jjj|dƒd}|jjj|dƒd}|j|jjj|ddƒd	ƒ}	|	dkrC|j|jjj|dƒdƒ}	ng}
|jjj
|ddƒ}x9|D]1}|j|ƒ}|dkrk|
j|ƒqkqkW|jjj|dƒd}
t|ƒ}|jitd6|d6|d6|	d
6dj|
ƒd6|d6|
d6ƒ|j|ƒq©W|dkrit|ƒ}|jitdƒd
6|d6ƒ|j|ƒndS(NsStreamingSeriesWatch.listItemsRs1<a[^>]+?href=['"]([^'^"]+?)['"][^>]*?>\s*Suivanteis<divRAtspacetclearis<div[^>]+?video[^>]+?>shref=['"]([^'^"]+?)['"]ssrc=['"]([^'^"]+?)['"]Rs</divR<salt=['"]([^'^"]+?)['"]s</div>ssaison-([0-9]+?)-tgood_for_favRs[/br]tdescticontseasons	Next page(s<divRARO(s<divRAsclear(s<divRAstitle(s</divRA(RR;R"R)RCRFRDtFalsetretcompiletsplittlenRGREtappendR3RHR$tjoinRIR#(R(RJRR9R:tnextPageRLRRSRRRttmpttRTRM((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pyt	listItemsLs:
%"

((
G!cCs|tdƒ|j|dƒ\}}|s-dS|jjj|ddƒd}|j|jjj|dd	ƒdƒ}|jjj|d
ƒd}|djd
ƒd}|jjj|ddƒd}|jjj	|ddƒ}x”|D]Œ}|jjj|dƒd}	|j|ƒ}
t
|ƒ}|jitd6|	d6|d|d|
fd6|d6|d6ƒ|j
|ƒqèWdS(Ns!StreamingSeriesWatch.listEpisodesRs<divRAsvideo-containerRPitSynopsiss</p>ssrc=['"]([^'^"]+?)['"]iRtSaisontEpisodess</div>s<as</a>shref=['"]([^'^"]+?)['"]RQs s%se%sRTRSRR(s<divRAsvideo-container(s<divRAsclear(RR;R)RCRDRGtgetDataBeetwenMarkersRFRXRER3RHRUtaddVideo(R(RJR9R:tdescDataRRRSttitleSeasonRLRRRM((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pytlistEpisodesks 
(
BcCsUtd|||fƒt|ƒ}|jdtj|ƒ|d<|j|dƒdS(NsQStreamingSeriesWatch.listSearchResult cItem[%s], searchPattern[%s] searchType[%s]s?s=Rtepisodes(RR3RturllibtquoteR_(R(RJt
searchPatternt
searchType((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pytlistSearchResultsc
Csjtd|ƒg}|j|dƒ\}}|s7gS|jjj|ddƒd}|jdƒ}t|ƒr{|d	=nd
}xâ|D]Ú}|j|jjj|ddtƒdƒ}|d
krÎ|}n|jjj	|ddtƒd}|d
krd||f}n|jjj
|dƒd}	|jj|	ƒrˆ|ji|d6|	d6dd6ƒqˆqˆW|S(Ns*StreamingSeriesWatch.getLinksForVideo [%s]Rs<divRAsvideo-containers</divis	</iframe>iÿÿÿÿR<s<spans"lg"s</spans<bs</b>s%s: %ss#<iframe[^>]+?src=['"]([^'^"]+?)['"]itnametneed_resolve(s<divRAsvideo-container(s</divRA(s<spanRAs"lg"(s</spanRA(
RR;R)RCRDRXRYRGRURcRFR*RZ(
R(RJturlTabR9R:tlangRLR]RnR((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pytgetLinksForVideo…s*

+	")c
Cs-td|ƒg}d|kr$gS|j||jƒ\}}|sIgS|jjd}|jjj|dƒd}|jjj|dƒd}yj|jd||jƒ\}}|jjj|dƒd}	t|	ƒd	krútƒj	t|	ƒƒnWnt
k
rtƒgSXt|jd
ƒ}
t|jƒ}||
d<d|
d
<d|
d<|
|d
<t
|d<|jd||i|d6ƒ\}}|s›gStdƒt|ƒtdƒtjdƒj|ƒ}|jtjdƒj|ƒƒx6|D].}|j|ƒ}|j|jj|ƒƒq÷W|S(Ns'StreamingSeriesWatch.getVideoLinks [%s]sprotect-stream.comRsvar\s+?k[^"]*?=[^"]*?"([^"]+?)"is['"/](secur[^\.]*?)\.jss$https://www.protect-stream.com/%s.jssvar\s+?count\s*?=\s*?([0-9]+?);iRtReferers!application/x-www-form-urlencodedsContent-Types
gzip, deflatesAccept-EncodingRs%https://www.protect-stream.com/%s.phptks*==========================================s#<iframe[^>]+?src=['"]([^'^"]+?)['"]s<a[^>]+?href=['"]([^'^"]+?)['"](RR;R'R)tmetaRCRFtintRtSleept	ExceptionRR3RURVRWtfindalltextendR"R4tgetVideoLinkExt(
R(RRpR9R:tcUrlRttsecureR]tcountRRMtvideoUrl((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pyt
getVideoLinksœsJ





&



cCstdƒtj|ƒS(Ns%StreamingSeriesWatch.getFavouriteData(Rtjsontdumps(R(RJ((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pytgetFavouriteDataÇs
cCsWtdƒg}y(ttj|ƒƒ}|j|ƒ}Wntk
rRtƒnX|S(Ns)StreamingSeriesWatch.getLinksForFavourite(RRRtloadsRrRxR(R(tfav_datatlinksRJ((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pytgetLinksForFavouriteËs

cCsUtdƒyttj|ƒƒ}Wntk
rCi}tƒnX|j|ƒtS(Ns1StreamingSeriesWatch.setInitListFromFavouriteItem(RRRR„RxRRIR$(R(R…RM((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pytsetInitListFromFavouriteItemÔs


cCs2td|ƒg}d|kr$gSdt|jdƒkrcdt|jdƒkrc|jƒn|d}|d|jd|jdf7}|j|ƒ}|j|ƒ\}}|s½gS|d}|jdd	ƒ}|jd
d	ƒ}i}	yàttj	|ƒƒ}|j
|j|dƒƒ}|d}|d}|d
|	d
<|d|	d<g}
x#|dD]}|
j|dƒqfWdj|
ƒ|	d<|d|	d<|d|	d<t
tjd|dƒƒ|	d<Wntk
rëtƒnXi|j|ƒd6|j|ƒd6id	d6|d6gd6|	d6gS(Ns"MoviesNight.getArticleContent [%s]tresource_uriitapi_keytusernames?api_key=%s&username=%sRRRR<RStpostertoverviewtactorstdirectortgenreRns, timdb_ratingtratingtyeartsecondstruntimetdurationttextRtimagest
other_info(RRYt	loginDatatrequestLoginDataR"R;tgetRRR„t	_viaProxyRZR[tstrtdatetimet	timedeltaRxRRG(R(RJtretTabRR9R:RRRRSt	otherInfotgenresRL((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pytgetArticleContentÞsB2

"


$
iR<c	Cs«tdƒtj|||||ƒ|jjddƒ}|jjddƒ}|jjddƒ}td||fƒg|_|dkr¨|j|jidd6ƒnì|dkrÊ|j	|jdƒnÊ|dkrì|j
|jd	ƒn¨|d	kr|j|jƒn‰|dkrWt|jƒ}|j
itd6dd6ƒ|j|||ƒn=|d
kr|jidd6d
d6dtdƒƒntƒtj|||ƒdS(NshandleService startRnR<RtmodesKhandleService: |||||||||||||||||||||||||||||||||||| name[%s], category[%s] RR
RhRtsearch_next_pageRRR
RRsType: (ssearchR¦(RRt
handleServicetcurrItemRœtcurrListtNonetlistsTabR%RNR_RgR3RHRURmtlistsHistoryR#RtendHandleService(	R(tindextrefreshRkRlRnRR¥RJ((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pyR§s.
	*N(t__name__t
__module__RRªR;R@RNR_RgRmRrR€RƒR‡RˆR¤R§(((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pyR	s								+				
	(tIPTVHostcBseZd„ZRS(cCstj|tƒtgƒdS(N(RRR	R$(R(((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pyR)s(R°R±R(((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pyR²'s(t7Plugins.Extensions.IPTVPlayer.components.iptvplayerinitRR#Rt.Plugins.Extensions.IPTVPlayer.components.ihostRRt-Plugins.Extensions.IPTVPlayer.tools.iptvtoolsRRRt-Plugins.Extensions.IPTVPlayer.tools.iptvtypesRRŸRVRiR+RRxt
simplejsonRR	R²(((sP/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/hosts/hostdpstreamingcx.pyt<module>s
	ÿ