Coder Social home page Coder Social logo

kevlu8 / youtube-playlist-downloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kasreyn/youtube-playlist-downloader

0.0 0.0 0.0 108 KB

A C++ (as much as possible) program that can download all items (including deleted) in a playlist. uses libcurl + libtidy + libxml2.

C++ 88.31% Perl 11.69%

youtube-playlist-downloader's Introduction

curl cookie file
http://stackoverflow.com/questions/6383933/curl-get-cookies-into-file

CURLOPT_COOKIEFILE
http://curl.haxx.se/mail/lib-2003-09/0024.html

curl login youtube
http://forums.phpfreaks.com/index.php?topic=268322.0

curl htmltitle.cc
http://www.opensource.apple.com/source/curl/curl-42/curl/docs/examples/htmltitle.cc

libcurl example
http://curl.haxx.se/libcurl/c/simple.html

http://stackoverflow.com/questions/138555/how-to-convert-html-to-xhtml

libtidy C++
http://www.quietearth.us/articles/2007/02/13/libtidy-example-html-parse-code

http://pugixml.googlecode.com/svn/tags/latest/docs/quickstart.html

http://www.grinninglizard.com/tinyxml2/index.html

OAuth 2.0 jQuery example
http://www.jensbits.com/2011/12/20/authenticating-with-oauth-2-0-for-google-api-access-with-php/

https://developers.google.com/accounts/docs/OAuth2Login

google gdata api youtube get deleted
https://groups.google.com/forum/?fromgroups#!topic/youtube-api-gdata/n0jUYMIjtzA

deleted youtube videos archive meta information
"
On Sunday, October 16, 2011 10:09:22 PM UTC+2, RoRo1990 wrote:
"Hello so I favourite lots of videos on youtube to watch them later but it seems youtube has decided to delete videos because of copyright infringements. This isn't the problem the problem is I favourite videos because I want to watch them later. Now I don't even know what the video I Favorited was about/called because when a video is deleted it is renamed to DELETED VIDEO. Is there anyway I can find out what the name of the video was before deleted videos had the title of them but it seems they changed them all to deleted video....."
Yes there is. This may not be GData API but it gets the job done via libcurl (use Firefox plugin to export cookies to file), libtidy and libxml2:

https://github.com/Kasreyn/YouTube-playlist-downloader

This requires cookies and so only works on your own profile but it does include references to "unlinked" videos. In some cases they only have the id/watch reference (deleted by user) while others have a title (unlinked by higher power).

The ones with truncated title (if you click the link) are actually readable from HTML source.

I understand the reasons behind videos getting deleted, but why is the title purged along with it? Actually, it does make sense, that a video deleted by user is purged entirely. Instead of employing a workforce whose job it is to sort through and decide if something might be offensive, hurtful or not.
"
http://productforums.google.com/forum/#!msg/youtube/yGY63oEFoNw/ExIlFHIziyYJ

youtube-playlist-downloader's People

Contributors

kasreyn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.