freebo 0 Posted October 2, 2013 Report Share Posted October 2, 2013 new to ubot 4 i m trying to scrape urls of video in youtube here are the steps : the links with watch v = ....... go to youtube put the search query and in brings up list off the result here where i struggle to find what i want !! i tryed with the thumb href // not working i tryed with the title href // not working i used add list to list then tryed to scrape by attribute i would like to grab the urls of my results any help about this would be greatly appreciated tnx in advance guys Quote Link to post Share on other sites
Gogetta 263 Posted October 2, 2013 Report Share Posted October 2, 2013 It can be done with something like this. navigate("http://www.youtube.com/results?search_query=gta+5+online&oq=gta+5+online&gs_l=youtube.3..0i3l3j0l7.2760.4195.0.4343.9.6.0.3.3.0.74.353.6.6.0...0.0...1ac.1.11.youtube.6BBFtfnsxmM", "Wait") wait for element(<class=w"yt-uix-sessionlink yt-uix-tile-link yt-uix-contextlink*">, "", "Appear") change attribute(<href=w"*googleads.g.doubleclick.net*">, "href", $nothing) clear list(%data) add list to list(%data, $scrape attribute(<href=w"/watch?v=*">, "fullhref"), "Delete", "Global") 1 Quote Link to post Share on other sites
freebo 0 Posted October 2, 2013 Author Report Share Posted October 2, 2013 thanks you very much for your reply solved my question , is there a wait that i can get the video file and download 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.