Commit Graph

56 Commits

Author SHA1 Message Date
Chris Howell 138643a682 Merge branch 'master' into feature/ISSUE-23 2020-10-10 21:13:51 -07:00
Chris Howell 150c50cabe Fix since Python2.7 doesnt support encoding kwarg to open() 2020-10-08 14:29:26 -07:00
Chris Howell eb01e08b04 Add explicit utf-8 encoding for file I/O in test_api.py 2020-10-08 13:36:33 -07:00
Chris Howell 36f29c3058 Add a few initial test cases, could use more 2020-09-01 15:23:04 -07:00
Chris Howell f3dc6f508f Add new formatters.py module 2020-09-01 15:21:47 -07:00
Jonas Depoix bc2a90bef7 removed version dependent import from coverage 2020-08-31 14:07:35 +02:00
danielcliu 31b8f4a179 Redid errors for cookies, improved testing coverage 2020-01-30 21:53:18 -08:00
danielcliu 49ccba7f95 Fixed testing with mock, added testing for cookies 2020-01-27 21:47:04 -08:00
danielcliu 42d4f59e01 Moved cookie loader to its own function, made errors for cookies failing 2020-01-27 21:46:37 -08:00
danielcliu 67604ec46c Made testing more robust 2020-01-22 22:35:35 -08:00
danielcliu f9e553ebaf Added cli support, fixed testing 2020-01-20 23:04:46 -08:00
danielcliu 02b1978217 Added cookies parameter to api class methods 2020-01-15 22:48:00 -08:00
Jonas Depoix 7159f60823 fixed bug in cli where no transcript could be retrieved if no language was specified 2019-12-31 00:11:52 +01:00
Jonas Depoix 936ef3c1d0 added list-transcripts param to cli 2019-12-30 17:40:32 +01:00
Jonas Depoix f8416ab004 added new params to cli to make new features accessible using the cli 2019-12-30 17:36:48 +01:00
Jonas Depoix 4b75a47a74 get_transcripts now returns a list of exceptions instead of video ids of failed videos 2019-12-30 16:13:18 +01:00
Jonas Depoix 66d02c08a1 added tests for new public api method 2019-12-30 15:34:35 +01:00
Jonas Depoix 1bc5087575 added public list_transcripts method 2019-12-30 15:20:47 +01:00
Jonas Depoix 8287d1088e fixed bug where nontranslatable transcripts would throw an exception 2019-12-30 14:38:27 +01:00
Jonas Depoix f1e4754ca4 added check if any transcripts are actually available 2019-12-20 16:28:35 +01:00
Jonas Depoix 20612ea7a3 improved tostring methods 2019-12-16 17:08:14 +01:00
Jonas Depoix 409141ab51 added translate feature; added iterator to TranscriptList 2019-12-16 16:58:26 +01:00
Jonas Depoix 41300585a1 fixed bug where undesirable results where returned if the desired language was only available as generated transcript 2019-12-13 11:15:32 +01:00
Jonas Depoix c2c49c3c17 fixed bug; added doctstrings for public methods 2019-12-11 11:42:14 +01:00
Jonas Depoix df417be915 refactored the way transcript information is retrieved and thereby improved error messages 2019-12-08 14:40:57 +01:00
danielcliu 54ef72fafd Improve Name regex to use 1 group, find first & 2019-11-11 19:58:12 -08:00
danielcliu d224b02a80 Languages argument defaults to a tuple instead of a list. 2019-11-10 22:44:24 -08:00
danielcliu c7cb3117be Removed unnecessary language variables, sort split matches by len while ignoring name arguement 2019-11-06 21:20:51 -08:00
danielcliu 7ac7d3266b Changed youtubeWWW1.html.static's name 2019-11-06 21:19:24 -08:00
danielcliu db7b8524dc Removed another f-string instance 2019-10-22 21:03:41 -07:00
danielcliu 630b33f3b8 Removed fstrings to make compatable with python 3.5 and lower 2019-10-22 20:37:46 -07:00
danielcliu 8fb9e75ba1 Formatted list comprehension for readability 2019-10-21 22:21:32 -07:00
danielcliu de1ddf0824 Implemented code to more thoroughly find a lanuages captions 2019-10-16 22:01:30 -07:00
Jonas Depoix 3d199e1b66 updated test assets to new youtube format 2019-10-09 13:27:51 +02:00
Jonas Depoix 5d0e407f89 adjusted to changes in YouTube webclient 2019-10-09 13:21:30 +02:00
Jonas Depoix e2e1567785 adjusted to changes in YouTube webclient 2019-10-07 18:44:24 +02:00
Jonas Depoix c65cf27def fixed bug reported in ISSUE-19 2019-07-22 13:11:52 +02:00
Jonas Depoix 0151413ad1 API no longer logs to error 2019-07-15 15:48:01 +02:00
Jonas Depoix a1e66a0158 updated error message 2019-06-20 16:43:53 +02:00
jdepoix f9d7d337f4
Merge pull request #10 from DannyAziz/master
Add proxy functionality
2019-03-27 11:07:36 +01:00
Danny Aziz d6d301a612 Run proxies test 2019-03-26 17:32:28 +00:00
Danny Aziz 7eb9e38eb6 Added more proxies tests 2019-03-20 17:06:05 +00:00
Danny Aziz 2b8f213f3d Removed _TranscriptFetcher 2019-03-19 14:15:01 +00:00
Danny Aziz a9270f67fd Refactored Tests 2019-03-19 13:34:17 +00:00
Danny Aziz 86cd1666c0 Rebased on PR #11 and added tests 2019-03-16 16:23:42 +00:00
Jonas Depoix 2f239b4a4c fixed build 2019-03-16 13:35:15 +01:00
Jonas Depoix 1550913334 removed redundant test assets 2019-03-16 13:31:49 +01:00
Jonas Depoix 4a564743df changed testing assets naming to not mess with GitHub stats 2019-03-14 18:46:46 +01:00
Jonas Depoix 444998c02b mock added to requirements to support 2.7 2019-03-14 17:26:52 +01:00
Jonas Depoix 94e4e4063f test suite and corresponding tooling added 2019-03-14 17:04:34 +01:00