Personal Python utilities for FTP and video downloads
Project description
zytools-fs
Personal Python utilities for FTP and video downloads.
Install
pip install zytools-fs
FTP download
from zytools.utils.ftp import FTPDownloader
with FTPDownloader(host="127.0.0.1", user="user", password="password") as ftp:
ftp.download("/remote/path", "./downloads")
Bilibili video download
from zytools.video import download_bili_video
download_bili_video(
"https://www.bilibili.com/video/BVxxxx",
output_dir="./downloads",
filename="Bilibili_{BV}_{Date}_{Part}_{Duration}",
)
Filename template fields:
{Title}: video title{BV}: BV id{Date}: publish date,YYYYMMDD{Page}: page number{Part}: page number{Duration}: duration in seconds{PartTitle}: page title
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zytools_fs-0.0.2.tar.gz
(10.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zytools_fs-0.0.2.tar.gz.
File metadata
- Download URL: zytools_fs-0.0.2.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
240f30bd6d7557b712c816bb849b1d0a8ceb1ca7643ee495367ed915d37a6f46
|
|
| MD5 |
6cef464e778f47318c69488cbfe0bd2c
|
|
| BLAKE2b-256 |
9ac4c1d75e0db8a53765b8b7e62fa4fc29b0c9a368aea2a2f15b34897ef342b3
|
File details
Details for the file zytools_fs-0.0.2-py3-none-any.whl.
File metadata
- Download URL: zytools_fs-0.0.2-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce2688aca1ba0b23af92dc5bc73bd551defd0704662421a9f4f6b486c73553c3
|
|
| MD5 |
21eec02c11ede6d21fa208f01bac8eac
|
|
| BLAKE2b-256 |
a6f4bece91c42590d0b3deb92e8ef10307dbeae3b035fedcfc6facf9d915a2f2
|