Use tv player for more HD shit

This commit is contained in:
2025-10-07 10:29:49 +02:00
parent 0002b08256
commit f867606a6f

View File

@@ -15,11 +15,11 @@ func init() {
var dl = ytdlp.New(). var dl = ytdlp.New().
// FormatSort("bestvideo[ext=mp4]+bestaudio[ext=m4a]"). // FormatSort("bestvideo[ext=mp4]+bestaudio[ext=m4a]").
FormatSort("res,ext:mp4:m4a"). FormatSort("best,ext:mp4:m4a").
Output("C:/Users/Administrator/ytdlpVideos/%(uploader)s/%(title)s.%(ext)s"). Output("C:/Users/Administrator/ytdlpVideos/%(uploader)s/%(title)s.%(ext)s").
LimitRate(fmt.Sprintf("%dM", 150/DOWNLOAD_WORKERS)). LimitRate(fmt.Sprintf("%dM", 150/DOWNLOAD_WORKERS)).
// HTTPChunkSize("20M"). // HTTPChunkSize("20M").
ExtractorArgs("youtube:player_client=android"). ExtractorArgs("youtube:player_client=tv").
MarkWatched(). MarkWatched().
SponsorblockMark("all"). SponsorblockMark("all").
RecodeVideo("mp4"). RecodeVideo("mp4").