Commit Graph

281 Commits

Author SHA1 Message Date
nbonato cb277cab8c
Clarify language rules in README.md
With the current documentation, it's unclear what one needs to do if their video is not in English.
2023-10-12 18:38:20 +02:00
Jonas Depoix 99ce79792f v0.6.1 2023-06-16 15:24:56 +02:00
Jonas Depoix 31130dbe0c
Merge pull request #211 from jdepoix/bugfix/ISSUE-209
all requests use a accept-language: en-us header now
2023-06-16 15:15:18 +02:00
Jonas Depoix b4e9cfc35b all requests use a accept-language: en-us header now 2023-06-16 15:11:26 +02:00
Jonas Depoix 7da50a716b v0.6.0 2023-04-17 15:44:35 +02:00
Jonas Depoix 21a1976516
Merge pull request #204 from jdepoix/feature/invalid-video-id-error
added error which is thrown if url is used as the video id
2023-04-17 15:43:57 +02:00
Jonas Depoix a04a7010ed added error which is thrown if url is used as the video id 2023-04-17 15:34:46 +02:00
Jonas Depoix e0a9f0d3e5
Merge pull request #192 from eseiver/html_formatting
Add HTML text formatting option
2023-04-17 15:15:46 +02:00
Jonas Depoix 8c62e5e276 _FORMATTING_TAGS is now a static property of _TranscriptParser; _get_html_regext is now private; removed preserve_formatting property of _TranscriptParser 2023-04-17 15:07:10 +02:00
E. Seiver ca93c48fa1 move preserve_formatting from init to fetch()
also remove from transcriptlist & transcriptlistfetcher
2023-04-13 12:46:24 -07:00
E. Seiver 79fd63d585 move _FORMATTING_TAGS inside _TranscriptParser 2023-04-13 12:27:34 -07:00
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