Jaime Marquínez Ferrándiz
c11529618a
[redtube] Make ‘http:’ not optional ( closes #2160 )
...
If the url doesn’t specify the protocol we can’t directly use it to download the webpage, we would need to build a new url.
Instead, we let the generic extractor add the protocol.
2014-01-16 11:21:33 +01:00
Jaime Marquínez Ferrándiz
d2250ea7fd
[nowvideo] Recognize nowvideo.sx urls ( fixes #2127 )
2014-01-12 12:42:06 +01:00
Jaime Marquínez Ferrándiz
db22af36ec
[brightcove] The ‘id’ attribute is not always present in the object tag ( fixes #2132 )
...
It looks like the ‘flashId’ parameter is not needed.
2014-01-10 19:39:42 +01:00
Jaime Marquínez Ferrándiz
298f16f954
[bandcamp] Fix variable name
2014-01-09 20:23:28 +01:00
Jaime Marquínez Ferrándiz
3d97cbbdaf
Fix typo in the readme
2014-01-09 18:40:23 +01:00
Jaime Marquínez Ferrándiz
9d6192a5b8
[bloomberg] Fix ooyala url extraction
2014-01-08 18:18:45 +01:00
Jaime Marquínez Ferrándiz
76b1bd672d
Add ‘--prefer-avconv’ and ‘--prefer-ffmpeg’ options ( #2115 )
...
Affects the ffmpeg post processors, if ‘--prefer-ffmpeg’ is given and both avconv and ffmpeg are installed, it will use ffmpeg. Otherwise it will follow the old behaviour.
2014-01-08 17:53:34 +01:00
Jaime Marquínez Ferrándiz
469ec9416a
[francetv] Add extractor for Culturebox ( closes #2117 )
2014-01-08 16:16:34 +01:00
Jaime Marquínez Ferrándiz
70af3439e9
[hls] Fix the program name when reporting the file size
2014-01-08 16:15:20 +01:00
Jaime Marquínez Ferrándiz
1c0f31f9f7
[bash-completion] Complete filename if —load-info is given
2014-01-05 11:28:01 +01:00
Jaime Marquínez Ferrándiz
41292a3827
Fix list comprehension for decoding the URLs ( fixes #2100 )
...
It wasn’t a comprehension, it was just using the last url from the previous comprehension.
That didn’t raise an error in python 2, but in python 3 the variable was not defined.
2014-01-05 10:58:36 +01:00
Jaime Marquínez Ferrándiz
6350728be2
Allow merging formats ( closes #1612 )
...
Multiple formats can be requested using `-f 137+139`, each one is downloaded and then the two are merged with ffmpeg.
2014-01-04 13:13:51 +01:00
Jaime Marquínez Ferrándiz
91d7d0b333
FFmpegMetadataPP; Write temporary file to something.temp.{ext} ( fixes #2079 )
...
ffmpeg correctly recognize the formats of extensions like m4a, but it doesn’t works if it’s passed with the `—format` option.
2014-01-03 12:54:19 +01:00
Jaime Marquínez Ferrándiz
71cd2a571e
[dreisat] Make ‘index.php’ optional in the url ( fixes #2080 )
2014-01-03 12:02:08 +01:00
Jaime Marquínez Ferrándiz
31c1cf5a9d
[soundcloud] recognize more players’ urls ( fixes #2078 )
2014-01-02 16:18:51 +01:00
Jaime Marquínez Ferrándiz
efa1739b74
[comedycentral] Recognize ‘video-collections’ urls ( #2072 )
2014-01-01 21:11:35 +01:00
Jaime Marquínez Ferrándiz
5ffecde73f
[mixcloud] Fix track url transformation ( fixes #2068 )
...
‘/previews/‘ must be replaced with ‘/c/originals/‘ now.
2014-01-01 21:07:55 +01:00
Jaime Marquínez Ferrándiz
8fa8a6299b
[youtube] Add itag 264 ( closes #2063 )
...
It has a better bitrate than 137 but the same resolution
2014-01-01 13:45:33 +01:00
Jaime Marquínez Ferrándiz
b2b0870b3a
[dreisat] Update test filename and checksum
2014-01-01 13:30:58 +01:00
Jaime Marquínez Ferrándiz
4fb757d1e0
Merge pull request #2041 from dstftw/imdb-list
...
[imdb] Add support for IMDb list (#2033 )
2014-01-01 12:45:09 +01:00
Jaime Marquínez Ferrándiz
241bce7aaf
Merge pull request #2061 from rzhxeo/var
...
Correct variable name in YoutubeDL.list_formats
2014-01-01 03:33:34 -08:00
Jaime Marquínez Ferrándiz
c801b2051a
Add an extractor for cmt.com ( closes #2049 )
...
It just inherits from MTVIE.
Some videos also come from vevo.com
2013-12-31 17:21:44 +01:00
Jaime Marquínez Ferrándiz
7976fcac55
[http] Fix ‘err’ variable not being assigned in an except block ( #2045 )
2013-12-31 13:44:57 +01:00
Jaime Marquínez Ferrándiz
e9f9a10fba
Fix initialization of YoutubeDL with params set to None
...
Set it to an empty dictionary because it’s directly accessed when setting some properties
2013-12-31 13:34:52 +01:00
Jaime Marquínez Ferrándiz
9d8d675e0e
[subtitles-tests] Fix youtube test
...
It returns now a single info_dict
2013-12-23 10:40:28 +01:00
Jaime Marquínez Ferrándiz
933605d7e8
YoutubeDL: rename _fd_progress_hooks back to _progress_hooks
...
In the future it may report more things.
2013-12-23 10:37:27 +01:00
Jaime Marquínez Ferrándiz
b3d9ef88ec
YoutubeDL: only set the ‘formats’ field of the info_dict if it was already set before
...
It caused a circular reference error, when trying to dump it to json (for example with the test video for myvideo.de or any other video without formats)
2013-12-23 10:23:13 +01:00
Jaime Marquínez Ferrándiz
768df74538
[blinkxx] Add support for youtube videos
2013-12-19 21:02:25 +01:00
Jaime Marquínez Ferrándiz
c0d0b01f0e
[generic] Detect ooyala videos ( fixes #2013 )
2013-12-19 20:32:12 +01:00
Jaime Marquínez Ferrándiz
1fb8f09273
Merge pull request #2006 from dstftw/master
...
[smotri] Fix duration field name
2013-12-18 15:40:40 -08:00
Jaime Marquínez Ferrándiz
9b8aaeed85
Simplify url_basename
...
Use urlparse from the standard library.
2013-12-17 14:56:29 +01:00
Jaime Marquínez Ferrándiz
5c541b2cb7
[mtv] Add support for urls from the mobile site ( fixes #1959 )
2013-12-16 22:05:28 +01:00
Jaime Marquínez Ferrándiz
f7a6892572
[arte:ddc] Remove test
...
video seems to expire in 7 days, as arte+7
2013-12-16 21:42:41 +01:00
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
2013-12-15 11:42:38 +01:00
Jaime Marquínez Ferrándiz
9ee859b683
[daylimotion] Add support for urls from the mobile site ( fixes #1953 )
...
It uses the 'touch' subdomain and adds a '#' before 'video'
2013-12-14 14:20:12 +01:00
Jaime Marquínez Ferrándiz
5d574e143f
[ign] Update one of test video's title
2013-12-13 17:04:40 +01:00
Jaime Marquínez Ferrándiz
7a563df90a
[daum] Recognize mobile urls ( #1952 )
2013-12-12 13:05:38 +01:00
Jaime Marquínez Ferrándiz
24b173fa5c
[naver] Recognize mobile urls ( fixes #1951 )
2013-12-12 13:04:02 +01:00
Jaime Marquínez Ferrándiz
3bc2ddccc8
Move FileDownloader to its own module and create a new class for each 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
2013-12-11 16:18:48 +01:00
Jaime Marquínez Ferrándiz
8ab470f1b2
Now a new FileDownloader is created when downloading a video
...
The progress hooks can be added using the method "add_downloader_progress_hook"
2013-12-11 16:04:42 +01:00
Jaime Marquínez Ferrándiz
1825836235
Use _download_xml in more extractors
2013-12-10 21:03:53 +01:00
Jaime Marquínez Ferrándiz
a0088bdf93
[vimeo] Fix unused argument of the _real_extract method
2013-12-10 20:43:16 +01:00
Jaime Marquínez Ferrándiz
48ad51b243
[vimeo] Fix the extraction for some 'player' or 'pro' videos
...
The variable the config dict is assigned to can change, now we try to detect it or fallback to a, b or c
2013-12-10 20:28:12 +01:00
Jaime Marquínez Ferrándiz
5458b4cefb
[dailymotion] Fix view count extraction and make it non fatal ( fixes #1940 )
2013-12-10 19:47:00 +01:00
Jaime Marquínez Ferrándiz
7c86cd5ab1
[dailymotion] Fix uploader extraction
...
Now it looks directly in the info dictionary
2013-12-10 19:44:16 +01:00
Jaime Marquínez Ferrándiz
cbfc470228
[mixcloud] Try to get the m4a url if the mp3 url fails to download ( fixes #1939 )
2013-12-10 13:42:41 +01:00
Jaime Marquínez Ferrándiz
f67ca84d4a
[soundcloud] Fix the extension for 'downloadable' songs
...
In this case the 'original_format' field must be used.
2013-12-10 13:04:21 +01:00
Jaime Marquínez Ferrándiz
26e6393134
Set 'NA' as the default value for missing fields in the output template ( fixes #1931 )
...
Remove the `except KeyError` clause, it won't get raised anymore
2013-12-09 22:00:42 +01:00
Jaime Marquínez Ferrándiz
77526143e7
[brightcove] Use the original url (usually the player) as the default referer ( fixes #1929 )
2013-12-09 20:01:43 +01:00
Jaime Marquínez Ferrándiz
de2dd4c502
[soundcloud] add support for private links ( fixes #1927 )
2013-12-09 17:08:58 +01:00
Jaime Marquínez Ferrándiz
baa7b1978b
Remove the calls to 'compat_urllib_request.urlopen' in a few extractors
2013-12-08 22:24:55 +01:00
Jaime Marquínez Ferrándiz
ac5118bcb9
[arte.tv:ddc] Add fields to the test and skip download (rtmp)
2013-12-08 16:35:29 +01:00
Jaime Marquínez Ferrándiz
5adb818947
Merge remote-tracking branch 'spjoe/master' (closes PR #1921 )
2013-12-08 16:33:34 +01:00
Jaime Marquínez Ferrándiz
42d3bf844a
Merge pull request #1919 from rzhxeo/xhamster
...
[XHamsterIE] Fix HD video detection
2013-12-07 14:35:17 -08:00
Jaime Marquínez Ferrándiz
c4d9e6731a
[pyvideo] add support for videos that don't come from Youtube
2013-12-07 11:19:59 +01:00
Jaime Marquínez Ferrándiz
0d9ec5d963
[pyvideo] Cleanup and fix test
2013-12-07 11:00:56 +01:00
Jaime Marquínez Ferrándiz
870fc4e578
Merge remote-tracking branch 'gekitsuu/master' (closes PR #1913 )
2013-12-07 10:50:06 +01:00
Jaime Marquínez Ferrándiz
fb30ec22fd
[vimeo] Add an extractor for groups
2013-12-06 22:01:41 +01:00
Jaime Marquínez Ferrándiz
5cc14c2fd7
[vimeo] Add an extractor for albums ( closes #1911 )
2013-12-06 21:48:44 +01:00
Jaime Marquínez Ferrándiz
d349cd2240
[imdb] Fix extraction
...
The paths to each format's page may have leading whitespace.
The height and the duration can't be extracted.
2013-12-06 20:26:55 +01:00
Jaime Marquínez Ferrándiz
0b6a9f639f
[vevo] Update test video's duration
2013-12-06 20:14:29 +01:00
Jaime Marquínez Ferrándiz
715c8e7bdb
[youtube:playlist] Recognize mix ids for direct use ( fixes #1295 )
2013-12-06 19:52:41 +01:00
Jaime Marquínez Ferrándiz
7d4afc557f
[youtube:playlist] Support mix ids longer than 13 ( #1295 )
2013-12-06 19:48:54 +01:00
Jaime Marquínez Ferrándiz
563e405411
[dailymotion] Fix view count regex
...
In some languages they can be in the format '123,456' instead of '123.456'
2013-12-06 13:41:07 +01:00
Jaime Marquínez Ferrándiz
f53c966a73
[dailymotion] Extract view count ( #1895 )
2013-12-06 13:36:36 +01:00
Jaime Marquínez Ferrándiz
336c3a69bd
[youtube] Extract like and dislike count ( #1895 )
2013-12-06 13:22:27 +01:00
Jaime Marquínez Ferrándiz
4e76179476
[vimeo] Extract views count, likes count and comments count ( #1895 )
2013-12-06 13:03:08 +01:00
Jaime Marquínez Ferrándiz
3514813d5b
[francetv] Add support for urls in the format http://www.france3.fr/emissions/{program}/diffusions/{date} ( fixes #1898 )
2013-12-05 21:49:30 +01:00
Jaime Marquínez Ferrándiz
9e60602084
[francetv] Add support for more channels: 3, 4, 5 and Ô ( #1898 )
...
Rename the France2IE extractor to FranceTVIE
2013-12-05 21:48:41 +01:00
Jaime Marquínez Ferrándiz
673d1273ff
[vevo] Support '/watch/{id}' urls
2013-12-05 12:41:58 +01:00
Jaime Marquínez Ferrándiz
b9a2c53833
[metacafe] Add support for cbs videos ( fixes #1838 )
...
They use theplatform.com
2013-12-04 23:43:50 +01:00
Jaime Marquínez Ferrándiz
e9bf7479d2
Add an extractor for theplatform.com
2013-12-04 23:41:22 +01:00
Jaime Marquínez Ferrándiz
bfb9f7bc4c
[hotnewhiphop] Update test's title
2013-12-04 20:36:26 +01:00
Jaime Marquínez Ferrándiz
6a656a843a
Update description value for the write_info_json test (required after 27dcce1904)
2013-12-04 20:35:00 +01:00
Jaime Marquínez Ferrándiz
d494389821
Option '--load-info': if the download fails, try extracting the info with the 'webpage_url' field of the info dict
...
The video url may have expired.
2013-12-03 20:16:52 +01:00
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
2013-12-03 20:15:20 +01:00
Jaime Marquínez Ferrándiz
84db81815a
Move common code for extractors based in MTV services to a new base class
...
Removes the duplication of the thumbnail extraction code (only MTVIE needs to override it)
2013-12-03 14:58:24 +01:00
Jaime Marquínez Ferrándiz
fb7abb31af
Remove the compatibility code used before the new format system was implemented
2013-12-03 14:31:20 +01:00
Jaime Marquínez Ferrándiz
cb7fb54600
Change the ie_name of YoutubeSearchDateIE
...
It produced a duplicate entry when listing the extractors with '--list-extractors' and generates noise in the commit log when generating the supported sites webpage (like in 09f355f73b )
2013-12-03 13:55:25 +01:00
Jaime Marquínez Ferrándiz
55a10eab48
[vimeo] Add an extractor for users ( closes #1871 )
2013-12-01 22:36:18 +01:00
Jaime Marquínez Ferrándiz
0a688bc0b2
[youtube] Add support for downloading top lists ( fixes #1868 )
...
It needs to know the channel and the title of the list, because the ids change every time you browse the channels and are attached to a 'VISITOR_INFO1_LIVE' cookie.
2013-11-30 14:56:51 +01:00
Jaime Marquínez Ferrándiz
c5171c454b
[yahoo] Force use of the http protocol for downloading the videos.
2013-11-29 22:06:17 +01:00
Jaime Marquínez Ferrándiz
befd88b786
[yahoo] Add an extractor for yahoo news ( closes #1849 )
2013-11-29 15:25:43 +01:00
Jaime Marquínez Ferrándiz
acf37ca151
[imdb] Fix the resolution values ( fixes #1847 )
...
We were using the size of the player, it was the same for all the formats
2013-11-29 07:56:14 +01:00
Jaime Marquínez Ferrándiz
3862402ff3
Add an extractor for Clipsyndicate ( closes #1744 )
2013-11-28 14:38:10 +01:00
Jaime Marquínez Ferrándiz
b03d0d064c
[imdb] Fix extraction in python 2.6
...
Using a regular expression because the html cannot be parsed.
2013-11-28 13:49:00 +01:00
Jaime Marquínez Ferrándiz
d8d6148628
Add an extractor for Internet Movie Database trailers ( closes #1832 )
2013-11-28 13:32:49 +01:00
Jaime Marquínez Ferrándiz
0e44d8381a
[youtube:feeds] Use the 'paging' value from the downloaded json information ( fixes #1845 )
2013-11-28 00:33:27 +01:00
Jaime Marquínez Ferrándiz
35907e23ec
[yahoo] Fix video extraction and use the new format system exclusively
2013-11-27 21:24:55 +01:00
Jaime Marquínez Ferrándiz
76d1700b28
[youtube:playlist] Fix the extraction of the title for some mixes ( #1844 )
...
Like https://www.youtube.com/watch?v=g8jDB5xOiuE&list=RDIh2gxLqR7HM
2013-11-27 20:01:51 +01:00
Jaime Marquínez Ferrándiz
5f09bbff4d
[bash-completion] Complete the ':ythistory' keyword
2013-11-27 00:42:59 +01:00
Jaime Marquínez Ferrándiz
c1f9c59d11
[bash-completion] Complete filenames or directories if the previous option requires it
2013-11-27 00:41:30 +01:00
Jaime Marquínez Ferrándiz
652cdaa269
[youtube:playlist] Add support for YouTube mixes ( fixes #1839 )
2013-11-26 21:35:03 +01:00
Jaime Marquínez Ferrándiz
e26f871228
Use the new '_download_xml' helper in more extractors
2013-11-26 19:17:25 +01:00
Jaime Marquínez Ferrándiz
6e47b51eef
[youtube:playlist] Remove the link with index 0
...
It's not the first video of the playlist, it appears in the 'Play all' button (see the test course for an example)
2013-11-26 19:09:14 +01:00
Jaime Marquínez Ferrándiz
4a98cdbf3b
YoutubeDL: set the 'params' property before any message/warning/error is 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''
2013-11-26 18:54:14 +01:00
Jaime Marquínez Ferrándiz
c2e52508cc
Include the proxy in the parameters for YoutubeDL ( fixes #1831 )
2013-11-26 08:03:11 +01:00
Jaime Marquínez Ferrándiz
d31209a144
Use the 'extractor_key' field for the download archive file
...
It has the same value as the ie_key.
2013-11-25 22:57:15 +01:00
Jaime Marquínez Ferrándiz
529a2e2cc3
Fix typo in the documentation of the 'download_archive' param
2013-11-25 22:52:09 +01:00
Jaime Marquínez Ferrándiz
a3927cf7ee
Allow to initialize a YoutubeDL object without parameters
...
Having to pass the 'outtmpl' parameter feels really strange when you just want to extract the info of a video.
2013-11-25 22:03:39 +01:00