Advertisement
Guest User

Untitled

a guest
Jan 26th, 2020
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. const request = require('request')
  2. const fs = require('fs')
  3. counter = 24000
  4. async function start() {
  5.  
  6. var request_options = {
  7. url: 'http://lumtest.com/myip.json',
  8. proxy: 'http://localhost:' + counter,
  9. };
  10.  
  11. counter++;
  12. request.get(request_options, function (error, response, html) {
  13. console.log(response.caseless.get('x-lpm-authorization'))
  14. })
  15.  
  16.  
  17.  
  18. if (counter < 25000) {
  19. start()
  20. }
  21. }
  22. start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement