webpro 31 Posted October 24, 2015 Report Share Posted October 24, 2015 Anyone knows where i could find a tutorial on the LIST SCRAPER command ?I don't know what to enter in the INPUT field, as weird as it seems? While at it I'm trying to grab the number of urls/lines/items on a list (or a saved file), so i can show it with UI STATS Ex:Ok now you got 121 urls scraped so far... Let me knowThanks Quote Link to post Share on other sites
botsimmer 16 Posted October 24, 2015 Report Share Posted October 24, 2015 I was asking the same question also.This is what I came up with and works for various sites: plugin command("HTTP post.dll", "list scraper", $plugin function("HTTP post.dll", "$http post", "http://www.somewebsite.com","", "", "", "", ""), "URLs", %url_list) load html(#output)stop script Cannot seem to get it working for the big G though 1 Quote Link to post Share on other sites
webpro 31 Posted October 26, 2015 Author Report Share Posted October 26, 2015 What would be cool is if we could STAT UI what we see in the debugger ?Ex: you have a %list growing up as you scrape pages, well you could show the number in a UI STAT. Right now if you do this, it shows everything that's in the list! So let's say it's urls in the %list, well the top panel will get filled with the urls when all i want to show is the number like in the debuggerDebugger shows %list 85Well i want 85 to show up nothttp://www.site.com/whatever/1http://www.site.com/whatever/32http://www.site.com/whatever/43234http://www.site.com/whatever/122http://www.site.com/whatever/7657etc... Quote Link to post Share on other sites
stanf 43 Posted October 26, 2015 Report Share Posted October 26, 2015 Doing this on my phone so i cant code......NUMBER OF ITEMS IN A LISTUistat (%listtotal =name of list) 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.