Commit Graph

270 Commits

Author SHA1 Message Date
E. Seiver eda8ddb38f _html_regex static property of _TranscriptParser()
also rename TEXT_FORMATS -> FORMATTING TAGS
2023-04-12 14:29:19 -07:00
E. Seiver 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
E. Seiver fdedfff681 separate out format example in readme 2023-04-11 16:38:07 -07:00
E. Seiver 393a76ca6a add preserve_formatting docstrings 2023-04-11 16:37:06 -07:00
Jonas Depoix f910971066
Merge pull request #199 from Vandivier/typo-fix
docs: library name w dashes
2023-04-11 10:36:01 +02:00
Vandivier 0396f17371 docs: library name w dashes 2023-04-09 15:08:05 -04:00
Jonas Depoix 2308b1b2e5
Update bug_report.md 2023-03-27 09:38:20 +02:00
E. Seiver e88783d69e fix spacing 2023-03-15 18:49:35 -07:00
E. Seiver 123763c968 update readme with example 2023-03-15 18:22:50 -07:00
E. Seiver 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
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 6070e6165a updated link to requests proxy docs in README 2022-10-31 14:23:29 +01:00
Jonas Depoix 2a4e9c2dad added FUNDING.yml 2022-10-27 10:49:25 +02:00
Jonas Depoix cea92c0ada v0.5.0 2022-10-26 12:05:45 +02:00
Jonas Depoix 78599f3643 added SRTFormatter to README 2022-10-26 12:03:21 +02:00
Jonas Depoix f92fe21a25
Merge pull request #164 from liamrs222/master
added new Formatter for SRT files
2022-10-26 11:57:22 +02:00
Liam Sy 77f1405ca2 revised test comments 2022-10-25 11:08:52 -04:00
Liam Sy 88bab9e77c added more tests for SRTFormatter 2022-10-25 10:58:44 -04:00
Liam Sy a78f493386 added test cases for SRTFormmater 2022-10-20 17:56:49 -04:00
Liam Sy 68ca703ae0 updated WebVTT and SRT formatters 2022-10-20 17:25:31 -04:00
Liam Sy 3b2e6e253d
Merge branch 'jdepoix:master' into master 2022-10-20 15:19:30 -04:00
Liam Sy 037058171e
Delete codeql-analysis.yml 2022-10-14 18:45:57 -04:00
Liam Sy 6cbb5c6ba7
Delete SECURITY.md 2022-10-14 18:45:39 -04:00
Jonas Depoix 2c8b89a27f
Update issue templates 2022-10-10 10:35:41 +02:00
Jonas Depoix 010735c9e5
Update issue templates 2022-10-10 10:29:13 +02:00
Jonas Depoix 35b87434e5
Merge pull request #154 from majamil16/assert-types
Assert types
2022-10-07 14:27:05 +02:00
Liam Sy 0dea8dfbaf
Create SECURITY.md 2022-10-02 22:55:22 -04:00
Liam Sy 399b37a22d
Create codeql-analysis.yml 2022-10-02 22:54:56 -04:00
Liam Sy 69c5a46016 added class SRTFormatter 2022-10-02 20:39:15 -04:00
Maja b4ac0a17b7 removed comments 2022-06-01 12:13:52 -04:00
Maja 74d645adce removed ast import 2022-06-01 12:09:37 -04:00
Maja e884646c16 added error message to assert statement 2022-04-26 00:35:01 -04:00
Jonas Depoix 8c38df9939 v0.4.4. 2022-03-30 17:28:10 +02:00
jdepoix 3f0252fca3
Merge pull request #149 from jdepoix/bugfix/ISSUE-144
Fix for ISSUE-144
2022-03-30 17:27:15 +02: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
jdepoix 69574070de
Merge pull request #148 from jdepoix/bugfix/fix-python3.7-build
Fix python 3.7 build
2022-03-30 15:58:33 +02:00
Jonas Depoix 4063b583a3 reverted mock upgrade to stay compatible with python 3.5 2022-03-30 15:55:33 +02:00
Jonas Depoix 74209d0be3 travis now uses 3.7.11 for 3.7 builds 2022-03-30 15:53:14 +02:00
Jonas Depoix e311e37e4b reverted requests and coveralls, coverage to remain compatible to python version <= 3.6 2022-03-30 15:51:27 +02:00
Jonas Depoix b45e40e680 updated all requirements 2022-03-30 15:43:21 +02:00
Jonas Depoix a443e7f1dd updated httpretty 2022-03-30 15:34:41 +02:00
Jonas Depoix 39cdc1c54c pip and setuptools are now specifically updated before building the project 2022-03-30 15:22:24 +02:00
Jonas Depoix a2395682fe removed http proxy example from README, as it was misleading 2021-12-20 10:04:19 +01:00
Jonas Depoix 52eabae11c v0.4.2 2021-12-13 10:42:42 +01:00
jdepoix 161be4a422
Merge pull request #137 from xenova/master
Raise `TranscriptsDisabled` if 'playerCaptionsTracklistRenderer' is not found (Fixes #136)
2021-12-13 10:16:37 +01:00
jdepoix 1e61fac76a
Merge pull request #135 from MAJA-Lin/maja-lin/bugfix/ISSUE-138
Fix typo on formatter 'webvtt'
2021-12-13 10:16:14 +01:00
Scott Lin 9ff64ed560
Merge branch 'jdepoix:master' into maja-lin/bugfix/ISSUE-138 2021-12-11 01:56:41 +08:00
Joshua Lochner 7009957363
Merge branch 'jdepoix:master' into master 2021-12-10 18:40:01 +02:00