URLResolver Releases - Dev Version

nothere

Banned
Nov 25, 2012
1,036
0
0
All I would do is transfer the pys from urlresolver/libs/urlresolver/plugins to your xbmc urlresolver folder (same path). When the official update comes out you will be fine.

Note to all. This is not recommended unless you are FULLY confident in what you are doing.
 
Last edited:

mindgame

New member
Apr 13, 2013
119
0
0
Can you confirm with a link? (I haven't seem them used in any addons but Ic*f*lms)

My code in Ic*f*lms works so I can pop it in, but need an addon + link to test it in
I did a test using videophile and hugefiles appears to be working now. So strange but I am happy!
 

lowridin_guy

New member
May 10, 2012
339
0
0
I tested gorillavid and it is working.
Thanks everyone for the help.

I seem to recall gorillavid having two different "suffixes". .in and another. You're right one does work but the other doesn't.
I can't remember what the other is.
 

hollisterryann

New member
Feb 26, 2014
4
0
0
I'm new at this and would like help. I went to the github link and downloaded the zip. Went to install it on xbmc and got and error saying add on doesn't have the correct structure.. Thanks
 

mindgame

New member
Apr 13, 2013
119
0
0
I'm new at this and would like help. I went to the github link and downloaded the zip. Went to install it on xbmc and got and error saying add on doesn't have the correct structure.. Thanks
If you are new and not sure how to install, it is best to wait for the official release.
 

lowridin_guy

New member
May 10, 2012
339
0
0
Every link is broken? There may be an issue with your setup if that is the case. Sure there are some that need updating but not all.

I can name at least a half dozen that are not broken and work ok.
 

mindgame

New member
Apr 13, 2013
119
0
0
How long before official release. I'm sick of every link being broken and the ones that work buffer a lot
I am sick of new people joining the site and complaining about something that is free where people put hours and hours of their time in for average users like us.
 

lowridin_guy

New member
May 10, 2012
339
0
0
I was gonna say something similar but I just chalk it up to ignorance.

I think a lot of people just think it's a "setting" or something easy that can be done that will magically make these things work. They don't realize it takes work and a lot of smarts to make these things happen.
 

hollisterryann

New member
Feb 26, 2014
4
0
0
How is a question complaining. I'm not an idiot and know it takes time just was asking if the beta usually lasts awhile. I appreciate the hard work everyone puts in to make xbmc what it is. Was actually gonna make a donation to Eldorado but with attitudes over a question I'm second guessing now. I'll take my question elsewhere. Ask for help and get this.
 

hollisterryann

New member
Feb 26, 2014
4
0
0
Also wasn't saying the links broken your fault lol. Just been going to for awhile and boom a road bump and I was like Damn I miss it working smoothly and searched the Web and found this and figured I'd ask for help
 

Eldorado

Moderator
Staff member
May 7, 2012
990
0
0
How is a question complaining. I'm not an idiot and know it takes time just was asking if the beta usually lasts awhile. I appreciate the hard work everyone puts in to make xbmc what it is. Was actually gonna make a donation to Eldorado but with attitudes over a question I'm second guessing now. I'll take my question elsewhere. Ask for help and get this.
You call this asking? "I'm sick of every link being broken and the ones that work buffer a lot"

Words come over different over the internet, but everyone took this as complaining with attitude.. choice of words means everything

Don't worry about it, lets move on..
 
Last edited:

tomtomclub

New member
Apr 21, 2013
211
0
0
The Netherlands.usa
How is a question complaining. I'm not an idiot and know it takes time just was asking if the beta usually lasts awhile. I appreciate the hard work everyone puts in to make xbmc what it is. Was actually gonna make a donation to Eldorado but with attitudes over a question I'm second guessing now. I'll take my question elsewhere. Ask for help and get this.
ask demand refund :)
 

Eldorado

Moderator
Staff member
May 7, 2012
990
0
0
Ok guys, this is a DEV thread.. lets move on, back on topic concerning resolvers that need fixing
 

s7eele

Member
Sep 29, 2012
427
0
16
US of A (Deep Deep South)
Boy am I glad I stumbled across this thread in my searching on issues with urlresolver. Haven't played with the beta's yet but think I will give it a try using the tool listed above. Wish me luck and thanks to everyone that works so hard on this stuff, I hope to learn more but at the moment it seems the urlresolver maintenance would be a nightmare. Again, sincere thanks to those putting in the work, research and testing.

Peace!

Edit -

I came back real quick after doing some really quick testing across several add-ons and while I don't have specifics yet it is working much better than it was before applying beta update.

Peace!
 
Last edited:

carlosmono1

New member
Jan 24, 2016
1
0
0
Resolver Openloadnot funtioanl help me!!

Code:
class openload:
  def base10toN(num,n):
    num_rep={10:'a',
         11:'b',
         12:'c',
         13:'d',
         14:'e',
         15:'f',
         16:'g',
         17:'h',
         18:'i',
         19:'j',
         20:'k',
         21:'l',
         22:'m',
         23:'n',
         24:'o',
         25:'p',
         26:'q',
         27:'r',
         28:'s',
         29:'t',
         30:'u',
         31:'v',
         32:'w',
         33:'x',
         34:'y',
         35:'z'}
    new_num_string=''
    current=num
    while current!=0:
        remainder=current%n
        if 36>remainder>9:
            remainder_string=num_rep[remainder]
        elif remainder>=36:
            remainder_string='('+str(remainder)+')'
        else:
            remainder_string=str(remainder)
        new_num_string=remainder_string+new_num_string
        current=current/n
    return new_num_string

def resolve(url):
    try:
        control.log('[openload] - 1 %s' % url)
        if check(url) == False: return
        control.log('[openload] - 2 %s' % url)
        id = re.compile('//.+?/(?:embed|f)/([0-9a-zA-Z-_]+)').findall(url)[0]
        myurl = 'https://openload.co/embed/%s' % id
        result = client.request(myurl)

        # decodeOpenLoad made by mortael - for me You are master:)
        def decodeOpenLoad(html):
            aastring = re.search(r"<video(?:.|\s)*?<script\s[^>]*?>((?:.|\s)*?)</script", html, re.DOTALL | re.IGNORECASE).group(1)

            aastring = aastring.replace("(゚Д゚)[゚ε゚]+(o゚ー゚o)+ ((c^_^o)-(c^_^o))+ (-~0)+ (゚Д゚) ['c']+ (-~-~1)+","")
            aastring = aastring.replace("((゚ー゚) + (゚ー゚) + (゚Θ゚))", "9")
            aastring = aastring.replace("((゚ー゚) + (゚ー゚))","8")
            aastring = aastring.replace("((゚ー゚) + (o^_^o))","7")
            aastring = aastring.replace("((o^_^o) +(o^_^o))","6")
            aastring = aastring.replace("((゚ー゚) + (゚Θ゚))","5")
            aastring = aastring.replace("(゚ー゚)","4")
            aastring = aastring.replace("((o^_^o) - (゚Θ゚))","2")
            aastring = aastring.replace("(o^_^o)","3")
            aastring = aastring.replace("(゚Θ゚)","1")
            aastring = aastring.replace("(+!+[])","1")
            aastring = aastring.replace("(c^_^o)","0")
            aastring = aastring.replace("(0+0)","0")
            aastring = aastring.replace("(゚Д゚)[゚ε゚]","\\")
            aastring = aastring.replace("(3 +3 +0)","6")
            aastring = aastring.replace("(3 - 1 +0)","2")
            aastring = aastring.replace("(!+[]+!+[])","2")
            aastring = aastring.replace("(-~-~2)","4")
            aastring = aastring.replace("(-~-~1)","3")
            aastring = aastring.replace("(-~0)","1")
            aastring = aastring.replace("(-~1)","2")
            aastring = aastring.replace("(-~3)","4")
            aastring = aastring.replace("(0-0)","0")

            decodestring = re.search(r"\\\+([^(]+)", aastring, re.DOTALL | re.IGNORECASE).group(1)
            decodestring = "\\+"+ decodestring
            decodestring = decodestring.replace("+","")
            decodestring = decodestring.replace(" ","")

            decodestring = decode(decodestring)
            decodestring = decodestring.replace("\\/","/")

            if 'toString' in decodestring:
                base = re.compile(r"toString\(a\+(\d+)", re.DOTALL | re.IGNORECASE).findall(decodestring)[0]
                base = int(base)
                match = re.compile(r"(\(\d[^)]+\))", re.DOTALL | re.IGNORECASE).findall(decodestring)
                for repl in match:
                    match1 = re.compile(r"(\d+),(\d+)", re.DOTALL | re.IGNORECASE).findall(repl)
                    base2 = base + int(match1[0][0])
                    repl2 = base10toN(int(match1[0][1]),base2)
                    decodestring = decodestring.replace(repl,repl2)
                decodestring = decodestring.replace("+","")
                decodestring = decodestring.replace("\"","")
                videourl = re.search(r"(http[^\}]+)", decodestring, re.DOTALL | re.IGNORECASE).group(1)
            else:
                videourl = re.search(r"vr\s?=\s?\"|'([^\"']+)", decodestring, re.DOTALL | re.IGNORECASE).group(1)
            return videourl

        def decode(encoded):
            for octc in (c for c in re.findall(r'\\(\d{2,3})', encoded)):
                encoded = encoded.replace(r'\%s' % octc, chr(int(octc, 8)))
            return encoded.decode('utf8')
        # end https://github.com/whitecream01/WhiteCream-V0.0.1/blob/master/plugin.video.uwc/plugin.video.uwc-1.0.51.zip?raw=true


        videoUrl = decodeOpenLoad(result)
        control.log('[openload] - 1 %s' % url)

        return videoUrl
    except:
        #print("dupa")
        return