Commit Graph

52 Commits

Author SHA1 Message Date
cb39bec3a6 do not filter out m3u8
Some checks failed
Build on push and PRs / build (push) Failing after 5s
Automatic version updates / version_update (push) Failing after 7s
2025-02-09 17:53:12 +03:00
1815e33339 m3u8_native
Some checks failed
Build on push and PRs / build (push) Failing after 5s
Automatic version updates / version_update (push) Failing after 6s
2025-02-07 16:31:17 +03:00
646859b4c1 add foramt chose for subtitlse
Some checks failed
Build on push and PRs / build (push) Failing after 5s
Automatic version updates / version_update (push) Failing after 7s
2025-02-03 20:52:03 +03:00
55e7486f50 add foramt chose for subtitlse
Some checks failed
Build on push and PRs / build (push) Failing after 4s
2025-02-03 20:45:42 +03:00
506804ebb3 captions err
Some checks failed
Build on push and PRs / build (push) Failing after 4s
2025-02-03 20:18:53 +03:00
cafbe3c1a9 captions err
Some checks failed
Build on push and PRs / build (push) Failing after 4s
2025-02-03 20:15:24 +03:00
63a707e70a add err
Some checks failed
Build on push and PRs / build (push) Failing after 4s
2025-02-03 20:14:44 +03:00
c84fe2feb6 add caption
Some checks failed
Build on push and PRs / build (push) Failing after 6s
2025-02-03 19:58:09 +03:00
24cc3575e4 info args
Some checks failed
Build on push and PRs / build (push) Failing after 5s
Automatic version updates / version_update (push) Failing after 6s
2025-01-22 22:51:12 +03:00
1a1941ca29 rename fork
Some checks failed
Build on push and PRs / build (push) Failing after 5s
Automatic version updates / version_update (push) Failing after 7s
2025-01-14 22:09:14 +03:00
b534e45a9c add extractor args
Some checks failed
Build on push and PRs / build (push) Failing after 14s
2025-01-14 21:06:06 +03:00
945bbd6026 result.Options.Impersonate removal 2024-09-09 11:05:09 +03:00
d104f30286 impersonate arg 2024-09-08 22:29:37 +03:00
a623bde37b Merge pull request #195 from gamersindo1223/master
Added Download Audio Only
2024-08-18 12:19:19 +02:00
d47fecba92 Adding Cookies to Options 2024-08-16 22:55:25 -07:00
65804d5c0f Moved to DownloadOptions 2024-08-12 12:02:26 +00:00
346cfb47a0 Update goutubedl.go 2024-08-12 18:15:44 +07:00
3abe5ae66a Added Download Audio Only 2024-07-11 16:13:41 +00:00
4b7a642b1f go fmt and some style fixes 2024-07-08 12:17:00 +02:00
4b359ddd61 Use existing Force IPV4 Config 2024-07-08 10:06:40 +00:00
7993835dad Add some changes (DownloadOptions, Add comments) 2024-07-07 22:45:24 +00:00
0846732ece Add force IPV4 support 2024-07-07 12:20:23 +00:00
cad168222b Remove --no-cahce-dir and add --netrc
--no-cache-dir was probably added in the belif to prevent storing big cache files
but it seems to be extractor session data to speed up auth etc.
--netrc is now default so that yt-dlp plugins works better

Fixes #187
2024-06-26 09:00:49 +02:00
ae007cbb01 new feature
new feature added. now you can use cookies from browser option
2024-03-13 23:46:25 -03:00
8b5d2141e0 Handle errors at download better
Related to #173
2024-03-13 20:54:07 +01:00
8dad7bee96 Fix deprecations and typos 2024-03-12 00:57:21 +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
bab64bab72 add support for youtube-dl channels 2024-02-24 00:29:36 +00: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
3184158e02 DownloadSections option 2023-08-21 17:20:19 -04: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
f97b09d082 fix typo 2023-08-16 17:19:03 +02:00
fcfd4acd74 edit default value 2023-08-16 11:59:17 +02:00
ad9066c4f4 add options to handle downloading one entry from a playlist 2023-08-16 01:28:23 +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
4046d6dc4b Add Downlaoder option
Specificies --downloader optionn
2023-06-15 14:51:18 +02:00
1fcacaf3f0 add proxy settings
Signed-off-by: allan716 <525223688@qq.com>
2023-06-13 14:05:58 +08:00
3b67f6a80c Better errors and error handling
Fix issue with ignore errors for playlists, now ignore
errors if we get info JSON with a non empty ID.
2019-11-05 00:46:54 +01:00
4bc99db15d Less confusing wront type error messages 2019-11-01 00:25:12 +01:00
042aba554c Use youtube-dl headers for own requests too
Might be some issues downloading images and subtiles if cookies are required etc
2019-11-01 00:02:07 +01:00
5b6ef4f1f2 Make response type an/single/playlist
Make it possible to assert what response to get
2019-11-01 00:01:13 +01:00
23419ec767 Add thumbnails array 2019-10-29 00:58:46 +01:00