fixed typo in README
This commit is contained in:
parent
21de9d606a
commit
6751a47171
|
@ -124,7 +124,7 @@ print(translated_transcript.fetch())
|
||||||
### By example
|
### By example
|
||||||
```python
|
```python
|
||||||
# retrieve the available transcripts
|
# retrieve the available transcripts
|
||||||
transcript_list = YouTubeTranscriptApi.get('video_id')
|
transcript_list = YouTubeTranscriptApi.list_transcripts('video_id')
|
||||||
|
|
||||||
# iterate over all available transcripts
|
# iterate over all available transcripts
|
||||||
for transcript in transcript_list:
|
for transcript in transcript_list:
|
||||||
|
|
Loading…
Reference in New Issue