Commit Graph

131 Commits (b1a80ec1a986219e3b04fb443a2622dacfba15f6)

Author SHA1 Message Date
Philipp Hagemeister 50a886b7ab Fix reporting when file size is unkown (Fixes )
Philipp Hagemeister 76e67c2cb6 Clean up imports
Jaime Marquínez Ferrándiz 9026dd3858 Make sure it only runs rtmpdump one time in test mode and return True if the download can be resumed
rzhxeo 8e4f824365 Remove test parameter from _download_with_rtmpdump
rzhxeo ad7a071ab6 Only download 1 sec. with rtmpdump in test mode
Jaime Marquínez Ferrándiz dd5d2eb03c If the file is already downloaded include the size in the progress hook
Jaime Marquínez Ferrándiz 4ae720042c Include the eta and the speed in the progress hooks
Useful when listening to the progress hook, for example in a GUI.
Jaime Marquínez Ferrándiz 061b2889a9 Fix the minutes part in FileDownloader.format_seconds (fixed )
It printed for the minutes the result of (seconds // 60)
Jaime Marquínez Ferrándiz af8bd6a82d Show the time taken to download in the same format as the ETA
Jaime Marquínez Ferrándiz 6d38616e67 Merge pull request from h3xx/master
Add some verbosity when reporting finished downloads

Remove the mixed use of tabs and spaces for indentation.
Philipp Hagemeister 6c3e6e88d3 Allow hours in ETA display (Fixes )
Dan Church 968b5e0112 Add some verbosity when reporting finished downloads
For example:

    [download] Resuming download at byte 1868140
    [download] Destination: Entry #1-Bn59FJ4HrmU.flv
    [download] 100% of 3.27MiB in 4s

This format is meant to somewhat mirror the behavior of wget(1) when reporting finished downloads:

    100%[==================>] 54,836,682   788KB/s   in 74s

    2013-08-04 12:32:05 (728 KB/s) - 'google-chrome-stable_current_x86_64.rpm' saved [54836682/54836682]
Jaime Marquínez Ferrándiz b15d4f624f Allow to download from m3u8 manifests with ffmpeg
They are detected by the extension of the url.
Jaime Marquínez Ferrándiz 2e32528012 FileDownloader: fixed call to "report_error" of YoutubeDL
It was being called as "error"
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.
Philipp Hagemeister 0824c28c8b Remove mentions of old InfoExtractors module
Philipp Hagemeister 3c25b9abae Remove useless headers
Philipp Hagemeister bb47437686 Ignore invalid dates (Fixes )
Philipp Hagemeister 8cd252f115 Use long rtmpdump options
Note that we accidentally called rtmpdump with -v (--live) instead of -V (--verbose) because we missed this.
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
Jaime Marquínez Ferrándiz 3054ff0cbe Merge pull request from mc2avr/master
add ZDFIE
mc2avr f2cd958c0a add ZDFIE and _download_with_mplayer(mms://,rtsp://)
Filippo Valsorda f008688520 make rtmpdump inherit the verbose option for debugging
mc2avr de5d66d431 MyVideoIE: add rtmp support
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 )
Philipp Hagemeister 1bd96c3a60 Deprecate --only-sub
jakeogh 1a2adf3f49 added --get-id option to print video IDs
Philipp Hagemeister b338f1b154 FileDownloader: Simplify and document
Philipp Hagemeister 11d9224e3b add --write-thumbnail option to download thumbnail (Suggested by `)
Philipp Hagemeister 4ae9e55822 Correctly clear the line before writing a new status line
Jaime Marquínez Ferrándiz 767e00277f Use report_warning when a not working IE will be uses
Jaime Marquínez Ferrándiz bd55852517 Allow to select videos to download by their upload dates (related )
Only absolute dates.
Jaime Marquínez Ferrándiz 613bf66939 More calls to trouble changed to report_error
Jaime Marquínez Ferrándiz 9edb0916f4 Disable colored messages in Windows (related )
Philipp Hagemeister 71f37e90ef Merge pull request from AI0867/patch-1
Use standard unit symbols in format_bytes
Philipp Hagemeister c681a03918 Fix --list-formats (Closes )
Alexander van Gessel b0936ef423 Use standard unit symbols in format_bytes
Jaime Marquínez Ferrándiz 6de8f1afb7 Allows to specify which IE should be used for extracting info for a result of type url
Jaime Marquínez Ferrándiz dce9027045 Merge branch 'extract_info_rewrite'
Philipp Hagemeister 0599ef8c08 Limit titles to 200 characters (Closes )
Jaime Marquínez Ferrándiz d281274bf2 Add a playlist_index key to the info_dict, can be used in the output template
Philipp Hagemeister e0fee250c3 Fix default for variable-size autonumbering
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
Jaime Marquínez Ferrándiz bce878a7c1 Implement the playlist/start options in FileDownloader
It makes it available for all the InfoExtractors
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.
Jaime Marquínez Ferrándiz d39919c03e Add progress counter for playlists
Closes 
Michael Walter adb029ed81 added --playpath/-y support to RTMP downloads (via 'play_path' entry in 'info_dict')
Jaime Marquínez Ferrándiz 14294236bf Merge branch 'master' into extract_info_rewrite
Jaime Marquínez Ferrándiz bafeed9f5d Don't crash in FileDownloader if subtitles couldn't be found and errors are ignored
Filippo Valsorda e3700fc9e4 Merge pull request from rg3/retry
Exception stacking and test retry