knadh / go-get-youtube

A tiny Go library + client for downloading Youtube videos. The library is capable of fetching Youtube video metadata, in addition to downloading videos.
158 stars 35 forks source link

Feature/ffmpeg time offset and duration #10

Closed NilsKaden closed 4 years ago

NilsKaden commented 4 years ago

refactor download function, to take two additional parameter Important: Frontend needs to pass "0.0" as default value for starttime. duration expects "0.0" too, but will be buggy. Block frontend site, or finally get to writing that request validator already.