Jaime Marquínez Ferrándiz
ba61796458
[youtube] Don't override format info from the dash manifest ( fixes #4911 )
2015-02-09 15:04:22 +01:00
Jaime Marquínez Ferrándiz
0161353d7d
[test/test_YoutubeDL] Remove debug print call
2015-02-06 23:58:01 +01:00
Jaime Marquínez Ferrándiz
2b4ecde2c8
[test/YoutubeDL] Add a simple test for postprocesors
...
Just checks that the 'keepvideo' option works as intended.
2015-02-06 23:54:25 +01:00
Jaime Marquínez Ferrándiz
b3a286d69d
[YoutubeDL] _calc_cookies: add get_header method to _PseudoRequest ( #4861 )
2015-02-06 22:23:06 +01:00
Jaime Marquínez Ferrándiz
467d3c9a0c
[ffmpeg] --extrac-audio: Use the same options for avconv and ffmpeg
...
They have been available in ffmpeg since version 0.9, and we require 1.0 or higher.
2015-02-06 22:05:11 +01:00
Jaime Marquínez Ferrándiz
a57b562cff
[nfl] Add support for articles pages ( fixes #4848 )
2015-02-02 23:17:00 +01:00
Jaime Marquínez Ferrándiz
e41b1f7385
Fix flake8 errors
2015-01-31 10:51:39 +01:00
Jaime Marquínez Ferrándiz
cd596028d6
[rtve] Recognize mobile urls ( fixes #4823 )
2015-01-30 23:46:55 +01:00
Jaime Marquínez Ferrándiz
cc57bd33a8
[rtve] Fix extraction
...
Skip live stream test, we can't use the f4m manifest yet
2015-01-30 23:46:55 +01:00
Jaime Marquínez Ferrándiz
a7a14d9586
[YoutubeDL] set the 'thumbnails' field if the info_dict has the 'thumbnails' field
...
Since the '--write-thumbnail' uses the 'thumbnails' field and we didn't updated the info_dict, it wouldn't detect the thumbnail. (fixes #4812 )
2015-01-29 20:15:38 +01:00
Jaime Marquínez Ferrándiz
4f264c02c7
[utils] YoutubeDLHTTPSHandler.https_open: pass all required arguments to do_open
...
With this change the '--no-check-certificate' works again (#4807 ).
2015-01-29 15:01:27 +01:00
Jaime Marquínez Ferrándiz
e72c7e4123
[YoutubeDL] Always set the '_filename' field in the info_dict (reported in #4053 )
...
It's also useful when you use the '--write-info-json' option.
2015-01-26 12:01:43 +01:00
Jaime Marquínez Ferrándiz
6d2749aac4
[drtv] Prefer the version without spoken subtitles ( fixes #4779 )
...
For example for http://www.dr.dk/tv/se/moderne-klassikere/moderne-klassikere-one-republic-apologize#!/ , there's a version where everytime someone speaks in English a computer voice translates it.
2015-01-25 18:56:04 +01:00
Jaime Marquínez Ferrándiz
1070711d60
[YoutubeDL._calc_cookies] Restore the 'is_unverifiable'
...
I should have check everything was copied before commiting 4b405cfc6e .
2015-01-24 20:12:47 +01:00
Jaime Marquínez Ferrándiz
4b405cfc6e
[YoutubeDL._calc_cookies] Restore the 'has_header' method
...
I didn't copied it from downloader/external
2015-01-24 20:08:24 +01:00
Jaime Marquínez Ferrándiz
e5660ee6ae
[YoutubeDL] Fill the info dict 'http_headers' field with all the headers available
...
Useful for external tools using the json output.
The methods '_calc_headers' and '_calc_cookies' have been copied from the downloader/external, now they just use "info_dict['http_headers']".
2015-01-24 18:56:04 +01:00
Jaime Marquínez Ferrándiz
587a9c2749
[downloader/external] Use the 'http_headers' field
2015-01-24 18:25:09 +01:00
Jaime Marquínez Ferrándiz
e1554a407d
[extractors] Use http_headers for setting the User-Agent and the Referer
2015-01-24 18:23:53 +01:00
Jaime Marquínez Ferrándiz
3fcfb8e9fa
[utils] YoutubeDLHandler: don't use 'Youtubedl-user-agent' for overriding the default user agent
...
Setting the 'User-Agent' header is enough
2015-01-24 18:07:21 +01:00
Jaime Marquínez Ferrándiz
fdaaaaa878
README: Recommend using flake8 instead of pyflake and pep8 separately
2015-01-23 21:10:10 +01:00
Jaime Marquínez Ferrándiz
12d1fb5aa9
[twitch] PEP8
2015-01-23 21:05:07 +01:00
Jaime Marquínez Ferrándiz
48f00d15b1
[auengine] Remove extractor
...
The test is probably infringing copyright and nobody has provided a new test (see #4643 ).
2015-01-23 21:03:00 +01:00
Jaime Marquínez Ferrándiz
0920e5830f
[atresplayer] Don't include f4m formats if they are protected by DRM ( fixes #4705 )
2015-01-23 16:39:23 +01:00
Jaime Marquínez Ferrándiz
bf7fa94ec7
[downloader/f4m] build_fragments_list: Support videos with more than 1 segment
2015-01-23 16:31:52 +01:00
Jaime Marquínez Ferrándiz
47e0e1e0e2
[nbc] Fix pep8 issue
2015-01-21 10:36:15 +01:00
Jaime Marquínez Ferrándiz
efcddaebe9
[cnn] Use edition.cnn.com for getting the information ( fixes #4757 )
...
Some videos (like http://edition.cnn.com/videos/us/2015/01/20/orig-yellowstone-oil-spill.cnn ) will fail if we use cnn.com.
2015-01-21 10:31:57 +01:00
Jaime Marquínez Ferrándiz
5fe5112589
[CNNArticle] Update test
2015-01-21 10:27:18 +01:00
Jaime Marquínez Ferrándiz
2875cf01bb
FFmpegEmbedSubtitlePP: simplify command
2015-01-16 13:37:37 +01:00
Jaime Marquínez Ferrándiz
e205db3bcd
FFmpegEmbedSubtitlePP: don't fail if the video doesn't have an audio stream ( fixes #4718 )
...
Instead of specifying which streams ffmpeg must copy, we tell it to copy all.
2015-01-16 13:29:01 +01:00
Jaime Marquínez Ferrándiz
f3ff1a3696
YoutubeDL: Make the decision about removing the original file after each postprocessor is run ( fixes #2261 )
...
If one of the processors said the file should be kept, it wouldn't pay
attention to the response from the following processors. This was wrong if the
'keep_video' option was False, if the first extractor modifies the original file
and then we extract its audio we don't want to keep the original video file.
2015-01-11 11:35:18 +01:00
Jaime Marquínez Ferrándiz
9932a65370
[vk] Remove debug assert statement ( fixes #4672 , fixes #4514 )
2015-01-09 20:13:53 +01:00
Jaime Marquínez Ferrándiz
c5d666d374
Fix build with python 2.6
...
* Packages cannot be executed
* '.format' needs the index of the argument
(Reported in https://github.com/Homebrew/homebrew/issues/35616 )
2015-01-07 16:09:43 +01:00
Jaime Marquínez Ferrándiz
5d8993b06a
[extractor/__init__] Remove unused import
2015-01-07 11:59:15 +01:00
Jaime Marquínez Ferrándiz
c758bf9fd7
[nrktv] Remove 'proxy' parameter from tests
2015-01-07 11:56:22 +01:00
Jaime Marquínez Ferrándiz
76b3c61012
[youtube] Add formats 308 and 315 ( closes #4650 )
2015-01-06 11:59:41 +01:00
Jaime Marquínez Ferrándiz
8f9529cd05
[motorsport] Fix extraction and make trailing '/' optional
...
They directly embed a youtube video now.
2015-01-05 19:19:01 +01:00
Jaime Marquínez Ferrándiz
a285b6377b
[normalboots] Skip download in test, it uses rtmp
2015-01-05 13:59:49 +01:00
Jaime Marquínez Ferrándiz
cd791a5ea0
[ted] Add support for embed-ssl.ted.com embedded videos
2015-01-05 13:11:13 +01:00
Jaime Marquínez Ferrándiz
87830900a9
[generic] Update some tests
2015-01-05 13:07:24 +01:00
Jaime Marquínez Ferrándiz
75311a7e16
.travis.yml: Remove my email from the list
2015-01-05 12:29:32 +01:00
Jaime Marquínez Ferrándiz
628bc4d1e7
[khanacademy] Update test
2015-01-05 12:28:35 +01:00
Jaime Marquínez Ferrándiz
a4c3f48639
[vimple] Replace tests
...
The first one seems to be no longer available and the second was an episode from a tv show.
2015-01-05 11:54:14 +01:00
Jaime Marquínez Ferrándiz
2f985f4bb4
[youtube:toplist] Remove extractor
...
They use now normal playlists (their id is PL*).
2015-01-05 00:18:43 +01:00
Jaime Marquínez Ferrándiz
1d2d0e3ff2
utils: Remove blank line at the end of file
2015-01-04 14:07:06 +01:00
Jaime Marquínez Ferrándiz
9fda6ee39f
[tf1] Remove unused import
2015-01-04 14:06:23 +01:00
Jaime Marquínez Ferrándiz
bc3e582fe4
Don't use '-shortest' option for merging formats ( closes #4220 , closes #4580 )
...
With avconv and older versions of ffmpeg the video is partially copied.
The duration difference between the audio and the video seem to be really small, so it's probably not noticeable.
2015-01-04 14:02:17 +01:00
Jaime Marquínez Ferrándiz
63948fc62c
[downloader/hls] Respect the 'prefer_ffmpeg' option
2015-01-04 13:41:49 +01:00
Jaime Marquínez Ferrándiz
d26b1317ed
[downloader/mplayer] Use check_executable
2015-01-03 00:33:36 +01:00
Jaime Marquínez Ferrándiz
a221f22969
[crunchyroll] Fix format extraction
...
Reported in https://github.com/rg3/youtube-dl/issues/2782#issuecomment-68556780
2015-01-02 21:17:10 +01:00
Jaime Marquínez Ferrándiz
817f786fbb
[canalplus] Raise an error if the video is georestricted ( closes #4472 )
2015-01-02 21:02:34 +01:00
Jaime Marquínez Ferrándiz
f86d543ebb
[pbs] Catch geoblocking errors ( closes #4516 )
2014-12-31 17:43:49 +01:00
Jaime Marquínez Ferrándiz
60e47a2699
[youtube] Use '_download_xml' for getting the available subtitles
2014-12-31 15:44:15 +01:00
Jaime Marquínez Ferrándiz
7d900ef1bf
[youtube] Add support for automatically translated subtitles ( fixes #4555 )
...
They have a manually uploaded subtitles track and YouTube can transtale it.
2014-12-31 14:15:16 +01:00
Jaime Marquínez Ferrándiz
e0ae1814b1
[sportdeutschland] Fix extraction ( fixes #4544 )
2014-12-22 22:24:19 +01:00
Jaime Marquínez Ferrándiz
f00fd51dae
Don't write the description file if info_dict['description'] is None ( #3166 )
2014-12-21 20:49:14 +01:00
Jaime Marquínez Ferrándiz
5d3808524d
[extractor/common] Update docstring: replace FileDownloader with YoutubeDL
2014-12-21 16:58:29 +01:00
Jaime Marquínez Ferrándiz
c8f167823f
[dbtv] Make sure the 'id' field is a string
2014-12-21 16:57:07 +01:00
Jaime Marquínez Ferrándiz
70f6796e7d
[telecinco] Rename 'episode' group to 'id' in the _VALID_URL regex
...
MiTeleIE now uses '_match_id'
2014-12-21 16:54:53 +01:00
Jaime Marquínez Ferrándiz
85d253af6b
[internetvideoarchive] Update test's duration field
2014-12-21 15:37:21 +01:00
Jaime Marquínez Ferrándiz
a86cbf5876
[rtp] Fix test's id field
2014-12-21 15:28:40 +01:00
Jaime Marquínez Ferrándiz
3f1399de8a
[tmz] Fix test's thumbnail field
2014-12-21 15:26:00 +01:00
Jaime Marquínez Ferrándiz
1f809a8560
[nerdcubed] Style fixes
2014-12-21 15:22:30 +01:00
Jaime Marquínez Ferrándiz
653d14e2f9
[yahoo] Update extraction process
...
Their webpage uses now https://video.media.yql.yahoo.com/v1/video/sapi/streams/ for getting the video info.
2014-12-21 14:47:44 +01:00
Jaime Marquínez Ferrándiz
85fab7e47b
[yahoo] Replace two tests
...
The first one returned an internal server error.
The other doesn't seem to contain a video anymore.
2014-12-21 14:47:12 +01:00
Jaime Marquínez Ferrándiz
3aa9176f08
[yahoo] Improve video id detection ( fixes #4521 )
2014-12-21 14:09:00 +01:00
Jaime Marquínez Ferrándiz
e54a3a2f01
[screencastomatic] Remove unused variable
2014-12-17 14:56:30 +01:00
Jaime Marquínez Ferrándiz
0e4cb4f406
YoutubeDL: style fix
2014-12-17 14:55:27 +01:00
Jaime Marquínez Ferrándiz
a16af51873
flake8: Add more ignored files
...
* setup.py: the '__version__' variable is not defined in the script, it is loadded from youtube_dl/version.py
* devscripts/buildserver.py: Produces a lot of messages
2014-12-16 20:38:59 +01:00
Jaime Marquínez Ferrándiz
dc9a441bfa
Move flake8 configuration to setup.cfg
...
It will be used when calling flake8 from any directory in the project
2014-12-16 20:34:07 +01:00
Jaime Marquínez Ferrándiz
ee6dfe8308
Use flake8 instead of pyflakes and pep8
...
It combines both tools
2014-12-16 20:34:07 +01:00
Jaime Marquínez Ferrándiz
2cb5b03e53
[test/test_unicode_literals] Remove duplicated imports
2014-12-16 20:33:23 +01:00
Jaime Marquínez Ferrándiz
bb18d787b5
[aljazeera] Add extractor ( closes #4487 )
2014-12-16 15:48:01 +01:00
Jaime Marquínez Ferrándiz
4b7df0d30c
[youtube:playlist] Work around buggy playlists ( fixes #4449 )
...
They show a "Load more" button, but they don't have more videos.
The continuation url in the json file was a link to itself, so we ended up in an infinite loop.
2014-12-15 19:19:15 +01:00
Jaime Marquínez Ferrándiz
3013bbb27d
Remove unused imports
2014-12-15 08:24:50 +01:00
Jaime Marquínez Ferrándiz
1557ed153c
[test_unicode_literals] Import from test.helper
2014-12-13 12:45:09 +01:00
Jaime Marquínez Ferrándiz
293f0f39ce
[utils] make_HTTPS_handler: Remove try/except block that would always raise an exception
...
This code is only run for Python < 3.4, where context.load_default_certs doesn't exist
2014-12-12 23:43:25 +01:00
Jaime Marquínez Ferrándiz
0db261ba56
[utils] make_HTTPS_handler: Use ssl.create_default_context in Python 2.7.9
...
The new features in the ssl module have been backported from 3.4, see https://docs.python.org/dev/whatsnew/2.7.html#pep-466-network-security-enhancements-for-python-2-7
2014-12-12 23:35:17 +01:00
Jaime Marquínez Ferrándiz
26c06f0c51
[youtube:playlist] Remove unused property
2014-12-12 22:26:50 +01:00
Jaime Marquínez Ferrándiz
23d3608c6b
[youtube:channel] Fix extraction ( fixes #4435 )
...
It uses now the same pagination system as playlists
2014-12-12 22:23:54 +01:00
Jaime Marquínez Ferrándiz
9c1aa1d668
[mixcloud] Fix metadata extraction ( fixes #4443 )
2014-12-11 23:16:40 +01:00
Jaime Marquínez Ferrándiz
83e865a370
Fix PEP8 issue E713
2014-12-09 23:11:26 +01:00
Jaime Marquínez Ferrándiz
603c92080f
[nhl] Make sure we add '_sd' before the extension ( fixes #4397 )
...
'.replace' would find the first dot in the path.
2014-12-07 11:26:07 +01:00
Jaime Marquínez Ferrándiz
abe70fa044
[audiomack] Modernize test definition
2014-12-04 08:21:29 +01:00
Jaime Marquínez Ferrándiz
233d37fb6b
[brightcove] Make sure that the 'ext' variable is set ( fixes #4360 )
2014-12-03 13:25:49 +01:00
Jaime Marquínez Ferrándiz
163c8babaa
[nhl] Simplify
2014-12-03 00:08:26 +01:00
Jaime Marquínez Ferrándiz
6708542099
Merge branch 'master' of https://github.com/akretz/youtube-dl
2014-12-03 00:00:05 +01:00
Jaime Marquínez Ferrándiz
ea2ee40357
[nhl.com:videocenter] Don't match url with 'id=*' before 'catid' in the query
...
Since the order extractors are added is not defined, it would match instead of NHLIE.
2014-12-02 23:56:30 +01:00
Jaime Marquínez Ferrándiz
05177b34a6
[rutube] Extract m3u8 formats ( fixes #3984 )
2014-12-01 18:20:36 +01:00
Jaime Marquínez Ferrándiz
c41a9650c3
[youtube] Extract framerate from the dash manifest
...
Not all videos have 60 fps, for example they can have 48 fps.
2014-12-01 17:36:12 +01:00
Jaime Marquínez Ferrándiz
94aa25b995
Credit @Tithen-Firion for the myspace changes ( #4341 )
2014-12-01 16:15:09 +01:00
Jaime Marquínez Ferrándiz
954f36f890
[myspace] Cleanup
2014-12-01 00:10:12 +01:00
Jaime Marquínez Ferrándiz
19e92770c9
[myspace] Replace removed test video and fix the others
2014-12-01 00:10:12 +01:00
Jaime Marquínez Ferrándiz
c522adb1f0
[youtube] Add a normal age-gate test video
2014-11-30 21:45:49 +01:00
Jaime Marquínez Ferrándiz
7160532d41
[youtube] Simplify code for getting the dash manifest url
...
video_info contains now the 'ytplayer.config.args' dictionary
2014-11-30 21:07:50 +01:00
Jaime Marquínez Ferrándiz
4e62ebe250
[youtube] Try to extract the video_info from the webpage before requesting the 'get_video_info' pages
...
The YouTube player doesn't seem to use them except for embedded videos, so we can skip a network request.
But they still provide better error mesagges (for removed videos for example).
2014-11-30 20:56:32 +01:00
Jaime Marquínez Ferrándiz
4472f84f0c
[test/test_subtitles] Update checksum for vimeo subtitle file
2014-11-30 19:42:54 +01:00
Jaime Marquínez Ferrándiz
b766eb2707
[youtube] Update test
2014-11-30 19:18:39 +01:00
Jaime Marquínez Ferrándiz
10a404c335
[youtube] Add format 313 ( fixes #4339 )
2014-11-30 18:56:14 +01:00
Jaime Marquínez Ferrándiz
42939b6129
[youtube] Use a cookie for seeting the language
...
This way, we don't have to do an aditional request
2014-11-30 00:03:59 +01:00
Jaime Marquínez Ferrándiz
37ea8164d3
[youtube] Don't confirm age when initializing
...
It seems that all the videos with age restriction use now the age gate method, which doesn't require any confirmation.
2014-11-29 23:46:39 +01:00