Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							bfc993cc91 
							
						 
					 
					
						
						
							
							Merge branch 'subtitles-rework'  
						
						... 
						
						
						
						(Closes PR #4964 ) 
						
						
					 
					
						2015-02-23 17:13:03 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							80970e531b 
							
						 
					 
					
						
						
							
							[test/subtitles] Update checksum for Viki  
						
						
						
						
					 
					
						2015-02-22 11:52:22 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							b7bb76df05 
							
						 
					 
					
						
						
							
							[test/subtitles] Remove some tests  
						
						... 
						
						
						
						Test only with 'allsubtitles', the language selection is already tested in test_YoutubeDL.py 
						
						
					 
					
						2015-02-22 11:51:57 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							98c70d6fc7 
							
						 
					 
					
						
						
							
							[YoutubeDL] only add normal subtitles to the 'requested_subtitles' field if 'writesubtitles' is True  
						
						
						
						
					 
					
						2015-02-22 11:37:27 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							ab84349b16 
							
						 
					 
					
						
						
							
							[test/YoutubeDL] Add test for subtitles  
						
						... 
						
						
						
						Updated the offlinetest make target to not skip it 
						
						
					 
					
						2015-02-22 11:29:56 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							4d17184817 
							
						 
					 
					
						
						
							
							[YoutubeDL] don't set the 'requested_subtitles' without writesubtitles or writeautomaticsub  
						
						
						
						
					 
					
						2015-02-22 00:27:49 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							8fb3ac3649 
							
						 
					 
					
						
						
							
							PEP8: W503  
						
						
						
						
					 
					
						2015-02-21 14:55:13 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							8807f1277f 
							
						 
					 
					
						
						
							
							[theplatform] Convert to new subtitles system  
						
						
						
						
					 
					
						2015-02-19 14:54:50 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							d305dd73a3 
							
						 
					 
					
						
						
							
							[utils] Fix js_to_json  
						
						... 
						
						
						
						Previously, the runtime could be atrocious for longer inputs. 
						
						
					 
					
						2015-02-18 23:59:51 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							4f7cea6c53 
							
						 
					 
					
						
						
							
							[viki] Convert to new subtitles system  
						
						
						
						
					 
					
						2015-02-18 20:37:16 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							afbdd3acc3 
							
						 
					 
					
						
						
							
							[rai] Convert to new subtitles system  
						
						
						
						
					 
					
						2015-02-18 20:14:42 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							9789d7535d 
							
						 
					 
					
						
						
							
							[xtube] Fix test case  
						
						
						
						
					 
					
						2015-02-18 19:58:41 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							01561da142 
							
						 
					 
					
						
						
							
							[nrk] Convert to new subtitles system  
						
						
						
						
					 
					
						2015-02-18 18:57:01 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							0af25f784b 
							
						 
					 
					
						
						
							
							[mtv] Convert to new subtitles system  
						
						
						
						
					 
					
						2015-02-18 18:27:45 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							b9b42f2ea0 
							
						 
					 
					
						
						
							
							[npo] Convert to new subtitles system  
						
						
						
						
					 
					
						2015-02-18 17:57:10 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							311c393838 
							
						 
					 
					
						
						
							
							[lynda] Convert to new subtitles system  
						
						
						
						
					 
					
						2015-02-18 17:46:33 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							3eff81fbf7 
							
						 
					 
					
						
						
							
							[jsinterp] Disable comment support  
						
						... 
						
						
						
						We need a proper lexer to be able to understand YouTube's code, which contains /* inside of strings.
For now it's sufficient to just disable comment support altogether.
Fixes  #4976 , fixes  #4979 , fixes  #4980 , fixes  #4981 , fixes  #4982 .
Closes  #4977 . 
						
						
					 
					
						2015-02-18 10:47:42 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							f21e915fb9 
							
						 
					 
					
						
						
							
							[test/helper] Render info_dict with a final comma  
						
						
						
						
					 
					
						2015-02-18 00:38:42 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							6f53c63df6 
							
						 
					 
					
						
						
							
							[test/helper] Only output a newline for forgotten keys if keys are really missing  
						
						
						
						
					 
					
						2015-02-18 00:37:54 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							85920dd01d 
							
						 
					 
					
						
						
							
							[bliptv] Convert to new subtitles system  
						
						
						
						
					 
					
						2015-02-17 21:56:25 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							360e1ca5cc 
							
						 
					 
					
						
						
							
							[youtube] Convert to new subtitles system  
						
						... 
						
						
						
						The automatic captions are stored in the 'automactic_captions' field, which is used if no normal subtitles are found for an specific language. 
						
						
					 
					
						2015-02-16 22:47:39 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							a1f2a06b34 
							
						 
					 
					
						
						
							
							[dailymotion] Convert to new subtitles system  
						
						
						
						
					 
					
						2015-02-16 21:51:08 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							c84dd8a90d 
							
						 
					 
					
						
						
							
							[YoutubeDL] store the subtitles to download in the 'requested_subtitles' field  
						
						... 
						
						
						
						We need to keep the orginal subtitles information, so that the '--load-info' option can be used to list or select the subtitles again.
We'll also be able to have a separate field for storing the automatic captions info. 
						
						
					 
					
						2015-02-16 21:51:08 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							65469a7f8b 
							
						 
					 
					
						
						
							
							[vimeo] Convert to new subtitles system  
						
						... 
						
						
						
						Removed some tests, the behaviour should be checked in a test for the YoutubeDL class 
						
						
					 
					
						2015-02-16 21:51:07 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							a504ced097 
							
						 
					 
					
						
						
							
							Improve subtitles support  
						
						... 
						
						
						
						For each language the extractor builds a list with the available formats sorted (like for video formats), then YoutubeDL selects one of them using the '--sub-format' option which now allows giving the format preferences (for example 'ass/srt/best').
For each format the 'url' field can be set so that we only download the contents if needed, or if the contents needs to be processed (like in crunchyroll) the 'data' field can be used.
The reasons for this change are:
* We weren't checking that the format given with '--sub-format' was available, checking it in each extractor would be repetitive.
* It allows to easily support giving a format preference.
* The subtitles were automatically downloaded in the extractor, but I think that if you use for example the '--dump-json' option you want to finish as fast as possible.
Currently only the ted extractor has been updated, but the old system still works. 
						
						
					 
					
						2015-02-16 21:51:03 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							8fb474fb17 
							
						 
					 
					
						
						
							
							[test/subtitles] Fix some tests  
						
						... 
						
						
						
						The checksym for the CeskaTelevize subtitles has changed again, so we just test that it has a reasonable length. 
						
						
					 
					
						2015-02-15 15:01:07 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							36e7a4ca2e 
							
						 
					 
					
						
						
							
							[test/subtitles] Update checksums  
						
						
						
						
					 
					
						2015-02-13 14:43:50 +01:00 
						 
				 
			
				
					
						
							
							
								Jaime Marquínez Ferrándiz 
							
						 
					 
					
						
						
						
						
							
						
						
							d304209a85 
							
						 
					 
					
						
						
							
							[test/parameters.json] Set 'fixup' to 'never'  
						
						... 
						
						
						
						The fixed audio files for Youtube have a size lower that the minimum required. 
						
						
					 
					
						2015-02-11 17:25:04 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							6a78740211 
							
						 
					 
					
						
						
							
							[test/test_youtube_signature] Use fake YDL  
						
						
						
						
					 
					
						2015-02-10 05:28:59 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							347de4931c 
							
						 
					 
					
						
						
							
							[YoutubeDL] Add generic video filtering ( Fixes   #4916 )  
						
						... 
						
						
						
						This functionality is intended to eventually encompass the current format filtering. 
						
						
					 
					
						2015-02-10 03:32:24 +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 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							9bb8e0a3f9 
							
						 
					 
					
						
						
							
							[wsj] Add new extractor ( Fixes   #4854 )  
						
						
						
						
					 
					
						2015-02-03 10:58:28 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							23d9ded655 
							
						 
					 
					
						
						
							
							[franceculture] Rewrite for new HTML scheme ( Fixes   #4853 )  
						
						
						
						
					 
					
						2015-02-03 10:17:13 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							8f4b58d70e 
							
						 
					 
					
						
						
							
							[ntvde] Add new extractor ( Fixes   #4850 )  
						
						
						
						
					 
					
						2015-02-02 21:48:54 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							9e3f19919a 
							
						 
					 
					
						
						
							
							[jsinterp] Beef up and add tests  
						
						... 
						
						
						
						In preparation for #4822 , extend jsinterp by a lot. (We may even have to/want to write a proper interpreter with actual parsing) 
						
						
					 
					
						2015-02-01 22:38:29 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							4e980275b5 
							
						 
					 
					
						
						
							
							[test_download] Remove references to "file" in test definitions  
						
						
						
						
					 
					
						2015-02-01 15:21:18 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							dc35bfd2d5 
							
						 
					 
					
						
						
							
							[test/helper] Clarify which keys have to be added  
						
						
						
						
					 
					
						2015-01-30 15:52:56 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							03d8d4df38 
							
						 
					 
					
						
						
							
							[test_http] PEP8  
						
						
						
						
					 
					
						2015-01-30 03:06:40 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							83fda3c000 
							
						 
					 
					
						
						
							
							Add a test for --no-check-certificate  
						
						
						
						
					 
					
						2015-01-30 02:57:37 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							7d346331b5 
							
						 
					 
					
						
						
							
							[audiomack:album] Update testcase  
						
						
						
						
					 
					
						2015-01-25 05:15:47 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							cfb56d1af3 
							
						 
					 
					
						
						
							
							Add --list-thumbnails  
						
						
						
						
					 
					
						2015-01-25 02:43:19 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							61ca9a80b3 
							
						 
					 
					
						
						
							
							[generic] Add support for BOMs ( Fixes   #4753 )  
						
						
						
						
					 
					
						2015-01-23 01:21:30 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							083c9df93b 
							
						 
					 
					
						
						
							
							[YoutubeDL] Allow filtering by properties ( Fixes   #4584 )  
						
						
						
						
					 
					
						2015-01-23 00:04:05 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							78111136db 
							
						 
					 
					
						
						
							
							[twitch] Move URL matching tests into extractor  
						
						
						
						
					 
					
						2015-01-22 18:18:21 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							650ab5beeb 
							
						 
					 
					
						
						
							
							[comedycentral:shows] Remove references to colbert report  
						
						
						
						
					 
					
						2015-01-22 18:15:58 +01:00 
						 
				 
			
				
					
						
							
							
								Naglis Jonaitis 
							
						 
					 
					
						
						
						
						
							
						
						
							a69801e2c6 
							
						 
					 
					
						
						
							
							[utils] Add additional format to unified_strdate  
						
						
						
						
					 
					
						2015-01-14 00:16:34 +02:00 
						 
				 
			
				
					
						
							
							
								Sergey M․ 
							
						 
					 
					
						
						
						
						
							
						
						
							a5fb718c50 
							
						 
					 
					
						
						
							
							[test_utils] Add more tests for parse_duration  
						
						
						
						
					 
					
						2015-01-12 21:39:58 +06:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							2aeb06d6dc 
							
						 
					 
					
						
						
							
							[utils] Improve colon handling ( Fixes   #4683 )  
						
						
						
						
					 
					
						2015-01-11 17:40:45 +01:00 
						 
				 
			
				
					
						
							
							
								Philipp Hagemeister 
							
						 
					 
					
						
						
						
						
							
						
						
							dd622d7c4e 
							
						 
					 
					
						
						
							
							[netzkino] Add new extractor ( Fixes   #4669 )  
						
						
						
						
					 
					
						2015-01-09 23:59:18 +01:00