Commit Graph

20 Commits

Author SHA1 Message Date
E. Seiver 393a76ca6a add preserve_formatting docstrings 2023-04-11 16:37:06 -07:00
E. Seiver e88783d69e fix spacing 2023-03-15 18:49:35 -07:00
E. Seiver c1a037c39c Propagate formatting up to user level 2023-03-15 18:20:16 -07:00
E. Seiver 1f1c8b249b
Add optional HTML formatting `_TranscriptParser`
Text formats in `TEXT_FORMATS` global variable
Defaults to False
2023-03-15 15:44:26 -07:00
Jonas Depoix c76ef0f38d Merge branch 'master' of https://github.com/jdepoix/youtube-transcript-api into bugfix/ISSUE-144 2022-03-30 17:16:11 +02:00
Jonas Depoix 02b91b0870 transcript language list is now properly escaped 2022-03-30 17:13:25 +02:00
Jonas Depoix 39cdc1c54c pip and setuptools are now specifically updated before building the project 2022-03-30 15:22:24 +02:00
Joshua Lochner bd8d8919b2 Raise `TranscriptsDisabled` if 'playerCaptionsTracklistRenderer' is not found (Fixes #136) 2021-11-29 18:25:14 +02:00
Jonas Depoix c3f8dc0772 added error message if YouTube requests fail 2021-11-08 09:51:21 +01:00
Jonas Depoix 9251be8462 added ability to create consent cookie 2021-03-31 15:59:57 +02:00
Chris Howell 35dca89ef2 add object to classes, fixes bugfix/ISSUE-75 2021-03-08 04:04:19 -08:00
Your Name 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
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