391 Commits

Author SHA1 Message Date
2438eebf7a fixing Dockerfile 2023-09-05 15:47:25 -04:00
9a0dc509a3 change Download filter to best 2023-09-01 16:28:30 -04:00
36319b5e0f add ffmpeg check to test 2023-09-01 16:28:03 -04:00
89ddc38573 add ffmpeg to Dockerfile 2023-09-01 16:27:39 -04:00
e29655f2bd add TestDownloadSections 2023-08-23 16:48:24 -04:00
3184158e02 DownloadSections option 2023-08-21 17:20:19 -04:00
89e825670c Merge pull request #156 from nonoo/master
Add the NoInfoDownload option
2023-08-17 11:58:31 +02:00
b6c1793051 Unexport the Options.noInfoDownload field
There is a package Download() function now which handle downloading without
using the Info struct so this field no longer needs to be exported.
2023-08-17 11:47:20 +02:00
a230313e47 Add main Download() function and its test
// It downloads given URL using the given options and filter (usually a format
id or quality designator). If filter is empty, then youtube-dl will use its
default format selector.
2023-08-17 11:19:19 +02:00
ddaf5ad2fa Add the NoInfoDownload option
Set it to true if you don't want to use the result.Info structure.

If it is set to true, then the New() call won't call youtube-dl to request info
about the source in JSON format, and result.Info structure will not be
populated. The given URL will be downloaded in a single pass in the Download()
call.
2023-08-17 11:18:47 +02:00
a46b2837fc Merge pull request #155 from Galiley/master
add options to handle downloading one entry from a playlist
2023-08-16 18:50:49 +02:00
f97b09d082 fix typo 2023-08-16 17:19:03 +02:00
fcfd4acd74 edit default value 2023-08-16 11:59:17 +02:00
de2e0d1840 add tests 2023-08-16 01:28:47 +02:00
ad9066c4f4 add options to handle downloading one entry from a playlist 2023-08-16 01:28:23 +02:00
02ec4fe77d Merge pull request #154 from nonoo/master
Add 2 new options, and make filter use optional
2023-08-15 23:25:31 +02:00
4b1de1d3ad Make Download() function comment more clear 2023-08-15 13:06:07 +02:00
f483ae69c8 Update Download() usage comment lines 2023-08-15 11:51:02 +02:00
c1dcced791 Add options to set merge output format and sorting format
yt-dlp uses mp4 format by default to merge sources with separate video and
audio streams. mp4 format does not handle VP9 codec, so adding the ability
to set the merge output format, we can set it to use for ex. mkv, which
handles VP9 well.

With the possibility of setting the sorting format we can tell yt-dlp which
criteria to consider as the best format.
2023-08-14 13:48:26 +02:00
3c1f4ce6da Only use -f arg if filter is given
If filter is not given then we let youtube-dl/yt-dlp decide the format to download.
2023-08-14 13:47:06 +02:00
2d7d4563d9 Merge pull request #153 from wader/bump-golang-1.21.0
Update golang to 1.21.0 from 1.20.7
2023-08-09 18:07:17 +02:00
59d0f9fc9e Update golang to 1.21.0 from 1.20.7
Release notes https://golang.org/doc/devel/release.html
2023-08-09 16:02:16 +00:00
b2b2500ae9 Merge pull request #152 from wader/bump-golang-1.20.7
Update golang to 1.20.7 from 1.20.6
2023-08-02 18:10:25 +02:00
b5d5a177c0 Update golang to 1.20.7 from 1.20.6
Release notes https://golang.org/doc/devel/release.html
2023-08-02 16:02:13 +00:00
f84c8607fa Merge pull request #150 from wader/bump-golang-1.20.6
Update golang to 1.20.6 from 1.20.5
2023-07-12 18:39:21 +02:00
ce02413ad4 Update golang to 1.20.6 from 1.20.5
Release notes https://golang.org/doc/devel/release.html
2023-07-12 16:02:22 +00:00
20583d83fd Merge pull request #149 from wader/bump-yt-dlp-2023.07.06
Update yt-dlp to 2023.07.06 from 2023.06.22
2023-07-07 18:07:56 +02:00
42e6060738 Update yt-dlp to 2023.07.06 from 2023.06.22
Release notes https://github.com/yt-dlp/yt-dlp/releases/tag/2023.07.06
2023-07-07 16:02:21 +00:00
3d23796f5f Merge pull request #148 from wader/bump-yt-dlp-2023.06.22
Update yt-dlp to 2023.06.22 from 2023.03.04
2023-06-22 18:15:22 +02:00
87e9b10e45 Update yt-dlp to 2023.06.22 from 2023.03.04
Release notes https://github.com/yt-dlp/yt-dlp/releases/tag/2023.06.22
2023-06-22 16:02:05 +00:00
a1ae14605c Add --target dev to dev instruction to skip tests 2023-06-21 18:25:12 +02:00
64f5dfc85b Merge pull request #146 from wader/downloader-option
Add Downlaoder option
2023-06-15 14:55:28 +02:00
4046d6dc4b Add Downlaoder option
Specificies --downloader optionn
2023-06-15 14:51:18 +02:00
05498e920a Merge pull request #145 from allanpk716/master
add proxy settings
v2.0.0
2023-06-13 11:04:12 +02:00
1fcacaf3f0 add proxy settings
Signed-off-by: allan716 <525223688@qq.com>
2023-06-13 14:05:58 +08:00
2ec70c51c9 Merge pull request #142 from wader/bump-golang-1.20.5
Update golang to 1.20.5 from 1.20.4
2023-06-07 18:10:20 +02:00
bc05d02e93 Update golang to 1.20.5 from 1.20.4
Release notes https://golang.org/doc/devel/release.html
2023-06-07 16:02:23 +00:00
cef23e8d43 Merge pull request #141 from wader/bump-golang-1.20.4
Update golang to 1.20.4 from 1.20.3
2023-05-03 18:49:48 +02:00
9810de5ed3 Update golang to 1.20.4 from 1.20.3
Release notes https://golang.org/doc/devel/release.html
2023-05-03 16:02:21 +00:00
e54060320d Merge pull request #140 from wader/bump-golang-1.20.3
Update golang to 1.20.3 from 1.20.2
2023-04-05 18:24:15 +02:00
4e5309b84e Update golang to 1.20.3 from 1.20.2
Release notes https://golang.org/doc/devel/release.html
2023-04-05 16:02:27 +00:00
387cad2e2c Merge pull request #138 from wader/bump-golang-1.20.2
Update golang to 1.20.2 from 1.20.1
2023-03-08 17:08:35 +01:00
f719f0f559 Update golang to 1.20.2 from 1.20.1
Release notes https://golang.org/doc/devel/release.html
2023-03-08 16:02:19 +00:00
bc6bc7763f Merge pull request #137 from wader/bump-yt-dlp-2023.03.04
Update yt-dlp to 2023.03.04 from 2023.03.03
2023-03-05 17:27:23 +01:00
b7078f00a4 Update yt-dlp to 2023.03.04 from 2023.03.03
Release notes https://github.com/yt-dlp/yt-dlp/releases/tag/2023.03.04
2023-03-05 16:02:15 +00:00
8b27a8c181 Merge pull request #136 from wader/bump-yt-dlp-2023.03.03
Update yt-dlp to 2023.03.03 from 2023.02.17
2023-03-04 17:19:49 +01:00
2afa813da5 Update yt-dlp to 2023.03.03 from 2023.02.17
Release notes https://github.com/yt-dlp/yt-dlp/releases/tag/2023.03.03
2023-03-04 16:02:08 +00:00
c615f6284d Merge pull request #135 from wader/bump-yt-dlp-2023.02.17
Update yt-dlp to 2023.02.17 from 2023.01.06
2023-02-17 17:23:17 +01:00
8e933863a0 Update yt-dlp to 2023.02.17 from 2023.01.06
Release notes https://github.com/yt-dlp/yt-dlp/releases/tag/2023.02.17
2023-02-17 16:02:11 +00:00
3143935aea Merge pull request #134 from wader/bump-golang-1.20.1
Update golang to 1.20.1 from 1.20.0
2023-02-15 19:22:34 +01:00