Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54845
| From | Bill <bill@bill.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Download all youtube favorites with youtube-dl script |
| References | <AaY0u.152844$6P7.33824@fx26.am4> <mailman.357.1380208880.18130.python-list@python.org> |
| Message-ID | <eQ_0u.115750$G02.26251@fx13.am4> (permalink) |
| Organization | virginmedia.com |
| Date | 2013-09-26 19:14 +0100 |
Joel Goldstick wrote: > > > > On Thu, Sep 26, 2013 at 11:13 AM, Bill <Bill@bill.com > <mailto:Bill@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 I remember looking at this a while ago. These are the relevant sections of the API: https://developers.google.com/youtube/2.0/developers_guide_protocol?hl=en#User_Uploaded_Videos https://developers.google.com/youtube/2.0/developers_guide_protocol?hl=en#Favorite_Videos The problem with the API is that with both of these, it only brings up 25 videos e.g. https://gdata.youtube.com/feeds/api/users/scooby1961/uploads Unless I'm missing something? There must be a way to bring up all of them on one page right? Or at least cycle through the rest of them. Same problem with favorties: https://gdata.youtube.com/feeds/api/users/adambuxton/favorites/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Download all youtube favorites with youtube-dl script Bill <Bill@bill.com> - 2013-09-26 16:13 +0100
Re: Download all youtube favorites with youtube-dl script Joel Goldstick <joel.goldstick@gmail.com> - 2013-09-26 11:21 -0400
Re: Download all youtube favorites with youtube-dl script Bill <bill@bill.com> - 2013-09-26 19:14 +0100
Re: Download all youtube favorites with youtube-dl script MRAB <python@mrabarnett.plus.com> - 2013-09-26 19:33 +0100
Re: Download all youtube favorites with youtube-dl script Philipp Hagemeister <phihag@phihag.de> - 2013-09-26 17:35 +0200
Re: Download all youtube favorites with youtube-dl script Bill <bill@bill.com> - 2013-09-26 19:15 +0100
Re: Download all youtube favorites with youtube-dl script Thomas Kandler <hallo@thomaskandler.net> - 2013-09-27 09:27 +0200
Re: Download all youtube favorites with youtube-dl script Bill <bill@bill.com> - 2013-09-27 20:50 +0100
Re: Download all youtube favorites with youtube-dl script Thomas Kandler <hallo@thomaskandler.net> - 2013-09-27 22:19 +0200
csiph-web