Filippo Valsorda
5cb3c0b319
Merge pull request #699 by @iemejia
...
Removed innecesary function to convert subtitles, improved use of the youtube api
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
Filippo Valsorda
8cc83b8dbe
Bubble up all the stack of exceptions and retry download tests on timeout errors
12 years ago
Philipp Hagemeister
e5edd51de4
Clear up error messages ( #734 )
12 years ago
Jaime Marquínez Ferrándiz
6ac7f082c4
`extract_info` now expects `ie.extract` to return a list in the format proposed in issue 608.
...
Each element should have a '_type' key specifying if it's a video, an url or a playlist.
`extract_info` will process each element to get the full info
12 years ago
Jaime Marquínez Ferrándiz
3370abd509
Merge branch 'master' into extract_info_rewrite
12 years ago
Jaime Marquínez Ferrándiz
631f73978c
Add a method for extracting info from a list of urls
12 years ago
Jaime Marquínez Ferrándiz
6622d22c79
Use report_error in FileDownloader.py
12 years ago
Jaime Marquínez Ferrándiz
4e1582f372
Use red color when printing error messages
12 years ago
Philipp Hagemeister
967897fd22
Fix Python 3 errors with rmtp downloads
12 years ago
Jaime Marquínez Ferrándiz
8207626bbe
Use color when printing warning messages
12 years ago
Jaime Marquínez Ferrándiz
df8db1aa21
Create extract_info method
12 years ago
Juan M
35d217133f
Message for delete video it's not an error.
...
When using youtube-dl from another python script with the quiet option
on, and a post procesor for extract the audio. The message of deleting
video shows in the first script logs (as it goes to stderr).
There is no way to keep this quiet as it's treated as an error, even if,
for me, it's not.
12 years ago
Ismael Mejia
cdb130b09a
Added new option '--only-srt' to download only the subtitles of a video
...
Improved option '--srt-lang'
- it shows the argument in case of missing subtitles
- added language suffix for non-english languages (e.g. video.it.srt)
12 years ago
Philipp Hagemeister
8271226a55
Fix --match-title and --reject-title decoding ( Closes #690 )
12 years ago
Philipp Hagemeister
5717d91ab7
Correct --newline and give it a more meaningful title
12 years ago
Gino Lisignoli
1528d6642d
Forgot to remove \r
12 years ago
Gino Lisignoli
7311fef854
Modified youtube-dl to write new lines with the --newline switch. This
...
enables easier process monitoring when being called with external
scripts.
12 years ago
Mantas Mikulėnas
906417c7c5
Fix delayed title display in --console-title
...
With Python 3, the titlebar wouldn't get updated for a long time (due to
stderr buffering), and when it did, the title would be shown as b'...'
representation.
12 years ago
Jeff Crouse
9e982f9e4e
Added "min-filesize" and "max-filesize" options
12 years ago
Philipp Hagemeister
bffbd5f038
Download progress hooks
12 years ago
Philipp Hagemeister
3446dfb7cb
Proper support for changing User-Agents from IEs
12 years ago
Philipp Hagemeister
1d16b0c3fe
Keep file without any PPs (oops, missed the obvious case)
12 years ago
Philipp Hagemeister
7851b37993
--recode-video option ( Closes #18 )
12 years ago
Philipp Hagemeister
f5ebb61495
Support page URL in RTMP downloads
12 years ago
Philipp Hagemeister
01951dda7a
Make ExtractorError usable for other causes
12 years ago
Philipp Hagemeister
1c256f7047
ExtractorError for errors during extraction
12 years ago
Filippo Valsorda
0214ce7c75
Ok, the Escapist test was passing only in my Travis repo, do not ask me why; also, a small bugfix to the latest commit
12 years ago
Filippo Valsorda
95fedbf86b
three small edits
...
* ask for a --verbose log when reporting bugs in README.md
* re-enable Escapist test, seems stable now
* check that we are not downloading multiple videos when the template is fixed (NOT a complete fix: not detecting playlists)
12 years ago
Filippo Valsorda
1a2c3c0f3e
some py3 fixes, both needed and recommended; we should pass 2to3 as cleanly as possible now
12 years ago
Philipp Hagemeister
bfa6389b74
Clean up legacy code
12 years ago
Philipp Hagemeister
9b14f51a3e
Remove legacy code
12 years ago
Philipp Hagemeister
f4bfd65ff2
Correct JSON writing ( Closes #596 )
12 years ago
Philipp Hagemeister
ce4be3a91d
Remove some antipatterns and ensure that we always write the JSON file with UTF-8
12 years ago
Filippo Valsorda
80d3177e5c
various py3 fixes; all tests green on 3.3
12 years ago
Filippo Valsorda
59ce201915
print traceback on trouble if --verbose (why didn't I think of this before!?)
12 years ago
Filippo Valsorda
37c8fd4842
added a test mode to FileDownloader that fetches only first 10K
12 years ago
Philipp Hagemeister
796173d08b
Keep video IDs verbatim if possible ( Closes #571 )
12 years ago
Philipp Hagemeister
6ad98fb3fd
Correct exception raising
12 years ago
Philipp Hagemeister
9e8056d5a7
Use relative imports
12 years ago
Philipp Hagemeister
59ae15a507
Convert all tabs to 4 spaces (PEP8)
12 years ago
Philipp Hagemeister
e6137fd61d
Remove superfluous encodings
12 years ago
Philipp Hagemeister
8cd10ac4ef
Fix printing title etc.
12 years ago
Philipp Hagemeister
64a57846d3
correct to_stderr
12 years ago
Philipp Hagemeister
348d0a7a18
Py2/3 compatibility for http.client
12 years ago
Philipp Hagemeister
89fb51dd2d
Remove ur references for Python 3.3 support
12 years ago
Philipp Hagemeister
01ba00ca42
Prepare urllib references for 2/3 compatibility
12 years ago
Philipp Hagemeister
e08bee320e
Use except .. as everywhere ( #180 )
12 years ago
Philipp Hagemeister
96731798db
Rename util.u to util.compat_str
12 years ago
Filippo Valsorda
c63cc10ffa
Merge remote-tracking branch 'origin/master' into IE_cleanup
...
Conflicts:
youtube_dl/FileDownloader.py
12 years ago
Filippo Valsorda
f462df021a
Use None on missing required info_dict fields
12 years ago
Philipp Hagemeister
c806f804d8
Only encode when output stream is binary
12 years ago
Filippo Valsorda
03c5b0fbd4
IE._WORKING attribute in order to warn the users and skip the tests on broken IEs
12 years ago
Philipp Hagemeister
95649b3936
Replace long with int (see PEP 237)
12 years ago
Philipp Hagemeister
dd109dee8e
Remove mentions of unicode
12 years ago
Philipp Hagemeister
dcd60025f8
Fix filename sanitation ( Closes #555 )
12 years ago
Filippo Valsorda
717b1f72ed
default info_dict['format'] to info_dict['ext'] and make the YT one more verbose
12 years ago
Philipp Hagemeister
cc872b68a8
Actually merge #379
12 years ago
Philipp Hagemeister
97cd3afc75
warn if %(stitle)s is being used
12 years ago
Philipp Hagemeister
aa2a94ed81
Encode the entire filename
12 years ago
Philipp Hagemeister
1c469a9480
New optoin --restrict-filenames
12 years ago
Philipp Hagemeister
92b91c1878
Use character instead of byte strings
12 years ago
Philipp Hagemeister
7ec1a206ea
Remove longs (int does the right thing since Python 2.2, see PEP 237)
12 years ago
Philipp Hagemeister
51937c0869
Add some parentheses around print for #180
12 years ago
Filippo Valsorda
b6fab35b9f
alias %(title)s to %(stitle)s
12 years ago
Art Zhitnik
39973a0236
Solve the bug of parsing titles with unicode (cyrillic)
12 years ago
gcmalloc
3eec021a1f
removing unused global modifier
12 years ago
Philipp Hagemeister
5a5523698d
Add new field "extractor" to the info dictionary
12 years ago
danut007ro
ae16f68f4a
Provider (youtube, etc) is now saved in info_dict, so template filename can be something like %(provider)s_%(id)s.%(ext)s
...
This can be useful because videos should also be identified by their providers since id's can be the same on multiple providers.
12 years ago
danut007ro
3cd98c7894
Removed provider (mistake) and add provider parameter to process_info
12 years ago
Filippo Valsorda
2c288bda42
reorganized the titles sanitizing: now title is the untouched title
...
and stitle is created in process_info() and is cross-filesystem sanitized by sanitize_filename();
closes #164
13 years ago
Filippo Valsorda - Campagna
d11d05d07a
better naming for the sub-modules
13 years ago
Filippo Valsorda
58ca755f40
moved increment_downloads and process_info calls from IEs to FD.download ( #296 ) (follows current doclines); a small step towards importability #217
13 years ago
Filippo Valsorda
d77c3dfd02
Split code as a package, compiled into an executable zip
13 years ago