davidford76 12 Posted April 2, 2016 Report Share Posted April 2, 2016 I have built a proxy scraper but I have to see how I can merge the 2 text files together. It was not able to scrape both proxy and port at the same time so I had to do 2 different add list to list. As a result I have 1 text file saved as proxies and 1 saved as ports. I also have a pic attached that shows what I'm dealing with. Help on this is appreciated. Quote Link to post Share on other sites
deliter 203 Posted April 2, 2016 Report Share Posted April 2, 2016 untested but should work,add this underneath the port list in your script if($comparison($list total(%proxies),"=",$list total(%port))) { then { set(#position,0,"Global") loop($list total(%proxies)) { add item to list(%mergedList,"{$list item(%proxies,#position)}:{$list item(%port,#position)}","Don\'t Delete","Global") increment(#position) } } else { alert("scraping error,proxies and port should be of equal length") } } then save that file instead 1 Quote Link to post Share on other sites
davidford76 12 Posted April 3, 2016 Author Report Share Posted April 3, 2016 Looks like a interesting method. I will have to try that out tonight and see if it works.Thanks for the reply. Quote Link to post Share on other sites
davidford76 12 Posted April 3, 2016 Author Report Share Posted April 3, 2016 Yes sir reeeee... I just put it together and it works great. Of course I am about to make myself another video showing step by step how it works so if I need it again it won't take days for me to figure it out. Thanks a lot for your help on it. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.