Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit a0f3cf8

Browse files
committed
🔖 Bump to v1.6.1
1 parent 70403d5 commit a0f3cf8

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

‎README.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
##### Search for YouTube videos, channels & playlists. Get video & playlist information using link. Get search suggestions.
44

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+
57
#### WITHOUT YouTube Data API v3.
68

79
[![PyPI - Version](https://img.shields.io/pypi/v/youtube-search-python?style=for-the-badge)](https://pypi.org/project/youtube-search-python)
@@ -1355,10 +1357,10 @@ print(search.result(mode = ResultMode.json))
13551357

13561358
#### Getting direct stream URL of a video
13571359

1358-
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.
13591361

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).
13621364

13631365
```py
13641366
from youtubesearchpython import *

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="youtube-search-python",
8-
version="1.6.0",
8+
version="1.6.1",
99
author="Hitesh Kumar Saini",
1010
license='MIT',
1111
author_email="saini123hitesh@gmail.com",

‎youtubesearchpython/__future__/README.md‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
#### Search for YouTube videos, channels & playlists & get video information using link WITHOUT YouTube Data API v3.
44

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+
57
Works without YouTube Data API v3 and has zero dependencies.
68

7-
Working as of 2021.
9+
Working as of 2022.
810

911
## Support
1012

@@ -922,7 +924,7 @@ Found all the videos.
922924

923925
#### More to the playlists
924926

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.
926928

927929
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.
928930
If playlist has more videos, then you can call `getNextVideos` to fetch more videos.
@@ -1073,8 +1075,8 @@ print(result)
10731075

10741076
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.
10751077

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).
10781080

10791081
```py
10801082
from youtubesearchpython.__future__ import *

0 commit comments

Comments
 (0)