Ismaël Mejía
4ed3e51080
[ted] fixed error in case of no subtitles present
...
I created a test, but I leave it commented since TED videos get
new subtitles frequently.
2013-11-05 12:00:13 +01:00
Ismaël Mejía
38fcd4597a
Merge remote-tracking branch 'iemejia/master'
2013-11-02 19:56:06 +01:00
Ismaël Mejía
38db46794f
Merge branch 'ted_subtitles'
2013-11-02 19:50:45 +01:00
Ismaël Mejía
a9a3876d55
[ted] Added support for subtitle download
2013-11-02 19:48:39 +01:00
Ismaël Mejía
1f343eaabb
[subtitles] refactor to support websites with subtitle information the
...
webpage.
I added the parameter webpage, so now it's similar to the way automatic
captions are handled. This is an improvement needed for websites like
TED.
2013-11-02 19:29:25 +01:00
Ismael Mejia
f8e52269c1
[subtitles] made inheritance hierarchy flat as requested
2013-09-11 15:21:09 +02:00
Ismael Mejia
cf1dd0c59e
Merge branch 'master' into subtitles_rework
2013-09-11 14:26:48 +02:00
Ismael Mejia
72836fcee4
Merge branch 'master' into subtitles_rework
2013-09-06 23:24:41 +02:00
Ismael Mejia
d6e203b3dc
[subtitles] fixed multiple subtitles language separated by comma after merge
...
As mentioned in the pull request, I forgot to include this changes.
https://github.com/rg3/youtube-dl/commit/aa6a10c44a8e2e86f709c5301f9ea6ac3f01f002
2013-09-06 16:30:13 +02:00
Ismael Mejia
06a401c845
Merge branch 'master' into subtitles_rework
2013-08-28 00:33:12 +02:00
Ismael Mejia
bd2dee6c67
Merge branch 'master' into subtitles_rework
2013-08-23 01:47:10 +02:00
Ismael Mejia
18b4e04f1c
Merge branch 'master' into subtitles_rework
2013-08-22 23:29:36 +02:00
Ismael Mejia
1865ed31b9
[subtitles] separated subtitle options in their own group
2013-08-22 22:44:04 +02:00
Ismael Mejia
d80a064eff
[subtitles] Added tests to check correct behavior when no subtitles are
...
available
2013-08-08 22:22:33 +02:00
Ismael Mejia
d55de6eec2
[subtitles] Skips now the subtitles that has already been downloaded.
...
Just a validation for file exists, I also removed a method that wasn't
been used because it was a copy paste from FileDownloader.
2013-08-08 18:30:04 +02:00
Ismael Mejia
69df680b97
[subtitles] Improved docs + new class for servers who don't support
...
auto-caption
2013-08-08 11:20:56 +02:00
Ismael Mejia
447591e1ae
[test] Cleaned subtitles tests
2013-08-08 11:03:52 +02:00
Ismael Mejia
33eb0ce4c4
[subtitles] removed only-sub option (--skip-download achieves the same
...
functionality)
2013-08-08 10:06:24 +02:00
Ismael Mejia
505c28aac9
Separated subtitle options in their own group
2013-08-08 09:53:25 +02:00
Ismael Mejia
8377574c9c
[internal] Improved subtitle architecture + (update in
...
youtube/dailymotion)
The structure of subtitles was refined, you only need to implement one
method that returns a dictionnary of the available subtitles (lang, url) to
support all the subtitle options in a website. I updated the subtitle
downloaders for youtube/dailymotion to show how it works.
2013-08-08 08:54:10 +02:00
Ismael Mejia
372297e713
Undo the previous commit (it was a mistake)
2013-08-07 21:24:42 +02:00
Ismael Mejia
953e32b2c1
[dailymotion] Added support for subtitles + new InfoExtractor for
...
generic subtitle download.
The idea is that all subtitle downloaders must descend from SubtitlesIE
and implement only three basic methods to achieve the complete subtitle
download functionality. This will allow to reduce the code in YoutubeIE
once it is rewritten.
2013-08-07 18:59:11 +02:00
Ismael Mejia
5898e28272
Fixed small type issue
2013-08-07 18:48:24 +02:00
Ismael Mejia
67dfbc0cb9
Added exceptions for the subtitle and video types in .gitignore
2013-08-07 18:42:40 +02:00
Ismael Mejia
b98a6b2f72
Fixed typo in subtitle format option (from: sbt => sbv)
2013-06-26 11:59:29 +02:00
Ismael Mejia
0ca45b233f
Added missing write-auto-sub option in README file
2013-06-26 11:34:38 +02:00
Ismael Mejia
65cceef8f4
Added support for additional vtt subtitle format (WebVTT) in youtube-dl.
2013-06-26 11:28:47 +02:00
Ismael Mejia and Filippo Valsorda
c0ba104674
Fixed typo in error message when no subtitles were available.
2013-03-20 08:41:54 +01:00
Ismael Mejia and Filippo Valsorda
2a4093eaf3
Added new option '--list-subs' to show the available subtitle languages
2013-03-20 08:41:54 +01:00
Ismael Mejia and Filippo Valsorda
9e62bc4439
Added new option '--sub-format' to choose the format of the subtitles to downloade (defaut=srt)
2013-03-20 08:41:54 +01:00
Ismael Mejia and Filippo Valsorda
553d097442
Refactor subtitle options from srt to the more generic 'sub'.
...
In order to be more consistent with different subtitle formats.
From:
* --write-srt to --write-sub
* --only-srt to --only-sub
* --all-srt to --all-subs
* --srt-lang to --sub-lang'
Refactored also all the mentions of srt for sub in all the source code.
2013-03-20 08:41:53 +01:00
Ismael Mejia and Filippo Valsorda
ae608b8076
Added new option '--all-srt' to download all the subtitles of a video.
...
Only works in youtube for the moment.
2013-03-20 08:41:53 +01:00
Ismael Mejia
cdb130b09a
Added new option '--only-srt' to download only the subtitles of a video
...
Improved option '--srt-lang'
- it shows the argument in case of missing subtitles
- added language suffix for non-english languages (e.g. video.it.srt)
2013-02-21 22:12:36 +01:00
Ismael Mejia
2e5d60b7db
Removed conversion from youtube closed caption format to srt since youtube api supports the 'srt' format
2013-02-21 20:51:35 +01:00