[Tutor] Python Script: Downloading Youtube videos by search result
Amit Saha
amitsaha.in at gmail.com
Sat Apr 20 00:48:43 CEST 2013
On Fri, Apr 19, 2013 at 9:44 PM, Sayan Chatterjee
<sayanchatterjee at 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/
More information about the Tutor
mailing list