Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ax-sh/youtube-tool
https://github.com/ax-sh/youtube-tool
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ax-sh/youtube-tool
- Owner: ax-sh
- Created: 2024-07-24T18:43:52.000Z (6 months ago)
- Default Branch: develop
- Last Pushed: 2024-10-27T21:57:29.000Z (3 months ago)
- Last Synced: 2024-10-28T15:14:17.126Z (3 months ago)
- Language: Python
- Size: 49.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# youtube-tool
## To use in project
```shell
pip install git+https://github.com/ax-sh/youtube-tool
# https://github.com/ax-sh/youtube-tool/tree/masterrye add youtube-tool --git=https://github.com/ax-sh/youtube-tool
```
```python
from youtube_tool import YoutubeTool
yt = YoutubeTool('chrome')
# yt.remove_video_from_playlist('')
url = 'https://www.youtube.com/playlist?list=WL'
wl = yt.fetch_videos_from_playlist(url)
wl
```## To run tests use
```shell
rye test -- --ruff --ruff-format -p sugar
```## For running main
```sh
rye run python main.py
```