Files
streamrip-go/internal/provider/provider.go
Joren 26c9d50fac implement native Deezer download/decrypt pipeline
Replace Deezer yt-dlp usage with native ARL session + media.get_url resolution, add BF_CBC_STRIPE decryption in downloader, and wire cipher-aware Deezer downloads through the main rip pipeline. Includes validation hardening and metadata/source-id improvements used by tagging flows.
2026-04-21 00:48:07 +02:00

22 lines
525 B
Go

package provider
import "context"
type Downloadable struct {
URL string
Extension string
Source string
Cipher string
TrackID string
}
type Client interface {
Source() string
Login(ctx context.Context) error
LoggedIn() bool
GetMetadata(ctx context.Context, item, mediaType string) (map[string]any, error)
Search(ctx context.Context, mediaType, query string, limit int) ([]map[string]any, error)
GetDownloadable(ctx context.Context, item string, quality int) (*Downloadable, error)
Close() error
}