Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

286
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda