Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I have a TXT with multiple URLs, one for each line. I want the script to go through all of them and perform the same action. I tried a bit but I didn't found the way. Is it possible to do?
@iagovar, Yes, use the while cycle. And resource for txt (https://youtu.be/ReQOJG3Tjsk)
Thank you, I'll look into it!
Well I'm back, I tried but I really don't know how to do it. I have a list of URLs in a txt and triet to use a "foreach" loop but didn't work.
@iagovar, show your script.
@iagovar, I understood: foreach work only with lists. Use read file to list.
Exemple: 0_1516392563631_someshtexmpl.xml
@Antonio Thank you so much Antonio, it worked. The only problem now is that the program stops if a URL failed to load :/
@iagovar, put "load page" in "ignore errors" block.
@Antonio :) Thank you again, you are so helpful! I'll drink a beer for you!
@iagovar, ok! :)
@Antonio Hi, can you please re-upload the video? I have the same situation and still don't know how to figure it out. Thank you.
@gasak, hi, it's not my video. Check my exemple script: Download exemple
http sniffer looks no problem
image.png
@Moastafi74 But when I run 20 threads there is absolutely no error
You already have a list of all those variables. So use "Get element" action from "List" module.
@berubah, To prevent this from happening, get the message id using the standard BAS method, and get the message text via curl or node.js