On Fri, Apr 19, 2013 at 9:44 PM, Sayan Chatterjee <sayanchatter...@gmail.com> wrote: > Dear All, > > I want to download some music from youtube.There are already marvellous > python scripts like youtube-dl which downloads videos and playlists from > numerous sites,but what I want to do is to download videos from youtube with > a search string. The user will give a search string, and the script will > download first 20(say) videos from the youtube.The script will use > youtube-dl on the backend and avconv tool for video to MP3 conversion etc. > > How should I proceed to make such a script. I am a newbie in Python but I am > sure with your guidance I can pick it up quite fast. :)
May be take a look at the YouTube Data API? [1] Hopefully, the Getting Started section will help you [2]. [1] https://developers.google.com/youtube/1.0/developers_guide_python#SearchingVideos [2] https://developers.google.com/youtube/1.0/developers_guide_python#GettingStarted Best, Amit. -- http://amitsaha.github.com/ _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor