Jaime Marquínez Ferrándiz
3026164b16
[postprocessor/common] Use 'self._downloader.params' instead of 'self.params'
...
'self.params' is not defined
2015-09-05 12:11:36 +02:00
Jaime Marquínez Ferrándiz
c482b3c69a
[ruutu] Update test url
2015-09-04 21:11:29 +02:00
Jaime Marquínez Ferrándiz
725d1c58aa
[crunchyroll] Extract width and height ( closes #6749 )
2015-09-03 13:15:02 +02:00
Jaime Marquínez Ferrándiz
080997b808
[rtve] Fix extraction ( fixes #6723 )
...
Adding the 'Referer' header to the png request is enough.
2015-09-01 20:30:58 +02:00
Jaime Marquínez Ferrándiz
aa3f98677d
[dumpert] Support 'embed/' urls ( fixes #6712 )
2015-09-01 18:13:33 +02:00
Jaime Marquínez Ferrándiz
4bc8eec4eb
[youtube] Adapt player version regex to handle urls ending in '/html5player-new.js'
...
It was always extracting 'new' as the version, breaking the cache system.
2015-08-26 15:21:55 +02:00
Jaime Marquínez Ferrándiz
8c97f81943
[common] Follow convention of using 'cls' in classmethods
2015-08-21 11:35:51 +02:00
Jaime Marquínez Ferrándiz
232541df44
[YoutubeDL] format spec: correctly handle dashes and other unused operators
...
'mp4-baseline-16x9' must be handled as a single string, but the '-' was treated as an operator.
2015-08-04 22:29:23 +02:00
Jaime Marquínez Ferrándiz
d96d604e53
YoutubeDL: format spec: don't accept a bare '/' ( #6124 )
2015-08-03 23:04:11 +02:00
Jaime Marquínez Ferrándiz
03950c90f7
Merge remote-tracking branch 'jaimemf/format_spec_groups' ( closes #6124 )
2015-08-03 15:22:51 +02:00
Jaime Marquínez Ferrándiz
47a8b7c14a
[mdr] Change XPath to make it work in python 2.6 ( fixes #6443 )
...
The 'progressiveDownloadUrl' element is a direct child, so they should be equivalent.
2015-08-03 12:00:08 +02:00
Jaime Marquínez Ferrándiz
25a4c5a9ed
[dailymotion:playlist] Use an iterator for the entries
...
So that using '--playlist-end' only downloads the required pages (reported in #2175 ).
2015-08-02 15:19:57 +02:00
Jaime Marquínez Ferrándiz
5c45bbe57b
[nowtv] Remove unused import
2015-08-02 15:19:30 +02:00
Jaime Marquínez Ferrándiz
9cc93c64aa
[screenwavemedia] Use the IP for the videoserver ( fixes #6397 )
...
For http://cinemassacre.com/2015/07/28/avgn-seaman-for-dreamcast/ the other server returns a 403 error.
2015-08-01 22:17:19 +02:00
Jaime Marquínez Ferrándiz
525a87f58e
[gdcvault] Fix typo: xml_decription_url -> xml_description_url
2015-08-01 11:40:34 +02:00
Jaime Marquínez Ferrándiz
1f04873517
[viewster] Use 'compat_urllib_parse_unquote'
2015-07-30 19:12:37 +02:00
Jaime Marquínez Ferrándiz
34866b4836
Merge remote-tracking branch 'dstftw/multifeed-videos' ( closes #6360 )
2015-07-29 21:55:20 +02:00
Jaime Marquínez Ferrándiz
2711e41bcd
Credit slangangular for the sportschau extractor ( #6199 )
2015-07-29 18:47:20 +02:00
Jaime Marquínez Ferrándiz
4c6bd5b5b6
[youtube] Use 'vp8' and 'vp9' in lowercase ( fixes #6358 )
...
That's how YouTube reports them in their DASH manifest.
2015-07-26 14:14:28 +02:00
Jaime Marquínez Ferrándiz
2929fa0e79
[youtube] Also look into the 'start' field for start_time
2015-07-23 13:21:18 +02:00
Jaime Marquínez Ferrándiz
297a564bee
[youtube] Extract end_time
2015-07-23 13:20:21 +02:00
Jaime Marquínez Ferrándiz
59db9f8018
[downloader/dash] Improve 'combine_url' ( fixes #6341 )
...
In some videos the base_url already ends with '/'.
2015-07-23 12:09:30 +02:00
Jaime Marquínez Ferrándiz
b37317d8b0
[generic] Unescape HTML escape sequences in redirect urls ( fixes #6311 )
2015-07-22 23:33:49 +02:00
Jaime Marquínez Ferrándiz
87dc451108
[youtube] Don't use the DASH manifest from 'get_video_info' if 'use_cipher_signature' is True ( #5118 )
...
Currently they give a 403 Forbidden error.
2015-07-22 23:27:41 +02:00
Jaime Marquínez Ferrándiz
ca4456eda8
[tagesschau] Remove unused import
2015-07-22 23:23:38 +02:00
Jaime Marquínez Ferrándiz
70c857b728
Credit Zach Bruggeman for the appleconnect extractor ( #6190 )
2015-07-22 11:49:54 +02:00
Jaime Marquínez Ferrándiz
28afa6e77a
[snagfilms] Don't use '_' as a variable that is used
2015-07-21 20:50:02 +02:00
Jaime Marquínez Ferrándiz
7c80519cbf
[youtube] Extract start_time
...
From the 't=*' in the url.
Currently youtube-dl doesn't use the value, but it was requested for the mpv plugin.
2015-07-20 21:10:28 +02:00
Jaime Marquínez Ferrándiz
8250c32f49
[YoutubeDL] don't default to 'bestvideo+bestaudio/best' for live videos
...
Doesn't work currently.
2015-07-20 20:25:53 +02:00
Jaime Marquínez Ferrándiz
2fe1ff8582
[youtube] Set 'is_live'
2015-07-20 20:14:20 +02:00
Jaime Marquínez Ferrándiz
17ee98e1a5
[youtube] Fix upload_date in test
2015-07-20 19:48:50 +02:00
Jaime Marquínez Ferrándiz
2ee8f5d80f
Merge remote-tracking branch 'yan12125/download-dash-segments' ( #5886 )
2015-07-20 19:34:24 +02:00
Jaime Marquínez Ferrándiz
32470bf619
[sportschau] Improve title extraction
...
The html '<title>' ends with '- sportschau.de', which shouldn't be part of the title.
2015-07-19 11:27:12 +02:00
Jaime Marquínez Ferrándiz
8b61bfd638
[sportschau] skip download in test
2015-07-19 11:27:12 +02:00
Jaime Marquínez Ferrándiz
0215103e92
[francetv] Remove unused import
2015-07-19 11:13:27 +02:00
Jaime Marquínez Ferrándiz
01d115b06b
[jeuxvideo] Relax _VALID_URL ( fixes #6230 )
2015-07-14 19:07:40 +02:00
Jaime Marquínez Ferrándiz
9750e7d70e
[postprocessor/ffmpeg] Don't use '[youtube] ...' in messages
...
Because it can be used for other extractors.
2015-07-14 12:56:32 +02:00
Jaime Marquínez Ferrándiz
dc48695ab9
Document how to group format selectors
2015-07-10 22:59:45 +02:00
Jaime Marquínez Ferrándiz
0a31a35098
[YoutubeDL] format spec: add additional checks for invalid syntax
2015-07-10 22:46:25 +02:00
Jaime Marquínez Ferrándiz
86f2541695
Remove unused 're' imports
2015-07-10 22:22:33 +02:00
Jaime Marquínez Ferrándiz
bb8e553662
[YoutubeDL] format spec: Do not fail when a filter gives an empty result
...
For example with 'best[height<40]' we ended getting a 'IndexError: list index out of range'.
2015-07-04 21:41:09 +02:00
Jaime Marquínez Ferrándiz
f5f4a27a96
[YoutubeDL] format spec: fix handling of '/' with ','
...
When using 'bestvideo/best,bestaudio', 'bestvideo/best' must be set as the current_selector (instead of appending it to the selectors), otherwise when it gets the ',' it would append 'None' to the selectors.
2015-07-04 21:30:26 +02:00
Jaime Marquínez Ferrándiz
cf2ac6df68
[YoutubeDL] format spec: Fix handling of '+' with '/'
...
'bestvideo+bestaudio/best' was incorrectly interpreted as 'bestvideo+(bestaudio/best)', so it would fail if 'bestaudio' doesn't exist instead of falling back to 'best'.
2015-06-30 19:50:17 +02:00
Jaime Marquínez Ferrándiz
0130afb76e
[YoutubeDL] format spec: allow grouping specifiers with parentheses
2015-06-29 12:46:02 +02:00
Jaime Marquínez Ferrándiz
5acfa126c8
[YoutubeDL] format spec: treat 'all' like a normal specifier
...
So you can use filters with it, for example 'all[width>=400][width<=600]'.
2015-06-28 22:48:02 +02:00
Jaime Marquínez Ferrándiz
67134eaba1
[YoutubeDL] rework how the format spec is processed
...
The spec string is processed using 'tokenize.tokenize' to split it in words and operators, the filters are still processed using regular expressions.
This should make easier to allow grouping operators with parens.
2015-06-28 22:31:35 +02:00
Jaime Marquínez Ferrándiz
cee16e0fa3
[newstube] style: fix alignment
2015-06-27 14:20:33 +02:00
Jaime Marquínez Ferrándiz
73c471e9ef
[newstube] Fix GUID extraction ( fixes #6109 )
2015-06-27 14:18:01 +02:00
Jaime Marquínez Ferrándiz
906e2f0eac
[downloader/external] Add downloader for httpie ( closes #6079 )
2015-06-25 15:48:04 +02:00
Jaime Marquínez Ferrándiz
25701d5a2c
[xhamster] pep8: remove trailing ';'
2015-06-22 11:18:52 +02:00
Jaime Marquínez Ferrándiz
f3aecb27a4
[youku] Simplify a bit the 'entries' construction
...
Mainly avoid having to use an index.
2015-06-16 14:41:52 +02:00
Jaime Marquínez Ferrándiz
eb8be1fe76
[rtbf] Extract all formats ( closes #5947 )
2015-06-10 14:12:43 +02:00
Jaime Marquínez Ferrándiz
70219b0f43
[youtube:playlist] Use an iterator for the entries ( closes #5935 )
...
So that '--playlist-end' downloads only the required pages.
2015-06-09 23:49:11 +02:00
Jaime Marquínez Ferrándiz
de390ea077
update: Use https for getting the version info ( fixes #5909 )
2015-06-07 00:21:30 +02:00
Jaime Marquínez Ferrándiz
4c8fea92f3
[test/aes] Fix on python 3.3 and higher
...
Since 878563c847 the aes functions only accepts the base64 data as a unicode string.
2015-06-03 23:50:38 +02:00
Jaime Marquínez Ferrándiz
4b4e1af059
[arte] Remove unused import
2015-05-24 18:46:29 +02:00
Jaime Marquínez Ferrándiz
04b3b3df05
[youtube] Remove the nondash formats ( fixes #5774 )
...
Since we use fixed values for some fields like width and height they can be wrong, and would get picked by some formats filters.
For example for https://www.youtube.com/watch?v=EQCrhbBxsjA the biggest height is 720 and for nondash formats it's set to 1440, so -f 'bestvideo[height>=1200]+bestaudio' would incorrectly pick the nondash format, instead it should report that the requested format is not available.
2015-05-24 18:26:20 +02:00
Jaime Marquínez Ferrándiz
79979c6897
Clarify that --dump-pages encodes the pages using base64 ( #5781 )
2015-05-22 16:15:50 +02:00
Jaime Marquínez Ferrándiz
ba64547616
[sportbox] Remove unused import
2015-05-22 11:35:09 +02:00
Jaime Marquínez Ferrándiz
6ad9cb224a
[mitele] It now uses m3u8 ( #5764 )
...
It should also be possible to use Adobe HDS, but it would require more work.
2015-05-21 12:02:53 +02:00
Jaime Marquínez Ferrándiz
4d2f42361e
[viki] remove unused import
2015-05-21 11:42:20 +02:00
Jaime Marquínez Ferrándiz
2aa64b89b3
tox: Pass HOME environment variable
...
Since version 2.0 it only passes a limited set of variables and we need HOME for the tests
2015-05-18 17:58:53 +02:00
Jaime Marquínez Ferrándiz
fc6e75dd57
[instagram] Only recognize https urls ( fixes #5739 )
...
http urls redirect to them.
2015-05-18 11:21:09 +02:00
Jaime Marquínez Ferrándiz
4d52f2eb7f
[sbs] Remove unused import
2015-05-16 18:38:28 +02:00
Jaime Marquínez Ferrándiz
eeb23eb7ea
[gamespot] The protocol is not optional
2015-05-15 18:44:08 +02:00
Jaime Marquínez Ferrándiz
34fe5a94ba
[gamespot] Add support for videos that don't use 'f4m_stream' ( fixes #5707 )
2015-05-15 18:42:59 +02:00
Jaime Marquínez Ferrándiz
e9eaf3fbcf
[test/YoutubeDL] Add tests for 'playliststart', 'playlistend' and 'playlist_items'
2015-05-15 14:08:26 +02:00
Jaime Marquínez Ferrándiz
3884dcf313
YoutubeDL: ignore indexes from 'playlist_items' that are not in the list ( fixes #5706 )
...
We ignore them instead of failing to match the behaviour of the 'playliststart' parameter.
2015-05-15 14:08:26 +02:00
Jaime Marquínez Ferrándiz
2bc4330303
[youtube:history] Fix extraction ( fixes #5702 )
...
It uses the same method as YoutubeSubscriptionsIE, if other feed starts using it we should consider using base class.
2015-05-14 23:41:27 +02:00
Jaime Marquínez Ferrándiz
69b46b3d95
ExecAfterDownloadPP: fix __init__ method
2015-05-10 17:47:49 +02:00
Jaime Marquínez Ferrándiz
95c5534f8e
ExecAfterDownloadPP, YoutubeDL: remove unused parameters
2015-05-10 17:41:11 +02:00
Jaime Marquínez Ferrándiz
3b5f65a64c
[mlb] Fix extraction of articles
...
And move test from generic, since it's directly handled by MLBIE
2015-05-09 12:41:56 +02:00
Jaime Marquínez Ferrándiz
5c0b2c16a8
[vgtv] Escape '#' in _VALID_URL and remove empty newlines at the end
...
In verbose mode, '#' is interpreted as the start of a comment.
2015-05-09 12:34:45 +02:00
Jaime Marquínez Ferrándiz
541168039d
[utils] get_exe_version: encode executable name ( fixes #5647 )
...
It failed in python 2.x when $PATH contains a directory with non-ascii characters.
2015-05-08 11:01:24 +02:00
Jaime Marquínez Ferrándiz
5268a05e47
[ooyala] Style fix
2015-05-07 17:04:15 +02:00
Jaime Marquínez Ferrándiz
a90552663e
[livestream:original] Update url format ( fixes #5598 )
2015-05-04 16:54:01 +02:00
Jaime Marquínez Ferrándiz
883340c107
[livestream:original] Fix extraction ( fixes #4702 )
2015-05-04 16:52:17 +02:00
Jaime Marquínez Ferrándiz
5477ca8239
[dailymotion] Use https urls
...
The video url still redirects to an http url, but it doesn't explicitly contain the video id.
2015-05-03 16:59:14 +02:00
Jaime Marquínez Ferrándiz
2ddcd88129
Remove code that was only used by the Grooveshark extractor
2015-05-02 17:29:56 +02:00
Jaime Marquínez Ferrándiz
df8301fef5
[YoutubeDL] pep8: use 'k not in' instead of 'not k in'
2015-04-30 20:18:42 +02:00
Jaime Marquínez Ferrándiz
8dd5418803
Make 'best' format only match non-DASH formats ( closes #5554 )
...
Otherwise it's impossible to only download non-DASH formats, for example `best[height=?480]/best` would download a DASH video if it's the only one with height=480, instead for falling back to the second format specifier.
For audio only urls (soundcloud, bandcamp ...), the best audio will be downloaded as before.
2015-04-29 22:53:18 +02:00
Jaime Marquínez Ferrándiz
965cb8d530
[escapist] pep8 fixes
2015-04-29 22:46:19 +02:00
Jaime Marquínez Ferrándiz
2edce52584
[vimeo] Fix password protected videos again ( #5082 )
...
Since they have changed again to the previous format, I've modified the regex to match both formats.
2015-04-28 15:06:08 +02:00
Jaime Marquínez Ferrándiz
642f23bd81
[southpark] Use 'ñ' in the spanish extractor name
...
IE_NAME can contain unicode characters, so it shouldn't be a problem.
2015-04-25 22:36:11 +02:00
Jaime Marquínez Ferrándiz
0d1bd5d62f
README: remove --max-quality
2015-04-25 15:14:16 +02:00
Jaime Marquínez Ferrándiz
9f3fa89f7c
Remove the --max-quality option
...
It doesn't work well with 'bestvideo' and 'bestaudio' because they are usually before the max quality.
Format filters should be used instead, they are more flexible and don't require the requested quality to exist for each video.
2015-04-25 11:59:54 +02:00
Jaime Marquínez Ferrándiz
92995e6265
[postprocessor/embedthumbnail] Style fix
2015-04-24 22:08:00 +02:00
Jaime Marquínez Ferrándiz
a4196c3ea5
[ellentv] Remove unused import
2015-04-24 22:06:22 +02:00
Jaime Marquínez Ferrándiz
c04c3e334c
[flickr] Don't use regex for extracting the info from the xml files
2015-04-22 19:58:39 +02:00
Jaime Marquínez Ferrándiz
f8e51f60b3
[flickr] Fix extraction ( fixes #5501 )
2015-04-22 19:24:14 +02:00
Jaime Marquínez Ferrándiz
b4c0806963
[youtube:ytsearch] Use the same system as the search webpage ( fixes #5483 )
...
The gdata api V2 was deprecated and according to http://youtube-eng.blogspot.com.es/2014/03/committing-to-youtube-data-api-v3_4.html remains available until April 20, 2015.
2015-04-21 19:30:31 +02:00
Jaime Marquínez Ferrándiz
5c1e6f69c4
[senate] Simplify
...
There isn't any problem if the 'formats' field only has one element
2015-04-21 15:04:55 +02:00
Jaime Marquínez Ferrándiz
7b071e317b
README: document bestvideo+bestaudio/best ( #5447 )
2015-04-19 18:54:05 +02:00
Jaime Marquínez Ferrándiz
a380509259
Move the documentation for the --format option to the manpage
...
It's too big for beeing embedded in the help message and it's easier to edit in the markdown file.
2015-04-19 18:53:28 +02:00
Jaime Marquínez Ferrándiz
5b5fbc0867
Detect already merged videos
...
Without the '--keep-video' option the two files would be downloaded again and even using the option, ffmpeg would be run again, which for some videos can take a long time.
We use a temporary file with ffmpeg so that the final file only exists if it success
2015-04-19 17:51:41 +02:00
Jaime Marquínez Ferrándiz
cc36e2295a
[ign] Fix extraction of some videos in articles
...
Give higher preference to the hero-poster regex because some articles may contain other videos
2015-04-18 13:27:35 +02:00
Jaime Marquínez Ferrándiz
d47aeb2252
FFmpegMergerPP: use the new system for specifying which files can be delete
2015-04-18 11:52:36 +02:00
Jaime Marquínez Ferrándiz
14523ed969
FFmpegEmbedSubtitlePP: remove the subtitle files if '--keep-video' is not given ( closes #5435 )
2015-04-18 11:44:42 +02:00
Jaime Marquínez Ferrándiz
592e97e855
Postprocessors: use a list for the files that can be deleted
...
We could only know if we had to delete the original file, but this system allows to specify us more files (like subtitles).
2015-04-18 11:36:42 +02:00
Jaime Marquínez Ferrándiz
ecc6bd1341
YoutubeDL.post_process: simplify keep_video handling
...
Since keep_video started as None we always set it to keep_video_wish unless it was None, so in the end keep_video == keep_video_wish. This should have been changed in f3ff1a3696 , but I didn't notice it.
2015-04-17 22:38:14 +02:00