481 Commits

Author SHA1 Message Date
05e5ea7b72 Merge pull request #172 from hejops/channel
add support for channel URLs
2024-02-24 16:32:20 +01:00
49794b3db4 fix incorrect condition
should have tested!
2024-02-24 11:23:48 +00:00
bbd58324d8 make loop more readable 2024-02-24 11:22:45 +00:00
912248327a simplify retrieval of Entries 2024-02-24 11:08:45 +00:00
3f0fe87c2e also require Options.PlaylistIndex for TypeChannel 2024-02-24 10:22:35 +00:00
7f2357b6ae add channelRawURL
whoops
2024-02-24 09:47:59 +00:00
bab64bab72 add support for youtube-dl channels 2024-02-24 00:29:36 +00:00
0d8b592770 update video title 2024-02-23 23:23:47 +00:00
8b34407df2 Merge pull request #171 from wader/bump-golang-1.22.0
Update golang to 1.22.0 from 1.21.6
2024-02-07 17:07:46 +01:00
683e9549e7 Update golang to 1.22.0 from 1.21.6
Release notes https://golang.org/doc/devel/release.html
2024-02-07 16:01:57 +00:00
01bac34c4c Merge pull request #170 from wader/path-probe
By default probe for youtube-dl or yt-dlp binary
2024-01-13 18:11:34 +01:00
efe7640980 By default probe for youtube-dl or yt-dlp binary
Still possible to override with Path
2024-01-13 18:07:51 +01:00
adddb11ead Merge pull request #169 from wader/bump-golang-1.21.6
Update golang to 1.21.6 from 1.21.5
2024-01-10 17:46:36 +01:00
a86f15df0f Update golang to 1.21.6 from 1.21.5
Release notes https://golang.org/doc/devel/release.html
2024-01-10 16:02:14 +00:00
7e5db67282 Merge pull request #168 from wader/bump-yt-dlp-2023.12.30
Update yt-dlp to 2023.12.30 from 2023.11.16
2023-12-31 17:08:41 +01:00
e3c7c3e3f5 Update yt-dlp to 2023.12.30 from 2023.11.16
Release notes https://github.com/yt-dlp/yt-dlp/releases/tag/2023.12.30
2023-12-31 16:01:58 +00:00
5019379921 Merge pull request #167 from wader/bump-golang-1.21.5
Update golang to 1.21.5 from 1.21.4
2023-12-06 17:45:17 +01:00
8ba6398d97 Update golang to 1.21.5 from 1.21.4
Release notes https://golang.org/doc/devel/release.html
2023-12-06 16:02:10 +00:00
f88434dfb2 Merge pull request #166 from wader/bump-yt-dlp-2023.11.16
Update yt-dlp to 2023.11.16 from 2023.11.14
2023-11-16 17:29:35 +01:00
dbbbde44cb Update yt-dlp to 2023.11.16 from 2023.11.14
Release notes https://github.com/yt-dlp/yt-dlp/releases/tag/2023.11.16
2023-11-16 16:02:07 +00:00
e00731da32 Merge pull request #165 from wader/bump-yt-dlp-2023.11.14
Update yt-dlp to 2023.11.14 from 2023.10.13
2023-11-15 17:22:12 +01:00
8249795c0a Update yt-dlp to 2023.11.14 from 2023.10.13
Release notes https://github.com/yt-dlp/yt-dlp/releases/tag/2023.11.14
2023-11-15 16:02:13 +00:00
9bed0812c3 Merge pull request #164 from wader/bump-golang-1.21.4
Update golang to 1.21.4 from 1.21.3
2023-11-08 19:02:03 +01:00
392bd0f15e Update golang to 1.21.4 from 1.21.3
Release notes https://golang.org/doc/devel/release.html
2023-11-08 16:02:13 +00:00
307a49a1d3 Merge pull request #163 from wader/bump-yt-dlp-2023.10.13
Update yt-dlp to 2023.10.13 from 2023.10.07
2023-10-14 18:37:28 +02:00
c702698079 Update yt-dlp to 2023.10.13 from 2023.10.07
Release notes https://github.com/yt-dlp/yt-dlp/releases/tag/2023.10.13
2023-10-14 16:02:07 +00:00
782e0b7262 Merge pull request #162 from wader/bump-golang-1.21.3
Update golang to 1.21.3 from 1.21.2
2023-10-11 18:14:02 +02:00
ab26347454 Update golang to 1.21.3 from 1.21.2
Release notes https://golang.org/doc/devel/release.html
2023-10-11 16:02:19 +00:00
02a0a71721 Merge pull request #161 from wader/bump-yt-dlp-2023.10.07
Update yt-dlp to 2023.10.07 from 2023.09.24
2023-10-07 18:09:16 +02:00
ed998eb769 Update yt-dlp to 2023.10.07 from 2023.09.24
Release notes https://github.com/yt-dlp/yt-dlp/releases/tag/2023.10.07
2023-10-07 16:01:57 +00:00
14a15258d0 Merge pull request #160 from wader/bump-golang-1.21.2
Update golang to 1.21.2 from 1.21.1
2023-10-06 18:05:56 +02:00
5300e997b8 Update golang to 1.21.2 from 1.21.1
Release notes https://golang.org/doc/devel/release.html
2023-10-06 16:02:10 +00:00
3f0889f7e8 Merge pull request #157 from ar2rworld/DownloadSections
DownloadSections option
2023-10-03 23:54:39 +02:00
12053d10b1 fix file close 2023-10-03 17:09:40 -04:00
fc0dec1f1f ffprobe testing duration 2023-10-03 14:58:09 -04:00
427b7fa536 Merge pull request #159 from wader/bump-yt-dlp-2023.09.24
Update yt-dlp to 2023.09.24 from 2023.07.06
2023-09-24 18:57:37 +02:00
e431cded03 Update yt-dlp to 2023.09.24 from 2023.07.06
Release notes https://github.com/yt-dlp/yt-dlp/releases/tag/2023.09.24
2023-09-24 16:02:05 +00:00
fcb3278031 Merge pull request #158 from wader/bump-golang-1.21.1
Update golang to 1.21.1 from 1.21.0
2023-09-07 18:10:40 +02:00
cfdeb18339 Update golang to 1.21.1 from 1.21.0
Release notes https://golang.org/doc/devel/release.html
2023-09-07 16:02:13 +00:00
d87bdbe81c add -y 2023-09-05 16:27:53 -04:00
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