assets

package
v0.8.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: MIT Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package assets 提供 javdb assets 命令域:影片媒体资产(图片/预览视频)的发现与下载。 这里只处理影片附属媒体资产;完整影片/磁力下载不是本命令域的职责。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options *session.Options, streams *environment.Streams) *cobra.Command

New builds the assets command with its subcommands.

func NewDownload

func NewDownload(options *session.Options, streams *environment.Streams) *cobra.Command

NewDownload builds the `assets download` pipe consumer. 输入是 `assets list` 的 TYPE<TAB>URL 记录流,流式逐条处理: scan → parse → download → next,不缓存全部记录。 -d/-o 与默认命名在失败时不落盘,并且绝不覆盖已有文件。 stdout 只输出最终路径,不输出 saved/bytes 装饰。

func NewList

func NewList(options *session.Options, streams *environment.Streams) *cobra.Command

NewList builds the `assets list NUMBER [SELECTOR...]` command. 处理顺序固定:获取详情 → --type 过滤 → 生成 1..N 编号 → selector → metadata probe → 输出; 编号只是当前过滤结果的顺序位置,不是长期资产 ID。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL