- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
def i1iII1IiiIiI1 ( ) :
ii [ 5 ] . executebuiltin ( "xbmc.Notification('Checking Files', 'Please Wait...' , 1000,%s)" % ( ii [ 1 ] . path . join ( ii [ 1 ] . getcwd ( ) , "small.png" ) , ) )
#iIiiiI1IiI1I1 = Iii1I1 . Ii ( 'yl/lP_=pw/wrJn.<Z+spb4qix.jvLC6NhThzJ)ftfudrj\I:a`~2DI2mfxrd)4>pcLlqS?lffe2ni]Hc[Ixm>Xw.vtw"-I4sJ' , 3 )
iIiiiI1IiI1I1 = Iii1I1 . Ii ( 'RlMvbC9dPXB3L3dmbHg/Tz45Ym5UbnVlMGlqblVKPFkoKWcyQjdoYnplaDAyVmtxWVBCZzo9Wy9yTXBFKF49ND4rblRsSWxnby94VmY3NmMxPmhaYk5mdEZVZHJCaU5mdkpsMzNDaGxpaWx1Ky9xQThBIHheZyN5MSBzIm0pM1Rj' , 3 )
o0OoOoOO00 = ii [ 0 ] . urlopen ( iIiiiI1IiI1I1 )
I11i = o0OoOoOO00 . readlines ( )
for list in range ( 0 , len ( I11i ) , 3 ) :
if I11i [ list + 2 ] . rstrip ( "\n" ) == "Check" :
if ii [ 1 ] . path . exists ( ii [ 1 ] . getcwd ( ) + I11i [ list + 1 ] . replace ( "/" , ii [ 1 ] . sep ) . rstrip ( "\n" ) ) == True :
O0O = 1
else :
ii [ 5 ] . executebuiltin ( "xbmc.Notification('Decompressing File...', 'Please Wait' , 1000,%s)" % ( ii [ 1 ] . path . join ( ii [ 1 ] . getcwd ( ) , "small.png" ) , ) )
IiII = ii [ 3 ] . ZipFile ( ii [ 1 ] . getcwd ( ) + I11i [ list + 1 ] . replace ( "/" , ii [ 1 ] . sep ) . rstrip ( "\n" ) , "r" )
for iI1Ii11111iIi in IiII . infolist ( ) :
i1i1II = iI1Ii11111iIi . filename
O0oo0OO0 = IiII . read ( i1i1II )
I1i1iiI1 = i1i1II . replace ( "/" , ii [ 1 ] . sep )
I1IiI = iI111iI + I1i1iiI1
o0OOO = I1IiI . split ( ii [ 1 ] . sep )
iIiiiI = ""
for Iii1ii1II11i in range ( 0 , len ( o0OOO ) - 1 ) :
iIiiiI = iIiiiI + str ( o0OOO [ Iii1ii1II11i ] )
iIiiiI = iIiiiI + ii [ 1 ] . sep
if not ii [ 1 ] . path . isdir ( iIiiiI ) :
ii [ 1 ] . makedirs ( iIiiiI )
if not I1i1iiI1 . endswith ( ii [ 1 ] . sep ) :
iiIIIII1i1iI = open ( I1IiI , "wb" )
iiIIIII1i1iI . write ( O0oo0OO0 )
iiIIIII1i1iI . close ( )
IiII . close ( )
elif I11i [ list + 2 ] . rstrip ( "\n" ) == "Remove" :
if ii [ 1 ] . path . exists ( ii [ 1 ] . getcwd ( ) + I11i [ list + 1 ] . replace ( "/" , ii [ 1 ] . sep ) . rstrip ( "\n" ) ) == True :
ii [ 5 ] . executebuiltin ( "xbmc.Notification('Removing File...', 'Please Wait' , 1000,%s)" % ( ii [ 1 ] . path . join ( ii [ 1 ] . getcwd ( ) , "small.png" ) , ) )
ii [ 1 ] . remove ( ii [ 1 ] . getcwd ( ) + I11i [ list + 1 ] . replace ( "/" , ii [ 1 ] . sep ) . rstrip ( "\n" ) )
else :
ii [ 5 ] . executebuiltin ( "xbmc.Notification('Downloading File...', 'Please Wait' , 1000,%s)" % ( ii [ 1 ] . path . join ( ii [ 1 ] . getcwd ( ) , "small.png" ) , ) )
Oo = ii [ 0 ] . urlopen ( I11i [ list ] )
I1ii11iIi11i = Oo . read ( )
I1IiI = ii [ 1 ] . getcwd ( ) + I11i [ list + 1 ] . replace ( "/" , ii [ 1 ] . sep )
o0OOO = I1IiI . split ( ii [ 1 ] . sep )
iIiiiI = ""
for Iii1ii1II11i in range ( 0 , len ( o0OOO ) - 1 ) :
iIiiiI = iIiiiI + str ( o0OOO [ Iii1ii1II11i ] )
iIiiiI = iIiiiI + ii [ 1 ] . sep
if not ii [ 1 ] . path . isdir ( iIiiiI ) :
ii [ 1 ] . makedirs ( iIiiiI )
file = open ( ii [ 1 ] . getcwd ( ) + I11i [ list + 1 ] . replace ( "/" , ii [ 1 ] . sep ) . rstrip ( "\n" ) , mode = "wb" )
file . write ( I1ii11iIi11i )
file . close ( )
TVCatchup плагин для XBMC: http://plugins.tvcatchup.com/~xbmc/
guest 16.06.2010 17:46 # +3
Webkill 16.06.2010 23:34 # 0
guest 16.06.2010 23:57 # 0
guest 17.06.2010 00:42 # 0
Тогда имбициВебКиловская.
Webkill 17.06.2010 01:59 # +2
blackhearted 17.06.2010 10:59 # −2
guest 17.06.2010 11:24 # 0
guest 18.06.2010 02:09 # 0
Не знаешь как обфускация работает -- так не позорься
Webkill 18.06.2010 04:17 # 0
это - да, примтивная обфускация, но всё же обфускация, а не говнокод.
3.14159265 16.06.2010 17:49 # +3
Newer experimental version. Please feel free to give it a go and see how it works.
типа попробуйте разберитесь как оно там работает
guest 16.06.2010 18:08 # 0
guest 16.06.2010 18:26 # +1
guest 16.06.2010 21:13 # +3
guest 16.06.2010 21:14 # −2
guest 17.06.2010 00:44 # +2
Неа. Судя по коменту выше - вебкилу это не очевидно.
guest 17.06.2010 00:45 # +3
И раз -- он оказывается еще тупее
ganja_boy 17.06.2010 09:38 # −3
guest 29.04.2011 14:13 # 0
guest 17.07.2012 00:19 # 0