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


how make a request.post to get a repond

View previous topic View next topic Go down

how make a request.post to get a repond

Post by adrianhn on Fri 9 Jun - 19:29


well i hope explain myself.
one site genvideos XD
use this link hxxp://genvideos.com/video_info/frame requesting a value in POST .. example v=Central_Intelligence_2016

and the site respond with a base64
eyIzNjAiOiJodHRwczpcL1wvbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbVwvRWtaNkJKZ0NKblpjZTNpQldxWmZTci0yZGc3RFR1MTlFQVM1V0RvbEwwQ3ctU2VBcFZBSkc0d0Rza0I5d0RQb2NULWxwSE5ra0E9bTE4IiwiNzIwIjoiaHR0cHM6XC9cL2xoMy5nb29nbGV1c2VyY29udGVudC5jb21cL0VrWjZCSmdDSm5aY2UzaUJXcVpmU3ItMmRnN0RUdTE5RUFTNVdEb2xMMEN3LVNlQXBWQUpHNHdEc2tCOXdEUG9jVC1scEhOa2tBPW0yMiIsIjEwODAiOiJodHRwczpcL1wvbGgzLmdvb2dsZXVzZXJjb250ZW50LmNvbVwvRWtaNkJKZ0NKblpjZTNpQldxWmZTci0yZGc3RFR1MTlFQVM1V0RvbEwwQ3ctU2VBcFZBSkc0d0Rza0I5d0RQb2NULWxwSE5ra0E9bTM3In0=

decoding is a gvideo
{"360":"https:\/\/lh3.googleusercontent.com\/EkZ6BJgCJnZce3iBWqZfSr-2dg7DTu19EAS5WDolL0Cw-SeApVAJG4wDskB9wDPocT-lpHNkkA=m18","720":"https:\/\/lh3.googleusercontent.com\/EkZ6BJgCJnZce3iBWqZfSr-2dg7DTu19EAS5WDolL0Cw-SeApVAJG4wDskB9wDPocT-lpHNkkA=m22","1080":"https:\/\/lh3.googleusercontent.com\/EkZ6BJgCJnZce3iBWqZfSr-2dg7DTu19EAS5WDolL0Cw-SeApVAJG4wDskB9wDPocT-lpHNkkA=m37"}

well see my idea.. Very Happy

someone can helpme to make a regex for make a request..
some like .

Code:
def LINK(url):
        url = re.split(r'#', url, re.I)[0]
        request_url = genvideos.com/video_info/iframe'
        link = OPEN_URL(url)
        form_data={'v': re.search(r'v\=(.*?)$',url,re.I).group(1)}
        headers = {'origin':'http://genvideos.org', 'referer': url,
                  'user-agent':baseurl,'x-requested-with':'XMLHttpRequest'}
        r = requests.post(request_url, data=form_data, headers=headers)
        try:
                url = re.findall(r'url\=(.*?)"', str(r.text), re.I|re.DOTALL)[-1]
        except:
                url = re.findall(r'url\=(.*?)"', str(r.text), re.I|re.DOTALL)[0]
        url = url.replace("&","&").replace('%3A',':').replace('%3D','=').replace('%2F','/')

thks .. for your ideas Very Happy

adrianhn

Messages : 8
Date d'inscription : 2017-04-17

View user profile

Back to top Go down

Re: how make a request.post to get a repond

Post by jujuuj on Sun 11 Jun - 12:41

Como es ? tienes que escribir "Central_Intelligence_2016" en "post"
y mandarlo para poder abrir el archivo ?
Y quieres una box que te permita teclearlo ?

No estoy seguro de lo que intentas hacer ... mandame tu item por MP
Y por favor explicanos en espa~nol , mejor Wink
avatar
jujuuj

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

View user profile

Back to top Go down

Re: how make a request.post to get a repond

Post by solved on Tue 18 Jul - 11:16

as u have difficulties to read english, (and spanish) ; I say that because u don't answer ...  i will talk in  ...  python

Code:

import pilas, adrian,
def supregunta()

   if  supregunta == yatengosolucion:
     return "solved"
   else :
     replace('repond', 'answer')

   try : <RAWPOST> in xml

   try:
    download addon script loguploader
    open(default.py)
    read('default.py !!!! , thepartwith-param={}')

   if nothappy(adrian) :
     return " HELP!"
   else :
     return "Solved / estoy en la playa"


solved

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

View user profile

Back to top Go down

Re: how make a request.post to get a repond

Post by adrianhn on Tue 18 Jul - 18:27

gracias !!

adrianhn

Messages : 8
Date d'inscription : 2017-04-17

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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