Any Way To Scrape Youtube Autocomplete?

I didn't notice anything for this in the built in Youtube connector, but is there any way to grab the autocomplete suggestions on Youtube, similar to the XPathOnURL example in the cookbook for Google Suggested Searches? None of the methods I've tried so far seem to be working.

I think Google makes it difficult to scrape these. Anything with an API should be possible to make into a connector (in some extent).

Tomhuoy, have you tried this? http://shreyaschand.com/blog/2013/01/03/google-autocomplete-api/

The requests are available in both XML and Json responses.

Thank you!, that was even simpler than I thought. Basically all you need to do is slightly modify the formula in the cookbook example for scraping google suggestions to include one additional parameter, "&ds=yt", such as in the example below:

=Dump(XPathOnUrl("http://"&B2&"/complete/search?output=toolbar&ds=yt&q="&UrlEncode(B1),"/toplevel/completesuggestion/suggestion","data"))
3 Likes