Jaime Marquínez Ferrándiz
bbcbf4d459
Switch some calls to to_stderr to report_error and report_warning
11 years ago
Jaime Marquínez Ferrándiz
6804038d06
Don't try to write the subtitles if it's None
11 years ago
Jaime Marquínez Ferrándiz
5d51a883c2
Use a dictionary for storing the subtitles
The errors while getting the subtitles are reported as warnings, if no subtitles are found return and empty dict.
12 years ago
Jaime Marquínez Ferrándiz
c4a91be726
Save subtitles using the same code for all the options
12 years ago
Jaime Marquínez Ferrándiz
d8269e1dfb
Don't try to save the thumbnail if it's None
It means the extractor couldn't find it
12 years ago
Jaime Marquínez Ferrándiz
cbdbb76665
Use determine_ext when saving the thumbnail
Urls that contain a query produced filenames with wrong extensions
12 years ago
Jaime Marquínez Ferrándiz
a431154706
Set the playlist_index and playlist fields for already resolved video results.
12 years ago
Jaime Marquínez Ferrándiz
56c7366547
YoutubeIE: reuse instances of InfoExtractors ( closes #998 )
When a IE is added to the list, it's also added to a dictionary. When a IE is requested it first looks in the dictionary and if there's no instance it will create a new one.
That way _real_initialize is only called once for each IE, saving time if it needs to login for example.
12 years ago
Jaime Marquínez Ferrándiz
023fa8c440
Add function add_default_info_extractors to YoutubeDL
It adds to the list the ies returned by ge_extractors
12 years ago
Ismael Mejia
b98a6b2f72
Fixed typo in subtitle format option (from: sbt => sbv)
12 years ago
Ismael Mejia
65cceef8f4
Added support for additional vtt subtitle format (WebVTT) in youtube-dl.
12 years ago
Jaime Marquínez Ferrándiz
b004821fa9
Add the option "--write-auto-sub" to download automatic subtitles from Youtube
Now automatic subtitles are only downloaded if the option is given.
(closes #903 )
12 years ago
Jaime Marquínez Ferrándiz
c6c1974672
Add "--video-password" option (related #889 )
Used only for accessing a private video
Restore the error when the account is missing
12 years ago
Jaime Marquínez Ferrándiz
8222d8de88
Split FileDownloader in two classes: FileDownloader and YoutubeDL
YoutubeDL is the class that coordinates everything
FileDownloader gets a filename and an info dict and downloads the video.
12 years ago
Philipp Hagemeister
0824c28c8b
Remove mentions of old InfoExtractors module
12 years ago
Philipp Hagemeister
3c25b9abae
Remove useless headers
12 years ago
Philipp Hagemeister
bb47437686
Ignore invalid dates ( Fixes #894 )
12 years ago
Philipp Hagemeister
8cd252f115
Use long rtmpdump options
Note that we accidentally called rtmpdump with -v (--live) instead of -V (--verbose) because we missed this.
12 years ago
Jaime Marquínez Ferrándiz
8027175600
Set the extractor key in playlists entries
If they were videos the extractor key wasn't being set anywhere else
Closes 877
12 years ago
mc2avr
f2cd958c0a
add ZDFIE and _download_with_mplayer(mms://,rtsp://)
12 years ago
Filippo Valsorda
f008688520
make rtmpdump inherit the verbose option for debugging
12 years ago
mc2avr
de5d66d431
MyVideoIE: add rtmp support
12 years ago
Jaime Marquínez Ferrándiz
7bdb17d4d5
Add extra_info argument to extract_info and process_ie_result
It allows to update the info_dicts with other values
(closes #840 )
12 years ago
Philipp Hagemeister
1bd96c3a60
Deprecate --only-sub
12 years ago
jakeogh
1a2adf3f49
added --get-id option to print video IDs
12 years ago
Philipp Hagemeister
b338f1b154
FileDownloader: Simplify and document
12 years ago
Philipp Hagemeister
11d9224e3b
add --write-thumbnail option to download thumbnail (Suggested by `)
12 years ago
Philipp Hagemeister
4ae9e55822
Correctly clear the line before writing a new status line
12 years ago
Jaime Marquínez Ferrándiz
767e00277f
Use report_warning when a not working IE will be uses
12 years ago
Jaime Marquínez Ferrándiz
bd55852517
Allow to select videos to download by their upload dates (related #137 )
Only absolute dates.
12 years ago
Jaime Marquínez Ferrándiz
613bf66939
More calls to trouble changed to report_error
12 years ago
Jaime Marquínez Ferrándiz
9edb0916f4
Disable colored messages in Windows (related #794 )
12 years ago
Philipp Hagemeister
c681a03918
Fix --list-formats ( Closes #799 )
12 years ago
Alexander van Gessel
b0936ef423
Use standard unit symbols in format_bytes
12 years ago
Jaime Marquínez Ferrándiz
6de8f1afb7
Allows to specify which IE should be used for extracting info for a result of type url
12 years ago
Philipp Hagemeister
0599ef8c08
Limit titles to 200 characters ( Closes #789 )
12 years ago
Jaime Marquínez Ferrándiz
d281274bf2
Add a playlist_index key to the info_dict, can be used in the output template
12 years ago
Philipp Hagemeister
e0fee250c3
Fix default for variable-size autonumbering
12 years ago
Stanislav Kupryakhin
213c31ae16
Added option --autonumber-size:
Specifies the number of digits in %(autonumber)s when it is present in output filename template or --autonumber option is given
12 years ago
Jaime Marquínez Ferrándiz
bce878a7c1
Implement the playlist/start options in FileDownloader
It makes it available for all the InfoExtractors
12 years ago
Jaime Marquínez Ferrándiz
146c12a2da
Change the order for extracting/downloading
Now it gets a video info and directly downloads it, the it pass to the next video founded.
12 years ago
Jaime Marquínez Ferrándiz
d39919c03e
Add progress counter for playlists
Closes #276
12 years ago
Michael Walter
adb029ed81
added --playpath/-y support to RTMP downloads (via 'play_path' entry in 'info_dict')
12 years ago
Jaime Marquínez Ferrándiz
bafeed9f5d
Don't crash in FileDownloader if subtitles couldn't be found and errors are ignored
12 years ago
Jaime Marquínez Ferrándiz
7eab8dc750
Pass the playlist info_dict to process_info
the playlist value can be used in the output template
12 years ago
Philipp Hagemeister
a91556fd74
Add a note on MaxDownloadsReached ( #732 , thanks to CBGoodBuddy)
12 years ago
Ismael Mejia
2a4093eaf3
Added new option '--list-subs' to show the available subtitle languages
12 years ago
Ismael Mejia
9e62bc4439
Added new option '--sub-format' to choose the format of the subtitles to downloade (defaut=srt)
12 years ago
Ismael Mejia
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.
12 years ago
Ismael Mejia
ae608b8076
Added new option '--all-srt' to download all the subtitles of a video.
Only works in youtube for the moment.
12 years ago