[youtube] Adds #1312 Download annotations
authorJai Grimshaw <jai@jaigrimshaw.com>
Mon, 14 Oct 2013 05:18:58 +0000 (16:18 +1100)
committerJai Grimshaw <jai@jaigrimshaw.com>
Mon, 14 Oct 2013 05:22:27 +0000 (16:22 +1100)
commit1fb07d10a3f5f2baf1ebbdbc69d8ee8615cec2f9
treedecadb459ae00dbe508dd884df3deff843c37831
parent06723d47c4f934542a626569045e489a09796975
[youtube] Adds #1312 Download annotations

Adds #1321 Download annotations from youtube
Annotations are downloaded and written to a .annotations.xml file using the https://www.youtube.com/annotations_invideo?features=1&legacy=1&video_id=$VIDEOID API.
Added unit test for annotations.
test/test_write_annotations.py [new file with mode: 0644]
youtube_dl/YoutubeDL.py
youtube_dl/__init__.py
youtube_dl/extractor/youtube.py