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
{{ message }}
This repository was archived by the owner on Jun 30, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
##### Search for YouTube videos, channels & playlists. Get video & playlist information using link. Get search suggestions.
4
4
5
+
##### Important: As of v1.6.1, we no longer use PyTube (see https://github.com/alexmercerind/youtube-search-python/pull/155). You have to install yt-dlp in order to use StreamURLFetcher: `pip install yt-dlp`
This class is able fetch video URLs without any additional web requests (that's fast), as one might already have same response at the time of showing it to the user.
1360
+
This class is able to fetch video URLs without any additional web requests (that's fast), as one might already have same response at the time of showing it to the user.
1359
1361
1360
-
For making use of this functionality, you must install [PyTube](https://github.com/pytube/pytube) as a dependency.
1361
-
StreamURLFetcher makes slight improvements & changes to YouTube class from [PyTube](https://github.com/pytube/pytube).
1362
+
For making use of this functionality, you must install [yt-dlp](https://github.com/yt-dlp/yt-dlp) as a dependency.
1363
+
StreamURLFetcher makes slight improvements & changes to YouTube class from [yt-dlp](https://github.com/yt-dlp/yt-dlp).
Copy file name to clipboardExpand all lines: youtubesearchpython/__future__/README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,11 @@
2
2
3
3
#### Search for YouTube videos, channels & playlists & get video information using link WITHOUT YouTube Data API v3.
4
4
5
+
##### Important: As of v1.6.1, we no longer use PyTube (see https://github.com/alexmercerind/youtube-search-python/pull/155). You have to install yt-dlp in order to use StreamURLFetcher: `pip install yt-dlp`
6
+
5
7
Works without YouTube Data API v3 and has zero dependencies.
6
8
7
-
Working as of 2021.
9
+
Working as of 2022.
8
10
9
11
## Support
10
12
@@ -922,7 +924,7 @@ Found all the videos.
922
924
923
925
#### More to the playlists
924
926
925
-
You can directly instanciate the `Playlist` class as follows to access its information & videos in the `info` and `videos` fields respectively.
927
+
You can directly instantiate the `Playlist` class as follows to access its information & videos in the `info` and `videos` fields respectively.
926
928
927
929
YouTube offers only 100 videos in a single request, for getting more videos present in the playlist, you can check `hasMoreVideos` bool to see if playlist contains more videos.
928
930
If playlist has more videos, then you can call `getNextVideos` to fetch more videos.
@@ -1073,8 +1075,8 @@ print(result)
1073
1075
1074
1076
This class is able fetch video URLs without any additional web requests (that's fast), as one might already have same response at the time of showing it to the user.
1075
1077
1076
-
For making use of this functionality, you must install [PyTube](https://github.com/pytube/pytube) as a dependency.
1077
-
StreamURLFetcher makes slight improvements & changes to YouTube class from [PyTube](https://github.com/pytube/pytube).
1078
+
For making use of this functionality, you must install [yt-dlp](https://github.com/yt-dlp/yt-dlp) as a dependency.
1079
+
StreamURLFetcher makes slight improvements & changes to YouTube class from [yt-dlp](https://github.com/yt-dlp/yt-dlp).
0 commit comments