Monovski 4 Posted January 26, 2015 Report Share Posted January 26, 2015 Hello everyone, I have question about scraping table, How you scrape tabel like this: http://oi57.tinypic.com/oiafpy.jpg This is an online link checker which is: there 6 column where column "Found" "Acnhor" Follow" and "Pinged" is created by image how we scrape table like this? Thanks Quote Link to post Share on other sites
Monovski 4 Posted January 27, 2015 Author Report Share Posted January 27, 2015 you guys can try it at http://www.linkcheckpro.com/ this can save your bandwidht Quote Link to post Share on other sites
Bot-Factory 602 Posted January 28, 2015 Report Share Posted January 28, 2015 Hi. I would scrape the urls of the images (green checkbox and red cross)set(#xx, $scrape attribute(<tagname="img">, "src"), "Global") Add them to a list, loop through the list and identify the different images via their URL.They come in groups of 3. So for each URL you get 3 graphics.Hope that gives you an idea where to start. Dan Quote Link to post Share on other sites
Monovski 4 Posted January 29, 2015 Author Report Share Posted January 29, 2015 hi dan thanks I will try now Quote Link to post Share on other sites
Monovski 4 Posted January 29, 2015 Author Report Share Posted January 29, 2015 give up can't it Quote Link to post Share on other sites
Bot-Factory 602 Posted January 29, 2015 Report Share Posted January 29, 2015 We are here to help. Post your code and tell me where you struggle. I can take a look. Dan Quote Link to post Share on other sites
Monovski 4 Posted January 29, 2015 Author Report Share Posted January 29, 2015 Hi Dan, What the exact method, scrape table or scrape by attribute? navigate("http://www.linkcheckpro.com/","Wait")wait(2)type text(<name="domain">,"budiharyono.name","Standard")wait(1)ui block text("Website to scan",#Website to scan)wait(2)type text(<name="urls">,#Website to scan,"Standard")click(<value="SCAN URLS!">,"Left Click","No")wait for element(<innertext="Download: Dofollow | Nofollow | Links Found | Links Not Found">,"","Appear") Quote Link to post Share on other sites
Monovski 4 Posted January 29, 2015 Author Report Share Posted January 29, 2015 they provide download button but I try to download in ubot but not working. The point is I just need to know how scrape tabel like that. thanks dan Quote Link to post Share on other sites
Bot-Factory 602 Posted January 29, 2015 Report Share Posted January 29, 2015 Can you give me a working URL and Domain combination (you can PM them to me though)? I tried some stuff with google and ebay, but I don't get any positive results :-( Dan Quote Link to post Share on other sites
Bot-Factory 602 Posted January 29, 2015 Report Share Posted January 29, 2015 Here's how I would do it (urls removed from code!) navigate("http://www.linkcheckpro.com/index.php", "Wait")wait for browser event("Everything Loaded", "")type text(<name="domain">, "www.google.com", "Standard")type text(<name="urls">, "xxx", "Standard")click(<value="SCAN URLS!">, "Left Click", "No")wait for browser event("Everything Loaded", "")wait for element(<innertext="Links Not Found">, "", "Appear")set(#dofollow, $scrape attribute(<innertext="Dofollow">, "fullhref"), "Global")set(#nofollow, $scrape attribute(<innertext="Nofollow">, "fullhref"), "Global")set(#linksfound, $scrape attribute(<innertext="Links Found">, "fullhref"), "Global")set(#linksnotfound, $scrape attribute(<innertext="Links Not Found">, "fullhref"), "Global")download file(#dofollow, "d:\\dofollow.txt")download file(#nofollow, "d:\\nofollow.txt")download file(#linksfound, "d:\\linksfound.txt")download file(#linksnotfound, "d:\\linksnotfound.txt")alert("Done") 1 Quote Link to post Share on other sites
Monovski 4 Posted January 29, 2015 Author Report Share Posted January 29, 2015 Perfect! thanks dan but new PM sent 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.