How to Show 10 urls links in line by line in Ob2 , using JS?

here is the js code

let input = "https://workupload.com/file/MAUFfhMtpUN<br>https://www.upload.ee/files/17586757/tabletrack-107nulled.rar.html<br>https://qiwi.gg/file/2nB61780-tabletrack-107nulled<br>https://pixeldrain.com/u/RBppq1Cd<br>https://www.mirrored.to/files/UF7UBYNE/tabletrack-107nulled.rar_links<br>https://mirrorace.org/m/7lFSz<br>https://krakenfiles.com/view/Jg6xTcG1wH/file.html<br>https://katfile.com/3mon8bv0l73i<br>https://hxfile.co/bqd0he1slxl3<br>https://ddownload.com/bps1lmq39k5c<br>https://clicknupload.one/drai8t5ocl9f<br>https://1fichier.com/?qey01bsi0fp9i5jlscpm<br>";

let separatedUrls = input.split("<br>").join("\n");

console.log(separatedUrls);

output result should be look like this .

====

for me it only say js execute but no output show…??

Try this, remember needs Node.js installed.

BLOCK:ConstantString
  value = "https://workupload.com/file/MAUFfhMtpUN<br>https://www.upload.ee/files/17586757/tabletrack-107nulled.rar.html<br>https://qiwi.gg/file/2nB61780-tabletrack-107nulled<br>https://pixeldrain.com/u/RBppq1Cd<br>https://www.mirrored.to/files/UF7UBYNE/tabletrack-107nulled.rar_links<br>https://mirrorace.org/m/7lFSz<br>https://krakenfiles.com/view/Jg6xTcG1wH/file.html<br>https://katfile.com/3mon8bv0l73i<br>https://hxfile.co/bqd0he1slxl3<br>https://ddownload.com/bps1lmq39k5c<br>https://clicknupload.one/drai8t5ocl9f<br>https://1fichier.com/?qey01bsi0fp9i5jlscpm<br>"
  => VAR @Urls
ENDBLOCK

BLOCK:Script
INTERPRETER:NodeJS
INPUT Urls
BEGIN SCRIPT
let input = Urls;

let separatedUrls = input.split("<br>").join("\n");

console.log(separatedUrls);
END SCRIPT
OUTPUT String @separatedUrls
ENDBLOCK
1 Like

i will try to test out. i found alternative solution , first i replace the
with comma , then i use a split function to parse each link with index.