Skip to content

Commit

Permalink
Edit output format for crawl.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Xian55 committed Apr 30, 2023
1 parent 1b7b6b1 commit 249b0b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crawl.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// crawls poxy server addresses from https://spys.one/europe-proxy/
// output format:
// new Uri("PROTOCOL://ADDRESS:PORT"),
// PROTOCOL://ADDRESS:PORT

var address = [];
for (var item of document.querySelectorAll(".spy14")) {
Expand All @@ -24,5 +24,5 @@ for (i = 0; i < address.length; i++) {
console.log(output);

function genProxy(protocol, address) {
return `new Uri(\"${protocol}://${address}\"),\n`
return `${protocol}://${address}`
}

0 comments on commit 249b0b5

Please sign in to comment.