You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+50-21Lines changed: 50 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,11 @@
1
1
# YoutubeTranscript
2
2
3
-
A Swift library for fetching YouTube video transcripts (captions) programmatically. Supports both standard YouTube videos and Shorts, with robust error handling and async/await support.
3
+
I tried to find a library that fetches YouTube video transcripts for Swift but couldn’t find one, so I made one myself.
4
+
5
+
This package uses an unofficial YouTube API, so it may break over time if no updates are made.
6
+
The library uses an HTML scraper and the Innertube API to fetch transcripts.
7
+
8
+
Heavily inspired by [youtube-transcript](https://github.com/Kakulukian/youtube-transcript)
4
9
5
10
## Features
6
11
@@ -10,25 +15,6 @@ A Swift library for fetching YouTube video transcripts (captions) programmatical
10
15
- Async/await API for modern Swift concurrency
11
16
- Comprehensive unit tests using Swift Testing
12
17
13
-
## Installation
14
-
15
-
Add this package to your `Package.swift` dependencies:
0 commit comments