Commit Graph

294 Commits (f25571ffbf67c14bb91798e445a2690e03481937)

Author SHA1 Message Date
Philipp Hagemeister a19fd00cc4 Simplify --playlist-start / --playlist-end interface 11 years ago
Philipp Hagemeister b83be81d27 Credit @mjorlitzky for pornhd (#1961) 11 years ago
Philipp Hagemeister e3946f989e Set process title to youtube-dl
This allows killing all youtube-dl processes with killall youtube-dl, and shows up nicer in some programs.
11 years ago
Philipp Hagemeister 525ef9227f Add --get-duration (Fixes #859) 11 years ago
Philipp Hagemeister 5fe18bdbde Add --min-views / --max-views (Fixes #1979) 11 years ago
Jaime Marquínez Ferrándiz dca02c80bc Fix detection of the extension if the 'extractaudio' is given and improve the error message (#1969)
Using 'foo.mp4' shouldn't raise an error.
If 'foo' is given suggest using 'foo.%(ext)s' for the template
11 years ago
Philipp Hagemeister 1c088fa89d Improve --bidi-workaround support 11 years ago
Philipp Hagemeister db4da14027 Merge remote-tracking branch 'jaimeMF/load-info' 11 years ago
Philipp Hagemeister 0783b09b92 Add a workaround for terminals without bidi support (Fixes #1912) 11 years ago
Jaime Marquínez Ferrándiz 1dcc4c0cad Add --load-info option (#972)
It just calls the 'YoutubeDL.process_ie_result' with the dictionary from the json file
11 years ago
Philipp Hagemeister cf6758d204 Document disabling proxy (#1882) 11 years ago
Philipp Hagemeister a0eaa341e1 [configuration] Undo code breakage 11 years ago
Philipp Hagemeister fb27c2295e Correct configuration file locations 11 years ago
Philipp Hagemeister 1b753cb334 Add Windows configuration file locations (#1881) 11 years ago
Philipp Hagemeister 36a826a50d Clarify --download-archive help (#1757) 11 years ago
Philipp Hagemeister 8796857429 Credit @dstftw for smotri IE 11 years ago
Philipp Hagemeister 6ad14cab59 Add --socket-timeout option 11 years ago
Philipp Hagemeister b138de72f2 Merge branch 'master' of github.com:rg3/youtube-dl 11 years ago
Philipp Hagemeister 06dcbb71d8 Clarify help of --write-pages (#1853) 11 years ago
Philipp Hagemeister 323ec6ae56 Clarify --download-archive help 11 years ago
Nicolas Kaiser 9986238ba9 fix typo in help 11 years ago
Jaime Marquínez Ferrándiz c2e52508cc Include the proxy in the parameters for YoutubeDL (fixes #1831) 11 years ago
Philipp Hagemeister 0c75c3fa7a Do not warn about fixed output template if --max-downloads is 1
Fixes #1828
11 years ago
Philipp Hagemeister e03db0a077 Merge branch 'master' into opener-to-ydl 11 years ago
Philipp Hagemeister 38b2db6a66 Credit @takuya0301 for niconico 11 years ago
Philipp Hagemeister dca0872056 Move the opener to the YoutubeDL object.
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.
11 years ago
Philipp Hagemeister 0a120f74b2 Credit @diffycat for anitube 11 years ago
Philipp Hagemeister 8694c60000 import json for --dump-json 11 years ago
Mohamedh Fazal 9d1538182f Add an option to dump json information 11 years ago
Philipp Hagemeister bdde425cbe Save and restore console title (Fixes #1782) 11 years ago
Philipp Hagemeister d37936386f Credit @saper for tvp IE (#1730) 11 years ago
Philipp Hagemeister b5bdc2699a Credit @jelly for gamekings extractor (#1759) 11 years ago
Philipp Hagemeister d4b7da84c3 Clarify -c. Do not pass it in if you don't know what you're doing
Suggested in #1743
11 years ago
Jaime Marquínez Ferrándiz 2a9e9b210b Fix the documentation of '--autonumber-size' (#1743)
it's '--auto-number' not '--autonumber'
11 years ago
Philipp Hagemeister d41e6efc85 New debug option --write-pages 11 years ago
Jaime Marquínez Ferrándiz b5936c0059 Document the %(format_id)s field for the output template 11 years ago
Jaime Marquínez Ferrándiz 3126050c0f Hide the video password on verbose mode 11 years ago
Philipp Hagemeister 41fd7c7e60 Add new option --abort-on-error 11 years ago
Philipp Hagemeister fdefe96bf2 Document %(format)s (#1612) 11 years ago
Philipp Hagemeister cce722b79c Add metavar to --cache-dir 11 years ago
Philipp Hagemeister 1c1218fefc Merge remote-tracking branch 'jaimeMF/format_selection' 11 years ago
Philipp Hagemeister cd054fc491 Use upper-case for prefixes in help to signify bytes (#1043) 11 years ago
Philipp Hagemeister f219743e33 Merge remote-tracking branch 'alphapapa/master' 11 years ago
Philipp Hagemeister a4fd04158e Do not import * 11 years ago
Philipp Hagemeister a623df4c7b Credit @Elbandi for sztvhu 11 years ago
Jai Grimshaw 1fb07d10a3 [youtube] Adds #1312 Download annotations
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.
11 years ago
Jaime Marquínez Ferrándiz dd82ffea0c Implement format selection in YoutubeDL
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.
11 years ago
Jaime Marquínez Ferrándiz bc4f29170f Add a PostProcessor for adding metadata to the file (closes #1570)
It currently sets the title, the date and the author values.
11 years ago
Jaime Marquínez Ferrándiz 2ae3edb1cf Fix the printing of the proxy map in debug mode
The proxies have to be extracted from the opener.handlers
11 years ago
Philipp Hagemeister a27b9e8bd5 Move opener setup into a separate helper function 11 years ago