added function to parse input
Merge branch 'master' of github.com:jeffreychien/socialyoutube