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
Jaime Marquínez Ferrándiz
00e9d396ab
[francetv] Use the m3u8 manifest for georestricted videos ( closes #3963 )
...
Generating the correct urls for the f4m segments seems to require a lot of work.
Also raise an error if the video is not available from your location.
2014-11-24 19:49:43 +01:00
Jaime Marquínez Ferrándiz
4d46c1c68c
[brightcove] Improve error message detection ( #4256 )
2014-11-20 18:44:54 +01:00
Jaime Marquínez Ferrándiz
d6f714f321
[brightcove] Remove the namespace from the BrightcoveExperience html object
2014-11-20 18:37:08 +01:00
Jaime Marquínez Ferrándiz
f56875f271
[test/test_compat] Restore the old value of the HOME environment variable
...
If the test was run before the YoutubeIE tests (for example by running
"nosetests -v test/test_compat.py test/test_download.py -m 'Youtube_1|compat_expand'"),
it wrote the signatures cache to the 'C:\Documents and Settings\тест\Application Data' folder.
It failed due to a problem in the cache code and the write_json_file function (fixed in f03e33b89a622af13fa5275c46b63aaa4814c499)
2014-11-19 00:02:24 +01:00
Jaime Marquínez Ferrándiz
92120217eb
[cache] Fix writing to paths with unicode characters
...
* Use "compat_getenv"
* "write_json_file" now expects the filename to be a string
2014-11-19 00:02:24 +01:00
Jaime Marquínez Ferrándiz
ec5f601670
[utils] Fix "write_json_file" for unicode names in python 2.x ( fixes #4125 )
2014-11-15 22:00:32 +01:00
Jaime Marquínez Ferrándiz
71f8c7ce7a
[mtvservices:embedded] Improve config url ( fixes #4092 )
2014-11-14 19:02:18 +01:00
Jaime Marquínez Ferrándiz
5fee0eeac0
[ComedyCentralShows] Use the rtmp urls transform function from the MTV IE ( fixes #3364 )
...
It produces the right mp4 urls, so we stop prefering the rtmp urls.
2014-11-14 18:36:04 +01:00
Jaime Marquínez Ferrándiz
9e05d039e0
[dailymotion] Fix extraction of vevo videos ( fixes #4168 )
2014-11-12 23:32:27 +01:00
Jaime Marquínez Ferrándiz
c295490830
[YoutubeDL] Fix bug in the detection of formats that don't contain video ( fixes #4150 )
...
If the format requested was not available, we called the method '.get' in None.
2014-11-12 09:42:35 +01:00
Jaime Marquínez Ferrándiz
eb4cb42a02
[ted] Extract duration ( closes #4155 )
2014-11-12 09:30:57 +01:00
Jaime Marquínez Ferrándiz
a6dae6c09c
[ndr] Improve video url regex ( fixes #4140 )
2014-11-09 11:15:50 +01:00
Jaime Marquínez Ferrándiz
f866e474f3
[YoutubeDL] Don't dowload formats for merging if the first doesn't contain the video ( #4132 )
2014-11-09 10:59:56 +01:00
Jaime Marquínez Ferrándiz
c2b61af548
[options] Document the syntax for merging formats ( closes #3940 , closes #4132 )
2014-11-08 15:09:04 +01:00
Jaime Marquínez Ferrándiz
2fdbf27ad8
[niconico:playlist] Use the same video url the webpage uses ( closes #4133 )
2014-11-08 14:53:23 +01:00
Jaime Marquínez Ferrándiz
1fe8fb8c20
[vice] Re-add extractor ( fixes #4120 )
...
The generic extraction no longer works.
2014-11-06 21:44:07 +01:00
Jaime Marquínez Ferrándiz
6110bbbfdd
[niconico] Catch deleted videos ( closes #4064 )
2014-11-05 19:52:34 +01:00
Jaime Marquínez Ferrándiz
4f195f55f0
Do not override stdlib html parser 'locatestarttagend' regex ( fixes #4081 )
...
'<a href="foo" ><img src="bar" / ></a>' wouldn't be parsed right (the problem is '/ >', '/>' worked fine).
We need to change it in python 2.6 (for example the description of youtube videos wouldn't be extracted).
2014-11-02 19:31:06 +01:00
Jaime Marquínez Ferrándiz
ac35c26686
[tests] Don't auto init YoutubeDL
...
It would print the debug headers for each test.
And nose uses a StringIO object for stdout, which in python 2.x doesn't have the 'encoding' attribute.
2014-11-02 17:53:12 +01:00
Jaime Marquínez Ferrándiz
d65d628613
[crunchycroll] Fix building of ass subtitles (reported in #4019 )
...
Parse the xml document instead of using regexes, otherwise unicode characters are left unescaped.
2014-10-29 21:19:20 +01:00
Jaime Marquínez Ferrándiz
8abec2c8bb
[test_utils] Fix compat_getenv and compat_expanduser tests on python 3.x
2014-10-29 11:13:34 +01:00
Jaime Marquínez Ferrándiz
a9bad429b3
[niconico] Add extractor for playlists ( closes #4043 )
2014-10-29 11:04:48 +01:00