From 2aa69e567ca15382de017f3c775e133966e569a3 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawn7gQ1zZDdWhXy9H51W2krZYShNmKL3qfM" Date: Fri, 27 Dec 2013 20:31:36 +0000 Subject: [PATCH] --- .../Wishlist:_Import_youtube_playlists.mdwn | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 doc/todo/Wishlist:_Import_youtube_playlists.mdwn diff --git a/doc/todo/Wishlist:_Import_youtube_playlists.mdwn b/doc/todo/Wishlist:_Import_youtube_playlists.mdwn new file mode 100644 index 0000000000..28612cd5b5 --- /dev/null +++ b/doc/todo/Wishlist:_Import_youtube_playlists.mdwn @@ -0,0 +1,28 @@ +Hi, + +it would be great if the importfeed command would be able to read feeds generated by youtube (like for playlists). The youtube playlist feed contains links to separate youtube video pages, which quvi handles just fine. Currently I use the following python script: + + #!/usr/bin/env python + import feedparser + import sys + d = feedparser.parse('http://gdata.youtube.com/feeds/api/playlists/%s' % sys.argv[1]) + for entry in d.entries: + print entry.link + +and then + + kasimon@pc:~/annex/YouTube/debconf13$ youtube-playlist-urls PLz8ZG1e9MPlzefklz1Gv79icjywTXycR- | xargs git annex addurl --fast + addurl Welcome_talk.webm ok + addurl Bits_from_the_DPL.webm ok + addurl Debian_Cosmology.webm ok + addurl Bits_from_the_DPL.webm ok + addurl Debian_Cosmology.webm ok + addurl Debian_on_Google_Compute_Engine.webm ok + ^C + +to create a backup of youtube media I'd like to keep. + +It would be great if this functionality could be integrated directly into git annex. + +Best +Karsten