TOOLSP
"
WELCOME !

Please ! Use [CODE] tags for your LINKS and CODE.
Favor usar balisas [CODE] para sus vínculos y código.
Merci d'utiliser les balises [CODE] pour vos liens et code.

[code]http://Thank.you[/code]
"
*** GITHUB ***
.
.
URL Resolver [GIT]
.
.
.
.
Jx Update [REDIRECT]
.
.
*** Associated ***
.
Pastebin Your list online
.
mediafire Upload Files
.
imgur Upload Pics
lyngsat TV logos collection
transparent .png
.
http://hola.org free? VPN
Hola.apk free? VPN App.
.
hidester- free Proxy
.
webgrabplus EPG - Eng
xmltv EPG - Fr
kazer EPG - Fr
.
.wordreference Traduction
.
mail.com (fast sign-in)
.
.
Latest topics
» Regex for my favori serie
Sun 24 Sep - 21:12 by beezlo

» help regex
Fri 22 Sep - 21:08 by mickydoo

» I need i little help please!
Wed 20 Sep - 18:24 by jujuuj

» some help with vaughn or ustream .TV
Wed 20 Sep - 0:56 by adrianhn

» Xbmc tool box / Xbmc gui (Kodi)
Mon 18 Sep - 18:16 by oxus

» how to play this in kodi
Mon 11 Sep - 8:25 by retrorat1

» Where to put your list
Sun 10 Sep - 14:29 by oxus

FRIENDS / PARTNERS

forum

créer un forum


help htpasswd htaccess £$π

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

help htpasswd htaccess £$π

Post by mickydoo on Mon 15 May - 13:13

Hello,
After several unsuccessful attempts I come to you.
I would like to protect my page with htaccess and htpasswd
And it is possible to do so

An example of a link that I will have to put in "add url"
http: // username: password@www.livestrampro.com/link.txt
thank you

bonjour,
aprés plusieurs essais sans succés je viens vers vous.
j'aimerai protégée ma page avec htaccess et htpasswd
et il possible de le faire

un exemple de lien que je devrai mettre dans "add url"
http:/ /login:password@www.livestrampro.com/link.txt
merci


Last edited by Admin on Fri 23 Jun - 14:33; edited 2 times in total (Reason for editing : erreur)

mickydoo

Messages : 9
Date d'inscription : 2017-05-10

View user profile

Back to top Go down

username&password for a LINK

Post by jujuuj on Mon 15 May - 23:03

You are a very lucky person ...

This is precisely what i was doing today ...

check this very new thing I built, with some pieces of code that twogun gave me :

Code:


<item>
<title>2ble INPUT BOX :  your list
( username = ?  password = ? )</title>              
<link>NA</link>
<externallink>$doregex[getinput]</externallink>

<regex>
<name>getinput</name>
<expres><![CDATA[#$pyFunction
import xbmcgui,xbmc, xbmcaddon, time

def GetLSProData(page_data,Cookie_Jar,m,txt1='Enter Username?',txt2='Enter Password?'):
    addon = xbmcaddon.Addon('plugin.video.live.streamspro')
    addon_version = addon.getAddonInfo('version')
    profile = xbmc.translatePath(addon.getAddonInfo('profile').decode('utf-8'))
  
    solver1 = InputWindow1( txt1=txt1)
    solution1 = solver1.get()
    
    solver2 = InputWindow2( txt2=txt2)
    solution2 = solver2.get()
    
    solution = 'http://' + solution1 + ':' + solution2 + '@www.livestrampro.com/link.txt'
    return solution
    
    
class InputWindow1(xbmcgui.WindowDialog):
    def __init__(self1, *args, **kwargs):

        self1.txt1 = kwargs.get('txt1','')

        xbmcgui.WindowXMLDialog.__init__(self1)
        #self1.addControl(self1.txt1)
        path = xbmcaddon.Addon().getAddonInfo('path')
        self1.kbd = xbmc.Keyboard()
        self1.kbd.setHeading( self1.txt1)

    def get(self1):
        self1.show()
        time.sleep(1)
        self1.kbd.doModal()
        if (self1.kbd.isConfirmed()):
            text1 = self1.kbd.getText()
            self1.close()
            return text1
        self1.close()
        return False

        
class InputWindow2(xbmcgui.WindowDialog):
    def __init__(self2, *args, **kwargs):

        self2.txt2 = kwargs.get('txt2','')

        xbmcgui.WindowXMLDialog.__init__(self2)
        #self2.addControl(self2.txt2)
        path = xbmcaddon.Addon().getAddonInfo('path')
        self2.kbd = xbmc.Keyboard()
        self2.kbd.setHeading( self2.txt2)

    def get(self2):
        self2.show()
        time.sleep(1)
        self2.kbd.doModal()
        if (self2.kbd.isConfirmed()):
            text2 = self2.kbd.getText()
            self2.close()
            return text2
        self2.close()
        return False

]]></expres>
<page></page>
</regex>
</item>


Send me the result by PM  !!  I want to visit it !!

bye all


Last edited by jujuuj on Tue 16 May - 15:43; edited 1 time in total
avatar
jujuuj

Messages : 88
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by twogun on Mon 15 May - 23:58

jujuuj wrote:You are a very lucky person ...

This is precisely what i was doing today ...

check this very new thing I built, with some pieces of code that twogun gave me :

Code:

 . . .


Send me the result by PM  !!  I want to visit it !!

bye all

Good job making use of the code I sent you. Allow me to address the fact that you code is almost twice the size it should be. You only need 1 InputWindow class then you can reuse the code.  Just reassign the variable values.  Like this:

Code:
<item>
<title>2ble INPUT BOX :  your list
( username = ?  password = ? )</title>              
<link>NA</link>
<externallink>$doregex[getinput]</externallink>

<regex>
<name>getinput</name>

<expres><![CDATA[#$pyFunction
import xbmcgui,xbmc, xbmcaddon, time

def GetLSProData(page_data, Cookie_Jar,m, txt1='Enter Username?', txt2='Enter Password?'):
    addon = xbmcaddon.Addon('plugin.video.live.streamspro')
    addon_version = addon.getAddonInfo('version')
    profile = xbmc.translatePath(addon.getAddonInfo('profile').decode('utf-8'))

    solver = InputWindow( txt=txt1)
    solution1 = solver.get()
    solver = InputWindow( txt=txt2)
    solution2 = solver.get()
    return 'http://' + solution1 + ':' + solution2 + '@www.livestrampro.com/link.txt'


class InputWindow(xbmcgui.WindowDialog):
    def __init__(self, *args, **kwargs):

        self.txt = kwargs.get('txt','')

        xbmcgui.WindowXMLDialog.__init__(self)
        #self.addControl(self.txt)
        path = xbmcaddon.Addon().getAddonInfo('path')
        self.kbd = xbmc.Keyboard()
        self.kbd.setHeading( self.txt)

    def get(self):
        self.show()
        time.sleep(2)
        self.kbd.doModal()
        if (self.kbd.isConfirmed()):
            text = self.kbd.getText()
            self.close()
            return text
        self.close()
        return False

]]></expres>
<page></page>
</regex>
</item>


Last edited by twogun on Tue 16 May - 13:51; edited 1 time in total
avatar
twogun

Messages : 33
Date d'inscription : 2017-04-03

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by mickydoo on Tue 16 May - 12:10

Hello,
Thanks for coding
Unfortunately I can not get my menu
Can be that I mistakenly takes
Surely a beginner error
It looks like he wants to read a video
And not display the menu
Here is a sample of config
thank you

bonjour,
merci pour se code
malheureusement je n'arrive pas à avoir mon menu
peut etre que je mis prend mal
surement une erreur de débutant
on dirait qu'il veut lire une video
et non affichier le menu
voici un expemple de config
merci
Code:

<item>
<title>2ble INPUT BOX :  your list
( username = ?  password = ? )</title>            
<link>$doregex[getinput]</link>

<regex>
<name>getinput</name>

<expres><![CDATA[#$pyFunction
import xbmcgui,xbmc, xbmcaddon, time

def GetLSProData(page_data, Cookie_Jar,m, txt1='Enter Username?', txt2='Enter Password?'):
    addon = xbmcaddon.Addon('plugin.video.live.streamspro')
    addon_version = addon.getAddonInfo('version')
    profile = xbmc.translatePath(addon.getAddonInfo('profile').decode('utf-8'))

    solver = InputWindow( txt=txt1)
    solution1 = solver.get()
    solver = InputWindow( txt=txt2)
    solution2 = solver.get()
    return 'http://' + solution1 + ':' + solution2 + '@http://my-site.com/iptv.txt'


class InputWindow(xbmcgui.WindowDialog):
    def __init__(self, *args, **kwargs):

        self.txt = kwargs.get('txt','')

        xbmcgui.WindowXMLDialog.__init__(self)
        #self.addControl(self.txt)
        path = xbmcaddon.Addon().getAddonInfo('path')
        self.kbd = xbmc.Keyboard()
        self.kbd.setHeading( self.txt)

    def get(self):
        self.show()
        time.sleep(2)
        self.kbd.doModal()
        if (self.kbd.isConfirmed()):
            text = self.kbd.getText()
            self.close()
            return text
        self.close()
        return False

]]></expres>
<page></page>
</regex>
</item>


mickydoo

Messages : 9
Date d'inscription : 2017-05-10

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by twogun on Tue 16 May - 13:49

@mickydoo
Yes it is trying to play the video.

Play video -
If it is a single stream you call regex from the link tag:
Code:
<item>
<title>2ble INPUT BOX :  your list
( username = ?  password = ? )</title>            
<link>$doregex[getinput]</link>

Menu -
If it is a whole list or list of list, you call regex from externallink:
Code:
<item>
<title>2ble INPUT BOX :  your list
( username = ?  password = ? )</title>              
<link>NA</link>
<externallink>$doregex[getinput]</externallink>

While I have not examined the content of your site.  (it is password protected).  You comments lead me to believe you need to use externallink.

I've updated the code on my previous post to use externallink since that seems to be the solution you need.
avatar
twogun

Messages : 33
Date d'inscription : 2017-04-03

View user profile

Back to top Go down

username&password to an external LIST

Post by jujuuj on Tue 16 May - 15:40

Of course !

Sorry I gave you the wrong version ...

As twogun said, my item is opening a <link>
... when you probably need to open a list (using <externallink>)

first correction

<item>
<title>2ble INPUT BOX :  your list
( username = ?  password = ? )</title>            
<link>NA</link>
<externallink>$doregex[getinput]</externallink>

<regex>
<name>getinput</name>

<expres><![CDATA[#$pyFunction
import xbmcgui,xbmc, xbmcaddon, time

def GetLSProData(page_data, Cookie_Jar,m, txt1='Enter Username?', txt2='Enter Password?'):
   addon = xbmcaddon.Addon('plugin.video.live.streamspro')
   addon_version = addon.getAddonInfo('version')
   profile = xbmc.translatePath(addon.getAddonInfo('profile').decode('utf-8'))

   solver = InputWindow( txt=txt1)
   solution1 = solver.get()
   solver = InputWindow( txt=txt2)
   solution2 = solver.get()
   return 'http://' + solution1 + ':' + solution2 + '@http://my-site.com/iptv.txt'


class InputWindow(xbmcgui.WindowDialog):
   def __init__(self, *args, **kwargs):

       self.txt = kwargs.get('txt','')

       xbmcgui.WindowXMLDialog.__init__(self)
       #self.addControl(self.txt)
       path = xbmcaddon.Addon().getAddonInfo('path')
       self.kbd = xbmc.Keyboard()
       self.kbd.setHeading( self.txt)

   def get(self):
       self.show()
       time.sleep(2)
       self.kbd.doModal()
       if (self.kbd.isConfirmed()):
           text = self.kbd.getText()
           self.close()
           return text
       self.close()
       return False

]]></expres>
<page></page>
</regex>
</item>
avatar
jujuuj

Messages : 88
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by jujuuj on Tue 16 May - 15:50

twogun wrote:code is almost twice the size it should be. You only need 1 InputWindow class then you can reuse the code.  Just reassign the variable values.  Like this:

Code:
<item>
<title>2ble INPUT BOX :  your list
( username = ?  password = ? )</title>              
<link>NA</link>
<externallink>$doregex[getinput]</externallink>

<regex>
<name>getinput</name>

<expres><![CDATA[#$pyFunction
import xbmcgui,xbmc, xbmcaddon, time

def GetLSProData(page_data, Cookie_Jar,m, txt1='Enter Username?', txt2='Enter Password?'):
    addon = xbmcaddon.Addon('plugin.video.live.streamspro')
    addon_version = addon.getAddonInfo('version')
    profile = xbmc.translatePath(addon.getAddonInfo('profile').decode('utf-8'))

    solver = InputWindow( txt=txt1)
    solution1 = solver.get()
    solver = InputWindow( txt=txt2)
    solution2 = solver.get()
    return 'http://' + solution1 + ':' + solution2 + '@www.livestrampro.com/link.txt'


class InputWindow(xbmcgui.WindowDialog):
    def __init__(self, *args, **kwargs):

        self.txt = kwargs.get('txt','')

        xbmcgui.WindowXMLDialog.__init__(self)
        #self.addControl(self.txt)
        path = xbmcaddon.Addon().getAddonInfo('path')
        self.kbd = xbmc.Keyboard()
        self.kbd.setHeading( self.txt)

    def get(self):
        self.show()
        time.sleep(2)
        self.kbd.doModal()
        if (self.kbd.isConfirmed()):
            text = self.kbd.getText()
            self.close()
            return text
        self.close()
        return False

]]></expres>
<page></page>
</regex>
</item>

Thanks ! for cleaning my disorder Wink it looks better I must admit ...
avatar
jujuuj

Messages : 88
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by jujuuj on Tue 16 May - 15:53

@mickydoo :  tell us if it's OK now  (& let me visit !!)

@twogun :  after checking, that was a very nice cleaning !!
It  was so hard to build ... and it looks so simple now ... lol  Laughing
avatar
jujuuj

Messages : 88
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by mickydoo on Tue 16 May - 16:54

I try to make the regex work but impossible
Error 11003

mickydoo

Messages : 9
Date d'inscription : 2017-05-10

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by JonnyB on Tue 16 May - 17:55

Hi,

That is very interesting, is it possible to post an .htaccess and .htpasswd that will work with the code?

Thanks

JonnyB

Messages : 9
Date d'inscription : 2017-04-18

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by twogun on Tue 16 May - 18:27

Now that I've got to examine the server I see that the server is encoding the user:pass data with base64 then passing it along via the headers.

The below code will do the trick.  The only problem is if your externallink links to more files/pages on the same server that are password protected then you will need to pass the same data again via headers.  So while this completes the login process, It doesn't complete your code.  I'm out of time so I'll look at it more latter.

Code:

<item>
<title>2ble INPUT BOX :  your list
( username = ?  password = ? )</title>            
<link>ignore</link>
<externallink>http://mickydoo50.tk/link/iptv.txt|Authorization=Basic $doregex[getinput]</externallink>

<regex>
<name>getinput</name>

<expres><![CDATA[#$pyFunction
import xbmcgui,xbmc, xbmcaddon, time, base64

def GetLSProData(page_data, Cookie_Jar,m, txt1='Enter Username?', txt2='Enter Password?'):
    addon = xbmcaddon.Addon('plugin.video.live.streamspro')
    addon_version = addon.getAddonInfo('version')
    profile = xbmc.translatePath(addon.getAddonInfo('profile').decode('utf-8'))

    solver = InputWindow( txt=txt1)
    solution1 = solver.get()
    solver = InputWindow( txt=txt2)
    solution2 = solver.get()
    return base64.b64encode(solution1 + ':' + solution2)


class InputWindow(xbmcgui.WindowDialog):
    def __init__(self, *args, **kwargs):

        self.txt = kwargs.get('txt','')

        xbmcgui.WindowXMLDialog.__init__(self)
        #self.addControl(self.txt)
        path = xbmcaddon.Addon().getAddonInfo('path')
        self.kbd = xbmc.Keyboard()
        self.kbd.setHeading( self.txt)

    def get(self):
        self.show()
        time.sleep(2)
        self.kbd.doModal()
        if (self.kbd.isConfirmed()):
            text = self.kbd.getText()
            self.close()
            return text
        self.close()
        return False

]]></expres>
<page></page>
</regex>
</item>


Last edited by twogun on Tue 16 May - 18:34; edited 1 time in total (Reason for editing : :shock: to see if emoticons work in this area :()
avatar
twogun

Messages : 33
Date d'inscription : 2017-04-03

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by twogun on Tue 16 May - 18:31

jujuuj wrote:@mickydoo :  tell us if it's OK now  (& let me visit !!)

@twogun :  after checking, that was a very nice cleaning !!
It  was so hard to build ... and it looks so simple now ... lol  Laughing

Just like you I'm still learning. When I first started I had very little help and not much resources. There is so much more stuff now to help a person get started, but on the other hand it seems there is even more to learn.
avatar
twogun

Messages : 33
Date d'inscription : 2017-04-03

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by mickydoo on Tue 16 May - 19:00

Hello For me the code works perfectly A big thanks to you 2

mickydoo

Messages : 9
Date d'inscription : 2017-05-10

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by mickydoo on Wed 17 May - 15:21

JonnyB wrote:Hi,

That is very interesting, is it possible to post an .htaccess and .htpasswd that will work with the code?

Thanks
hello
.htaccess
Code:
AuthName "Page d'administration protégée"
AuthType Basic
AuthUserFile "/home/site/www/admin/.htpasswd" "adress php  pach" paste ici
Require valid-user
Create a file called path.php.
Copy paste this line of code inside
Code:
<?php echo realpath('chemin.php'); ?>

For the htpasswd you just have to create a file named .htpasswd
crypte password
Code:

<?php
if (isset($_POST['login']) AND isset($_POST['pass']))
{
    $login = $_POST['login'];
    $pass_crypte = crypt($_POST['pass']); // On crypte le mot de passe

    echo '<p>Ligne à copier dans le .htpasswd :<br />' . $login . ':' . $pass_crypte . '</p>';
}

else // On n'a pas encore rempli le formulaire
{
?>

<p>Entrez votre login et votre mot de passe pour le crypter.</p>

<form method="post">
    <p>
        Login : <input type="text" name="login"><br />
        Mot de passe : <input type="text" name="pass"><br /><br />
   
        <input type="submit" value="Crypter !">
    </p>
</form>

<?php
}
?>


mickydoo

Messages : 9
Date d'inscription : 2017-05-10

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by JonnyB on Fri 19 May - 1:08

Hi,

Thanks, I tried to get it work in atspace(dot)com free account and did not work but have to look better at it later.

Thanks

JonnyB

Messages : 9
Date d'inscription : 2017-04-18

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by twogun on Fri 19 May - 16:39

JonnyB wrote:Hi,

Thanks, I tried to get it work in atspace(dot)com free account and did not work but have to look better at it later.

Thanks

atspace looks nice. I might give them a try.
avatar
twogun

Messages : 33
Date d'inscription : 2017-04-03

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by mickydoo on Mon 19 Jun - 13:46

Hello,
I am wondering how to keep the connection for not having to put the login and password each time
Can be a cookie?

mickydoo

Messages : 9
Date d'inscription : 2017-05-10

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by jujuuj on Sat 24 Jun - 14:48

actually, we are working on it ...

Check that example of Password Recording (made by Twogun)

But we still have to "double" the recording action
(for password, AND USER recording)

and adapt it ... except if you want to see big bunny ... affraid affraid

(and find a way to 'clear memory' ...)

Code:

 
<item>
<title>Password protected w/ recorded password - Big Buck Bunny (password = test)</title>
<link>$doregex[getinput]</link>

<regex>
<name>getinput</name>

<expres><![CDATA[#$pyFunction
import xbmcgui,xbmc, xbmcaddon, time, base64

def GetLSProData(page_data,Cookie_Jar,m):
    path = xbmc.translatePath("special://profile/addon_data/" + "plugin.video.live.streamspro/passwBIGBUCK")
    try:
        f = open(path, 'r')
        solution = f.read()
        f.close()
        if base64.b64decode(solution) == 'test':
            return play()
    except:
        pass
    txt='Enter Password?'
    addon = xbmcaddon.Addon('plugin.video.live.streamspro')
    addon_version = addon.getAddonInfo('version')
    profile = xbmc.translatePath(addon.getAddonInfo('profile').decode('utf-8'))

    solver = InputWindow( txt=txt)
    solution = solver.get()

    f = open(path, 'w')
    f.write(base64.b64encode(solution))
    f.close()

    if solution == 'test':
        return play()
    else:
        return ''

class InputWindow(xbmcgui.WindowDialog):
    def __init__(self, *args, **kwargs):

        self.txt = kwargs.get('txt','')

        xbmcgui.WindowXMLDialog.__init__(self)
        #self.addControl(self.txt)
        path = xbmcaddon.Addon().getAddonInfo('path')
        self.kbd = xbmc.Keyboard()
        self.kbd.setHeading( self.txt)

    def get(self):
        self.show()
        time.sleep(2)
        self.kbd.doModal()
        if (self.kbd.isConfirmed()):
            text = self.kbd.getText()
            self.close()
            return text
        self.close()
        return False

def play():
    return 'http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4'
]]></expres>
<page></page>
</regex>
</item>


See HOW NICE it is asking for password on first time
and record it ! [ Here : .../addon_data/plugin.video.live.streamspro/passwBIGBUCK ]
At second attempt, you'll enter directly (as the regex first look for a 'password in memory' before asking for it ...

This is the tool ... now GL Wink
avatar
jujuuj

Messages : 88
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by solved on Tue 27 Jun - 0:25


First question was solved (??)

solved

Messages : 19
Date d'inscription : 2017-06-27

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by maxwel on Fri 7 Jul - 0:46

Can someone check this code for me please?
Code:
<item>
<title>Password protected w/ recorded password - url pastebin (password = test)</title>
<link>$doregex[getinput]</link>

<regex>
<name>getinput</name>

<expres><![CDATA[#$pyFunction
import xbmcgui,xbmc, xbmcaddon, time, base64

def GetLSProData(page_data,Cookie_Jar,m):
    path = xbmc.translatePath("special://profile/addon_data/" + "plugin.video.live.streamspro/passwBIGBUCK")
    try:
        f = open(path, 'r')
        solution = f.read()
        f.close()
        if base64.b64decode(solution) == 'test':
            return xml()
    except:
        pass
    txt='Enter Password?'
    addon = xbmcaddon.Addon('plugin.video.live.streamspro')
    addon_version = addon.getAddonInfo('version')
    profile = xbmc.translatePath(addon.getAddonInfo('profile').decode('utf-8'))

    solver = InputWindow( txt=txt)
    solution = solver.get()

    f = open(path, 'w')
    f.write(base64.b64encode(solution))
    f.close()

    if solution == 'test':
        return get_url()
    else:
        return ''

class InputWindow(xbmcgui.WindowDialog):
    def __init__(self, *args, **kwargs):

        self.txt = kwargs.get('txt','')

        xbmcgui.WindowXMLDialog.__init__(self)
        #self.addControl(self.txt)
        path = xbmcaddon.Addon().getAddonInfo('path')
        self.kbd = xbmc.Keyboard()
        self.kbd.setHeading( self.txt)

    def get(self):
        self.show()
        time.sleep(2)
        self.kbd.doModal()
        if (self.kbd.isConfirmed()):
            text = self.kbd.getText()
            self.close()
            return text
        self.close()
        return False

def get_url():
    return 'https://pastebin.com/raw/5KTqErt6'
]]></expres>
<page></page>
</regex>
</item>

maxwel

Messages : 13
Date d'inscription : 2017-06-29

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by maxwel on Fri 7 Jul - 15:26

Un peu d'aide SVP.

maxwel

Messages : 13
Date d'inscription : 2017-06-29

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by jujuuj on Fri 7 Jul - 18:54

attends .. on se baigne et après on s'en occupe ... Wink
avatar
jujuuj

Messages : 88
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by jujuuj on Fri 7 Jul - 18:59

ah mais non c tout simple ... tu veux ouvrir quoi ? un lien ou bien une liste ?

une liste ... bin oui ... donc il faut que tu utilises un <externallink> et pas un simple <link> ...

du coup, remplace dans ton code cette ligne :
<link>$doregex[getinput]</link>

par ces deux lignes :
<link>on-s-en-fout</link>
<externallink>$doregex[getinput]</externallink>

(mais ne supprime pas la ligne <link> pour autant ...)
avatar
jujuuj

Messages : 88
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by maxwel on Fri 7 Jul - 19:08

Oh merci pour ta reponse, je veux ouvrir un lien.. donc je vais essayer rapidement et je te mettrai au courant..

Merci

maxwel

Messages : 13
Date d'inscription : 2017-06-29

View user profile

Back to top Go down

Re: help htpasswd htaccess £$π

Post by maxwel on Fri 7 Jul - 19:14

dois-je mettre mon lien ici ou je dois modifier un peu?
def play():
return 'http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4'

maxwel

Messages : 13
Date d'inscription : 2017-06-29

View user profile

Back to top Go down

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum