aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/YoutubeDL.py
AgeCommit message (Collapse)Author
2013-10-22Merge remote-tracking branch 'origin/master'Philipp Hagemeister
Conflicts: youtube_dl/YoutubeDL.py
2013-10-22Expand tilde in template (Fixes #1639)Philipp Hagemeister
2013-10-22Style fixes in YoutubeDL.pyJaime Marquínez Ferrándiz
Fixed some of the problems reported by pep8
2013-10-22Respect the download parameter in YoutubeDL.process_video_result if the ↵Jaime Marquínez Ferrándiz
extractor handle the format selection
2013-10-21The 'format' field now defaults to '{format_id} - {width}x{height}{format_note}'Jaime Marquínez Ferrándiz
Following the YoutubeIE format. The 'format_note' gives additional info about the format, for example '3D' or 'DASH video'.
2013-10-21YoutubeDL: remove method that came from FileDownloaderJaime Marquínez Ferrándiz
2013-10-21Allow to use the extension for the format selectionJaime Marquínez Ferrándiz
The best format with the extension is downloaded.
2013-10-21Accept requested formats to be in the format 35/best (closes #1552)Jaime Marquínez Ferrándiz
The format selection code is now an independent function.
2013-10-18fix typosPhilipp Hagemeister
2013-10-18Extend #980 with --max-quality supportPhilipp Hagemeister
2013-10-18Merge remote-tracking branch 'jaimeMF/format_selection'Philipp Hagemeister
2013-10-14[youtube] Adds #1312 Download annotationsJai Grimshaw
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.
2013-10-11Fix the default values of format_id and formatJaime Marquínez Ferrándiz
2013-10-11Implement the prefer_free_formats in YoutubeDLJaime Marquínez Ferrándiz
2013-10-11Default 'format' field to {width}x{height}Jaime Marquínez Ferrándiz
If width is None, use {height}p and if height is None, '???'
2013-10-11Do not handle format selection for IEs that already handle itJaime Marquínez Ferrándiz
2013-10-11Implement the max quality option in YoutubeDLJaime Marquínez Ferrándiz
2013-10-11Implement format selection in YoutubeDLJaime Marquínez Ferrándiz
Now the IEs can set a formats field in the info_dict, with the formats ordered from worst to best quality. It's a list of dicts with the following fields: * Mandatory: url and ext * Optional: format and format_id The format_id is used for choosing which formats have to be downloaded. Now a video result is processed by the method process_video_result.
2013-10-09Tiny tpoTom
2013-10-06Merge branch 'download-archive'Philipp Hagemeister
Conflicts: youtube_dl/YoutubeDL.py youtube_dl/__init__.py
2013-10-06Remove superfluous parenthesisPhilipp Hagemeister
2013-10-06Call extracted property age_limit everywherePhilipp Hagemeister
2013-10-06Allow users to specify an age limit (fixes #1545)Philipp Hagemeister
With these changes, users can now restrict what videos are downloaded by the intented audience, by specifying their age with --age-limit YEARS . Add rudimentary support in youtube, pornotube, and youporn.
2013-10-06Add basic --download-archive optionPhilipp Hagemeister
Often, users want to be able to download only videos they haven't seen before, despite the video files having been deleted or moved in the mean time. When --download-archive FILE is given, the extractor and ID of every download is recorded in the specified file. If it is already present, the video in question is skipped.
2013-09-30implement --no-playlist to only download current video - closes #755Filippo Valsorda
2013-09-27Don't fail if the video thumbnail couldn't be downloaded (fixes #1516)Jaime Marquínez Ferrándiz
Just report a warning
2013-09-24Allow opts.cachedir == None to disable cachePhilipp Hagemeister
2013-09-22Move cachedir docPhilipp Hagemeister
2013-09-21Warn if no locale is set (#1474)Philipp Hagemeister
2013-09-20Catch socket.error before IOErrorJaime Marquínez Ferrándiz
Since python 2.6 it's a child class.
2013-09-16Always correct encoding when writing to sys.stderr (Fixes #1435)Philipp Hagemeister
2013-09-14Now --all-sub is a modifier to --write-sub and --write-auto-sub (closes #1412)Jaime Marquínez Ferrándiz
For keeping backwards compatibility --all-sub sets --write-sub if --write-auto-sub is not given
2013-09-13Merge pull request #1350 from Jaiz909/description-keyerror-fixJaime Marquínez Ferrándiz
Fixed issue #1277 KeyError when no description.
2013-08-31Fixed issue #1277 KeyError when no description.Jai Grimshaw
Allows a continue with a warning when an extractor cannot retrieve a description.
2013-08-28Merge remote-tracking branch 'origin/reuse_ies'Philipp Hagemeister
2013-08-28Print playpath with --get-url (Fixes #1334)Philipp Hagemeister
2013-08-23Allow to specify multiple subtitles languages separated by commas (closes #518)Jaime Marquínez Ferrándiz
2013-08-23Add a post processor for embedding subtitles in mp4 videos (closes #1052)Jaime Marquínez Ferrándiz
2013-08-23Merge pull request #937 from jaimeMF/subtitles_reworkJaime Marquínez Ferrándiz
Subtitles rework
2013-08-08Merge branch 'master' of github.com:rg3/youtube-dlPhilipp Hagemeister
2013-08-08Clarify template error message (#1209)Philipp Hagemeister
2013-08-05More informative erroruser
2013-07-31Switch some calls to to_stderr to report_error and report_warningJaime Marquínez Ferrándiz
2013-07-20Don't try to write the subtitles if it's NoneJaime Marquínez Ferrándiz
2013-07-20Use a dictionary for storing the subtitlesJaime Marquínez Ferrándiz
The errors while getting the subtitles are reported as warnings, if no subtitles are found return and empty dict.
2013-07-20Save subtitles using the same code for all the optionsJaime Marquínez Ferrándiz
2013-07-12Don't try to save the thumbnail if it's NoneJaime Marquínez Ferrándiz
It means the extractor couldn't find it
2013-07-12Use determine_ext when saving the thumbnailJaime Marquínez Ferrándiz
Urls that contain a query produced filenames with wrong extensions
2013-07-10Set the playlist_index and playlist fields for already resolved video results.Jaime Marquínez Ferrándiz
2013-07-08YoutubeIE: reuse instances of InfoExtractors (closes #998)Jaime Marquínez Ferrándiz
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.