a04a7010ed 
								
							 
						 
						
							
							
								
								added error which is thrown if url is used as the video id  
							
							
							
						 
						
							2023-04-17 15:34:46 +02:00  
				
					
						
							
							
								 
						
							
								72e9781528 
								
							 
						 
						
							
							
								
								add preserve_formatting to get_transcripts() + tests  
							
							... 
							
							
							
							also assertion tests for `get_transcripts()` updated to include `False` at the end for  new `preserve_formatting` param 
							
						 
						
							2023-04-12 12:43:48 -07:00  
				
					
						
							
							
								 
						
							
								c1e5ce4ebb 
								
							 
						 
						
							
							
								
								update tests and test doc  
							
							... 
							
							
							
							add (partially escaped) italics to test doc
add new test for `preserve_formatting=True` 
							
						 
						
							2023-03-15 18:21:34 -07:00  
				
					
						
							
							
								 
						
							
								77f1405ca2 
								
							 
						 
						
							
							
								
								revised test comments  
							
							
							
						 
						
							2022-10-25 11:08:52 -04:00  
				
					
						
							
							
								 
						
							
								88bab9e77c 
								
							 
						 
						
							
							
								
								added more tests for SRTFormatter  
							
							
							
						 
						
							2022-10-25 10:58:44 -04:00  
				
					
						
							
							
								 
						
							
								a78f493386 
								
							 
						 
						
							
							
								
								added test cases for SRTFormmater  
							
							
							
						 
						
							2022-10-20 17:56:49 -04:00  
				
					
						
							
							
								 
						
							
								b4ac0a17b7 
								
							 
						 
						
							
							
								
								removed comments  
							
							
							
						 
						
							2022-06-01 12:13:52 -04:00  
				
					
						
							
							
								 
						
							
								74d645adce 
								
							 
						 
						
							
							
								
								removed ast import  
							
							
							
						 
						
							2022-06-01 12:09:37 -04:00  
				
					
						
							
							
								 
						
							
								e884646c16 
								
							 
						 
						
							
							
								
								added error message to assert statement  
							
							
							
						 
						
							2022-04-26 00:35:01 -04:00  
				
					
						
							
							
								 
						
							
								02b91b0870 
								
							 
						 
						
							
							
								
								transcript language list is now properly escaped  
							
							
							
						 
						
							2022-03-30 17:13:25 +02:00  
				
					
						
							
							
								 
						
							
								b8dbc97549 
								
							 
						 
						
							
							
								
								Add additional test case for `TranscriptsDisabled`  
							
							
							
						 
						
							2021-11-29 18:40:01 +02:00  
				
					
						
							
							
								 
						
							
								c3f8dc0772 
								
							 
						 
						
							
							
								
								added error message if YouTube requests fail  
							
							
							
						 
						
							2021-11-08 09:51:21 +01:00  
				
					
						
							
							
								 
						
							
								9251be8462 
								
							 
						 
						
							
							
								
								added ability to create consent cookie  
							
							
							
						 
						
							2021-03-31 15:59:57 +02:00  
				
					
						
							
							
								 
						
							
								e69759f6d6 
								
							 
						 
						
							
							
								
								fixed test  
							
							
							
						 
						
							2021-03-22 19:04:10 +01:00  
				
					
						
							
							
								 
						
							
								3781907943 
								
							 
						 
						
							
							
								
								Merge branch 'master' into feature/ISSUE-23  
							
							
							
						 
						
							2021-03-22 18:54:07 +01:00  
				
					
						
							
							
								 
						
							
								cf585e2175 
								
							 
						 
						
							
							
								
								refactored formatters to use format_transcript and format_transcripts  
							
							
							
						 
						
							2021-03-15 17:57:44 +01:00  
				
					
						
							
							
								 
						
							
								d314139329 
								
							 
						 
						
							
							
								
								added FormatterLoader  
							
							
							
						 
						
							2021-03-15 17:16:20 +01:00  
				
					
						
							
							
								 
						
							
								72f035fa6d 
								
							 
						 
						
							
							
								
								adjusted CLI to be able to handle masked hyphens  
							
							
							
						 
						
							2021-03-15 10:34:05 +01:00  
				
					
						
							
							
								 
						
							
								baadc2f7f0 
								
							 
						 
						
							
							
								
								Merge master, fix readme conflicts  
							
							
							
						 
						
							2021-03-02 07:48:17 -08:00  
				
					
						
							
							
								 
						
							
								fb819c06e4 
								
							 
						 
						
							
							
								
								Fix test case name  
							
							
							
						 
						
							2021-01-21 19:53:06 +01:00  
				
					
						
							
							
								 
						
							
								14c70359ba 
								
							 
						 
						
							
							
								
								Fix "video not available" being shown to the user when when YouTube start asking for captcha resolution due to receiving too many requests from the same IP. Show instead an appropiate message.  
							
							... 
							
							
							
							To be able to keep making requests, the captcha must be solved in a browser and the browser cookie must be passed to youtube-transcript-api. 
							
						 
						
							2021-01-21 19:43:29 +01:00  
				
					
						
							
							
								 
						
							
								138643a682 
								
							 
						 
						
							
							
								
								Merge branch 'master' into feature/ISSUE-23  
							
							
							
						 
						
							2020-10-10 21:13:51 -07:00  
				
					
						
							
							
								 
						
							
								150c50cabe 
								
							 
						 
						
							
							
								
								Fix since Python2.7 doesnt support encoding kwarg to open()  
							
							
							
						 
						
							2020-10-08 14:29:26 -07:00  
				
					
						
							
							
								 
						
							
								eb01e08b04 
								
							 
						 
						
							
							
								
								Add explicit utf-8 encoding for file I/O in test_api.py  
							
							
							
						 
						
							2020-10-08 13:36:33 -07:00  
				
					
						
							
							
								 
						
							
								36f29c3058 
								
							 
						 
						
							
							
								
								Add a few initial test cases, could use more  
							
							
							
						 
						
							2020-09-01 15:23:04 -07:00  
				
					
						
							
							
								 
						
							
								1e9b2c7727 
								
							 
						 
						
							
							
								
								Revert "Add formatters module"  
							
							... 
							
							
							
							Reverting again, apparently I had a misunderstanding of how to revert. Trying again.
This reverts commit dca4021dd7 
							
						 
						
							2020-08-21 12:21:12 -07:00  
				
					
						
							
							
								 
						
							
								216abbe023 
								
							 
						 
						
							
							
								
								Add unittests for formatters.py  
							
							
							
						 
						
							2020-07-09 20:14:36 -07:00  
				
					
						
							
							
								 
						
							
								5861bdb104 
								
							 
						 
						
							
							
								
								Remove json.dumps from test_api.py  
							
							... 
							
							
							
							Remove unnecessary changes to tests, revert assertions back to how they were.
Remove unnecessary join from formatter in `_api.py` 
							
						 
						
							2020-07-09 00:06:14 -07:00  
				
					
						
							
							
								 
						
							
								0e6fae2504 
								
							 
						 
						
							
							
								
								replace CLI json arg with format in test_cli.py  
							
							... 
							
							
							
							Replaced every occurance of `parsed_args.json` with `parsed_args.format` as well as the CLI arguments to match for testing. 
							
						 
						
							2020-07-08 15:14:32 -07:00  
				
					
						
							
							
								 
						
							
								ac75f906e6 
								
							 
						 
						
							
							
								
								Update test_api.py  
							
							... 
							
							
							
							Fixed an encoding issue for Windows machines receiving an error due to Lines 24-27:
`UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 119434: character maps to <undefined>`.
Adjusted test_api.py to fix an issue when the format=None isnt passed with mock test raising:
`AssertionError: get_transcript('video_id_1', ['de', 'en'], None, None) call not found`
Added `import json` to convert test data for json data into a string for 1 or many json transcripts to keep in line with how the formatters are eventually returned as strings. 
							
						 
						
							2020-07-08 15:11:54 -07:00  
				
					
						
							
							
								 
						
							
								31b8f4a179 
								
							 
						 
						
							
							
								
								Redid errors for cookies, improved testing coverage  
							
							
							
						 
						
							2020-01-30 21:53:18 -08:00  
				
					
						
							
							
								 
						
							
								49ccba7f95 
								
							 
						 
						
							
							
								
								Fixed testing with mock, added testing for cookies  
							
							
							
						 
						
							2020-01-27 21:47:04 -08:00  
				
					
						
							
							
								 
						
							
								67604ec46c 
								
							 
						 
						
							
							
								
								Made testing more robust  
							
							
							
						 
						
							2020-01-22 22:35:35 -08:00  
				
					
						
							
							
								 
						
							
								f9e553ebaf 
								
							 
						 
						
							
							
								
								Added cli support, fixed testing  
							
							
							
						 
						
							2020-01-20 23:04:46 -08:00  
				
					
						
							
							
								 
						
							
								7159f60823 
								
							 
						 
						
							
							
								
								fixed bug in cli where no transcript could be retrieved if no language was specified  
							
							
							
						 
						
							2019-12-31 00:11:52 +01:00  
				
					
						
							
							
								 
						
							
								f8416ab004 
								
							 
						 
						
							
							
								
								added new params to cli to make new features accessible using the cli  
							
							
							
						 
						
							2019-12-30 17:36:48 +01:00  
				
					
						
							
							
								 
						
							
								66d02c08a1 
								
							 
						 
						
							
							
								
								added tests for new public api method  
							
							
							
						 
						
							2019-12-30 15:34:35 +01:00  
				
					
						
							
							
								 
						
							
								f1e4754ca4 
								
							 
						 
						
							
							
								
								added check if any transcripts are actually available  
							
							
							
						 
						
							2019-12-20 16:28:35 +01:00  
				
					
						
							
							
								 
						
							
								df417be915 
								
							 
						 
						
							
							
								
								refactored the way transcript information is retrieved and thereby improved error messages  
							
							
							
						 
						
							2019-12-08 14:40:57 +01:00  
				
					
						
							
							
								 
						
							
								d224b02a80 
								
							 
						 
						
							
							
								
								Languages argument defaults to a tuple instead of a list.  
							
							
							
						 
						
							2019-11-10 22:44:24 -08:00  
				
					
						
							
							
								 
						
							
								7ac7d3266b 
								
							 
						 
						
							
							
								
								Changed youtubeWWW1.html.static's name  
							
							
							
						 
						
							2019-11-06 21:19:24 -08:00  
				
					
						
							
							
								 
						
							
								de1ddf0824 
								
							 
						 
						
							
							
								
								Implemented code to more thoroughly find a lanuages captions  
							
							
							
						 
						
							2019-10-16 22:01:30 -07:00  
				
					
						
							
							
								 
						
							
								3d199e1b66 
								
							 
						 
						
							
							
								
								updated test assets to new youtube format  
							
							
							
						 
						
							2019-10-09 13:27:51 +02:00  
				
					
						
							
							
								 
						
							
								c65cf27def 
								
							 
						 
						
							
							
								
								fixed bug reported in ISSUE-19  
							
							
							
						 
						
							2019-07-22 13:11:52 +02:00  
				
					
						
							
							
								 
						
							
								f9d7d337f4 
								
							 
						 
						
							
							
								
								Merge pull request  #10  from DannyAziz/master  
							
							... 
							
							
							
							Add proxy functionality 
							
						 
						
							2019-03-27 11:07:36 +01:00  
				
					
						
							
							
								 
						
							
								d6d301a612 
								
							 
						 
						
							
							
								
								Run proxies test  
							
							
							
						 
						
							2019-03-26 17:32:28 +00:00  
				
					
						
							
							
								 
						
							
								7eb9e38eb6 
								
							 
						 
						
							
							
								
								Added more proxies tests  
							
							
							
						 
						
							2019-03-20 17:06:05 +00:00  
				
					
						
							
							
								 
						
							
								2b8f213f3d 
								
							 
						 
						
							
							
								
								Removed _TranscriptFetcher  
							
							
							
						 
						
							2019-03-19 14:15:01 +00:00  
				
					
						
							
							
								 
						
							
								a9270f67fd 
								
							 
						 
						
							
							
								
								Refactored Tests  
							
							
							
						 
						
							2019-03-19 13:34:17 +00:00  
				
					
						
							
							
								 
						
							
								86cd1666c0 
								
							 
						 
						
							
							
								
								Rebased on PR  #11  and added tests  
							
							
							
						 
						
							2019-03-16 16:23:42 +00:00