Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

280
Vistas
How to convert the inputs of a document.write from a proxy site. To something i can decode in python

I am trying to scrape a list of proxies from a website. The port data of a proxy on the given website executes a script that contains the following.

document.write(":"+(ZeroFiveSevenFive^FiveSevenOne)+(Eight5EightFour^Seven3Zero))

and in the browser, the string :80 is displayed.

If you run that command in the console opened at a webpage like StackOverflow. It returns

VM36:1 Uncaught ReferenceError: Zero1EightZero is not defined
    at <anonymous>:1:21

What I want is to feed '(ZeroFiveSevenFive^FiveSevenOne)+(Eight5EightFour^Seven3Zero)' string I get from my beautiful soup setup into a python function of some sort and return :80

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

As suggested by @Barmar instead of the python requests library I used selenium and executed the script and got the answer I expected.

driver.execute_script('document.write(document.write(":"+(ZeroFiveSevenFive^FiveSevenOne)+(Eight5EightFour^Seven3Zero)))

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda