Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

279
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!