aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/YoutubeDL.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'jaimeMF/split-downloaders'Philipp Hagemeister2013-12-231-5/+10
|\
| * Move FileDownloader to its own module and create a new class for each ↵Jaime Marquínez Ferrándiz2013-12-111-3/+3
| | | | | | | | | | | | | | | | download process A suitable downloader can be found using the 'get_suitable_downloader' function. Each subclass implements 'real_download', for downloading an info dict you call the 'download' method, which first checks if the video has already been downloaded
| * Now a new FileDownloader is created when downloading a videoJaime Marquínez Ferrándiz2013-12-111-4/+9
| | | | | | | | The progress hooks can be added using the method "add_downloader_progress_hook"
* | Merge remote-tracking branch 'rzhxeo/youtube'Philipp Hagemeister2013-12-231-6/+9
|\ \
| * | Make prefer_free_formats sorting more robustrzhxeo2013-12-181-1/+3
| | |
| * | Filter and sort videos before calling list_formatsrzhxeo2013-12-181-4/+5
| | |
| * | [YoutubeIE] Externalize format selectionrzhxeo2013-12-181-1/+1
| | |
* | | Remove debugging codePhilipp Hagemeister2013-12-231-2/+0
| | | | | | | | | | | | Introduced by accident in 5d681e960db98ec2d9f3d4361bd66f581506a772
* | | Use bidiv instead of fribidi if available (Fixes #1912)Philipp Hagemeister2013-12-231-7/+16
|/ /
* | Add webpage_url_basename info_dict field (Fixes #1938)Philipp Hagemeister2013-12-171-0/+4
| |
* | Incorrect variable is used to check whether thumbnail existsalimirjamali2013-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | Dear @phihag I believe in line 848, the correct variable to check is 'thumb_filename' rather than 'infofn' Kindly advise Mit freundlichen Gruessen Ali
* | Simplify --playlist-start / --playlist-end interfacePhilipp Hagemeister2013-12-161-6/+6
| |
* | Apply --no-overwrites for --write-* files as well (Fixes #1980)Philipp Hagemeister2013-12-161-57/+57
| |
* | Add --get-duration (Fixes #859)Philipp Hagemeister2013-12-161-0/+4
| |
* | Add --min-views / --max-views (Fixes #1979)Philipp Hagemeister2013-12-161-5/+22
|/
* Fix thumbnail filename determination (Fixes #1945)Philipp Hagemeister2013-12-111-1/+1
|
* [YoutubeDL] Simplify filename preparationPhilipp Hagemeister2013-12-101-2/+3
|
* Set 'NA' as the default value for missing fields in the output template ↵Jaime Marquínez Ferrándiz2013-12-091-3/+2
| | | | | | (fixes #1931) Remove the `except KeyError` clause, it won't get raised anymore
* Improve --bidi-workaround supportPhilipp Hagemeister2013-12-091-34/+35
|
* [--load-info] Always read file as UTF-8Philipp Hagemeister2013-12-091-2/+1
| | | | This allows editing the file (and not escaping non-ASCII characters) and reloading it in.
* Merge remote-tracking branch 'jaimeMF/load-info'Philipp Hagemeister2013-12-091-0/+15
|\
| * Option '--load-info': if the download fails, try extracting the info with ↵Jaime Marquínez Ferrándiz2013-12-031-1/+10
| | | | | | | | | | | | the 'webpage_url' field of the info dict The video url may have expired.
| * Add --load-info option (#972)Jaime Marquínez Ferrándiz2013-12-031-0/+6
| | | | | | | | It just calls the 'YoutubeDL.process_ie_result' with the dictionary from the json file
* | Remove unused importsPhilipp Hagemeister2013-12-091-1/+0
| |
* | Add filename to --dump-json output (Fixes #1908)Philipp Hagemeister2013-12-091-0/+1
| |
* | Add a workaround for terminals without bidi support (Fixes #1912)Philipp Hagemeister2013-12-091-14/+55
| |
* | [wistia] Add extractorPhilipp Hagemeister2013-12-061-1/+2
| |
* | [9gag] Add extractorPhilipp Hagemeister2013-12-051-3/+31
|/
* Add --socket-timeout optionPhilipp Hagemeister2013-12-021-1/+3
|
* Make socket timeout configurable, and bump default to 10 minutes (#1862)Philipp Hagemeister2013-12-011-1/+3
|
* Do not mutate default argumentsPhilipp Hagemeister2013-11-291-2/+2
| | | | | In this case, it looks rather harmless (since the conditions for --restrict-filenames should not change while a process is running), but just to be sure. This also simplifies the interface for callers, who can just pass in the idiomatic None for "I don't care, whatever is the default".
* YoutubeDL: set the 'params' property before any message/warning/error is ↵Jaime Marquínez Ferrándiz2013-11-261-2/+2
| | | | | | sent (fixes #1840) If it sets the 'restrictfilenames' param, it will first report a warning. It will try to get the logger from the 'params' property, which would be set at that moment to None, raising the error 'AttributeError: 'NoneType' object has no attribute 'get''
* Use the 'extractor_key' field for the download archive fileJaime Marquínez Ferrándiz2013-11-251-1/+1
| | | | It has the same value as the ie_key.
* Fix typo in the documentation of the 'download_archive' paramJaime Marquínez Ferrándiz2013-11-251-1/+1
|
* [soundcloud] Support for listing of audio-only filesPhilipp Hagemeister2013-11-251-1/+4
|
* Merge pull request #1829 from jaimeMF/ydl-empty-paramsPhilipp Hagemeister2013-11-251-2/+2
|\ | | | | Allow to initialize a YoutubeDL object without parameters
| * Allow to initialize a YoutubeDL object without parametersJaime Marquínez Ferrándiz2013-11-251-2/+2
| | | | | | | | Having to pass the 'outtmpl' parameter feels really strange when you just want to extract the info of a video.
* | Do not warn about fixed output template if --max-downloads is 1Philipp Hagemeister2013-11-251-5/+3
| | | | | | | | Fixes #1828
* | Reduce socket timeoutPhilipp Hagemeister2013-11-251-1/+1
|/
* Fix --download-archive (Fixes #1826)Philipp Hagemeister2013-11-251-10/+17
|
* Merge branch 'opener-to-ydl'Philipp Hagemeister2013-11-251-1/+86
|\
| * Merge branch 'master' into opener-to-ydlPhilipp Hagemeister2013-11-241-19/+42
| |\
| * | Document proxyPhilipp Hagemeister2013-11-241-1/+2
| | |
| * | Move the opener to the YoutubeDL object.Philipp Hagemeister2013-11-221-1/+85
| | | | | | | | | | | | | | | This is the first step towards being able to just import youtube_dl and start using it. Apart from removing global state, this would fix problems like #1805.
* | | Remove quality_name field and improve zdf extractorPhilipp Hagemeister2013-11-251-2/+0
| | |
* | | [zdf/common] Use API in ZDF extractor.Philipp Hagemeister2013-11-251-8/+16
| |/ |/| | | | | | | This also comes with a lot of extra format fields Fixes #1518
* | Simplify logger code(#1811)Philipp Hagemeister2013-11-241-3/+3
| |
* | Log to an external logger (fixes #1810)Itay Brandes2013-11-231-5/+11
| | | | | | | | | | | | | | | | | | Sadly applications using youtube-dl's python sources can't directly access it's log stream. It's pretty much limited to stdout and stderr only. It should log to logging.Logger instance passed to YoutubeDL's params dictionary.
* | Match --download-archive during playlist processing (Fixes #1745)Philipp Hagemeister2013-11-221-13/+30
| |
* | Print full title in --get-title output (#1806)Philipp Hagemeister2013-11-221-1/+1
|/