On Thu, Sep 26, 2013 at 11:13 AM, Bill <b...@bill.com> wrote: > I have been using the script youtube-dl > http://rg3.github.io/youtube-**dl/<http://rg3.github.io/youtube-dl/> > > And I was wondering if there is a way to download all of a user's > favorites or uploads. > > The script has a functionality to download all videos in a txt file. So if > there is a way using the youtube API or JSON (none of which I am familiar > with) to bring up a list of all these videos then it'd be a simple case > putting these urls into a file. > > The problem is youtube displays favorites or user uploads in pages or > infinite scroll. So it is difficult to access them by the BeautifulSoup > module. > > > What do you suggest? > -- > https://mail.python.org/**mailman/listinfo/python-list<https://mail.python.org/mailman/listinfo/python-list> >
Have you looked at the youtube API? That would be better than screen scraping. https://developers.google.com/youtube/getting_started -- Joel Goldstick http://joelgoldstick.com
-- https://mail.python.org/mailman/listinfo/python-list