semvec/pypi-packages huggingface dataset:
youtube-downloaders 1.1.2
Package to download youtube videos and playlist
Requires Python: >=3.10

##### How to use [![Video](https://drive.google.com/file/d/1Ag3_sk30a89WdBbOfpq3vwzyNGsG1x5Z/)](https://drive.google.com/file/d/1Ag3_sk30a89WdBbOfpq3vwzyNGsG1x5Z/)


![alt text](https://github.com/ishan65/youtube_download/blob/main/youtube.jpg)

## Dependency

- [pytubefix](https://pypi.org/project/pytubefix/)
- [flask](https://pypi.org/project/Flask/)

## CLI

USAGE
```
usage: Download [-h] [-v] [-gui] [-web] {video,playlist} ...

Download Youtube CLI

positional arguments:
  {video,playlist}
    video              video to download
    playlist           playlist to download

options:
  -h, --help           show this help message and exit
  -v, --version        show program's version number and exit
  -gui, --gui_console  download videos using Graphical Interface
  -web, --web_console  download videos using Web Console
```

##### To download single video:
```
youtube_download video -url "https://www.youtube.com/watch?v=7uCpVOSXk8I" -save "C:\Users\im530\Downloads\dtdt"
```

##### To download entire playlist:
```
youtube_download playlist -url "https://www.youtube.com/playlist?list=PLW489siXAtnoA_fOdIzMHU8gAZHHfp-T5" -save "C:\Users\im530\Downloads\dtdt" -num 2
```
 - num : How many videos to be downloaded parallelly.

## To load the web page:
```
youtube_download -web
```

#### url to visit
```
http://127.0.0.1:5789/
```

#### Input
![alt text](https://github.com/ishan65/youtube_download/blob/main/web1.JPG)

#### Response
![alt text](https://github.com/ishan65/youtube_download/blob/main/web2.JPG)


## To load the GUI:
```
youtube_download -gui
```
#### Input
![alt text](https://github.com/ishan65/youtube_download/blob/main/gui1.JPG)

#### Response
![alt text](https://github.com/ishan65/youtube_download/blob/main/gui2.JPG)
fox-kit 0.0.4
工具盒子
Requires Python: >=3


```python-repl
from foxkit.file.excel_tools import Sink2Excel,Row,Cell,CellDataType

if __name__ == '__main__':
  
    with Sink2Excel() as sink:
        sink.write(
            headers=Row(Cell(val='ID'),Cell(val='头像'),Cell(val='名称'),Cell(val='年龄')),
            rows=[
                Row(Cell(val='1001'),Cell(val='https://pic.cnblogs.com/face/83005/20250225134909.png',data_type=CellDataType.PIC),Cell(val='章三'),Cell(val=18)),
                Row(Cell(val='1001'),Cell(val='https://pic.cnblogs.com/face/2124951/20211014230234.png',data_type=CellDataType.PIC),Cell(val='章三'),Cell(val=18)),
                Row(Cell(val='1001'),Cell(val='https://pic.cnblogs.com/face/2124951/20211014230234.png',data_type=CellDataType.PIC),Cell(val='章三'),Cell(val=18)),
                Row(Cell(val='1001'),Cell(val='https://pic.cnblogs.com/face/2124951/20211014230234.png',data_type=CellDataType.PIC),Cell(val='章三'),Cell(val=18))

            ],
            sheet_name='用户信息',
            sequence=True
        )
        sink.sink_file('./test.xlsx')
```