Commit graph

452 commits

Author SHA1 Message Date
stratumadev
968731c5fc fixed only subtitle download ${height} error 2025-04-16 01:51:41 +02:00
stratumadev
7455d32e1d removed never existed crunchyroll endpoint 2025-04-14 20:24:41 +02:00
stratumadev
8da0ac56c4 added new crunchyroll drm endpoints 2025-04-14 20:23:30 +02:00
stratumadev
2c50156046 removed useless old crunchy login api endpoint 2025-04-14 15:53:52 +02:00
stratumadev
98a2586ab8 updated crunchyroll user agent 2025-04-14 15:24:24 +02:00
stratumadev
81429bbea5 added automatic crunchyroll production basic token fetch 2025-03-24 20:45:15 +01:00
AnimeDL
d1582b2484 [CR]: Hotfix login 2025-03-24 08:29:58 -07:00
stratumadev
217c98b39d hotfix AO m4s bug, updated packages, updated crunchyroll user-agent 2025-03-16 17:34:16 +01:00
stratumadev
88df9ffd55 added better cdm error handeling 2025-01-30 16:09:22 +01:00
AnimeDL
9902b16c81 [CR] Switch back to android endpoints 2025-01-29 09:37:58 -08:00
AnimeDL
06a839c518 Improve logging & version bump 2025-01-28 18:40:21 -08:00
stratumadev
d2c272e241 Merge branch 'master' of https://github.com/stratumadev/multi-downloader-nx 2025-01-28 22:19:49 +01:00
stratumadev
bc7b58f141 added support for new crunchyroll endpoint (cloudflare bypass) 2025-01-28 22:19:47 +01:00
Stratum
8419460577
Merge branch 'anidl:master' into master 2025-01-28 21:24:42 +01:00
AnimeDL
51285bfb16 [BUILD] Make sure PR folder is created 2025-01-28 12:13:47 -08:00
Stratum
ff6fc9d993
Merge branch 'anidl:master' into master 2025-01-28 20:20:19 +01:00
AnimeDL
6ea04de7b4
[CR] Hotfix login 2025-01-28 11:06:47 -08:00
stratumadev
d0e1850bde Merge branch 'master' of https://github.com/stratumadev/multi-downloader-nx 2025-01-07 21:04:11 +01:00
stratumadev
57b3daabdc added shaka packager support 2025-01-07 21:04:09 +01:00
AnimeDL
4f7eb97241 Fix file path being passed to ffmpeg
Fixes file paths being passed to ffmpeg when merging subtitles. #790
2025-01-04 13:12:17 -08:00
stratumadev
ef06b5885f added hidive playready support 2024-12-19 10:35:04 +01:00
stratumadev
37b8bbad1f added prd v3 device support 2024-12-13 02:28:54 +01:00
stratumadev
1f12a75009 linting fix 2024-12-11 17:40:45 +01:00
stratumadev
fef39af547 added playready support for crunchyroll 2024-12-07 03:35:22 +01:00
AnimeDL
5cbead06bc Minor grammar fix 2024-07-18 09:44:12 -07:00
AnimeDL
05d679e6ca [CR] Hotfix login
Also increment version
2024-06-28 09:20:35 -07:00
AnimeDL
f92e8dfacb spelling fix 2024-06-21 10:03:03 -07:00
AnimeDL
436a4ca4d1 Improve private key detection 2024-06-20 13:20:45 -07:00
AnimeDL
b0b7cffddf Add zh-HK language 2024-06-20 12:55:43 -07:00
AnimeDL
345aa0f267 [CR] Rename crunchy play stream flag 2024-06-20 10:38:42 -07:00
AnimeDL
575ea260b6 [CR] Update mobile basic auth header 2024-06-20 10:01:03 -07:00
AnimeDL
cf921295f8 Bump node ver to 20 2024-06-19 21:54:47 -07:00
AnimeDL
5f034dc348 Add esbuild step to build process
Seems to run a bit faster, also allows for newer node versions with pkg, and seems to also decrease false-positives. This likely can be used to further improve our build process
2024-06-19 21:52:02 -07:00
AnimeDL
c294cdc280 [CR] Add crunchy play streams selector 2024-06-19 20:28:43 -07:00
AnimeDL
9feb3d2f13 [CR] Hotfix DRM request
Addresses #701
2024-05-28 19:34:21 -07:00
AnimeDL
fb58d306bc [CR] Fix Non-DRM downloading
Thanks bytedream for your reverse engineering
2024-04-19 15:42:59 -07:00
AnimeDL
282fc1ac1a fetch module, give more detailed errors 2024-04-19 15:40:36 -07:00
AnimeDL
c74e6fcb18 [AO] Fix downloading 2024-04-18 13:36:19 -07:00
AnimeDL
39fec7c35c Request Module Fixes 2024-04-18 13:33:34 -07:00
AnimeDL
e3a64abfd8 byterange parsing: Add warning if playlist fails to parse 2024-04-17 10:51:57 -07:00
AnimeDL
4d134a613d Add unknown option suggestion and warning 2024-04-16 08:35:20 -07:00
AnimeDL
0927e8287c change all console logs to log4js 2024-04-16 08:07:54 -07:00
AnimeDL
e7dfc28513 [ADN] Add Chapter Support 2024-04-15 11:02:16 -07:00
AnimeDL
1fa4d5bbbb options fixes 2024-04-14 10:00:56 -07:00
AnimeDL
6629a2ac87 vtt2ass: Add support for right/left styles 2024-04-13 17:55:02 -07:00
AnimeDL
3d3a94c991 vtt2ass: Add support for text-decoration
Adds support for underline text-decoration subtitles, fixes #658
2024-04-13 17:21:57 -07:00
AnimeDL
a1feba6e6f eslint fixes 2024-04-13 08:49:43 -07:00
AnimeDL
d260d8f3e6
Merge branch 'v5' into adn-support 2024-04-13 08:06:51 -07:00
AnimeDL
01abffa85f
Merge branch 'v5' into animeonegai 2024-04-13 07:50:20 -07:00
AnimeDL
b42a543ed5
Merge branch 'v5' into remove-funi 2024-04-13 07:39:37 -07:00
AnimeDL
7107cef7a4
Merge branch 'v5' into remove-old-hd-api 2024-04-13 07:36:32 -07:00
AnimeDL
f5f32fa701 Add support for AnimationDigitalNetwork
This service brought me great pain
2024-04-12 16:19:23 -07:00
AnimeDL
d2117a1390 [AO] Add --locale support
Currently known supported API locales are "pt" and "es"
2024-04-11 13:11:33 -07:00
AnimeDL
4b5b3919f5 Make sure segments are only generated if none exist
Makes sure that it only generates byterange segments for the mpd if there are non already present.
2024-04-11 08:30:51 -07:00
AnimeDL
79fc6584d7 Make sure segments are only generated if none exist
Makes sure that it only generates byterange segments for the mpd if there are non already present.
2024-04-11 08:29:48 -07:00
AnimeDL
9972a48366 [CR] Crunchy Hotfix 2024-04-11 08:09:48 -07:00
AnimeDL
4c4436814b Initial commit to add AnimeOnegai 2024-04-10 22:12:57 -07:00
AnimeDL
b1bae92308 Allow for byterange mpd/dash downloads
Prep for new service
2024-04-10 22:03:17 -07:00
AnimeDL
0d065fdd6a [CR] Rewrite how requests are made
Should stop cloudflare errors
2024-04-09 13:08:15 -07:00
AnimeDL
413dea6564 Compress built code 2024-04-08 09:42:25 -07:00
AnimeDL
551b27280e Completely Redo GUI build code 2024-04-08 09:42:15 -07:00
AnimeDL
6e4e10930b Bump Deps & Remove UnusedDeps
Bumps dependencies, and removes unused dependencies
2024-04-07 22:25:56 -07:00
AnimeDL
0a3b638c55 Start of Removing Funimation 2024-04-06 21:20:34 -07:00
AnimeDL
e9e14aef2f Remove old HD API 2024-04-06 21:05:04 -07:00
AnimeDL
7d5e8fa461 ass inline font regex optimization 2024-04-04 09:27:10 -07:00
AnimeDL
1e6406774d Improve description for fontSize flag 2024-04-03 18:08:12 -07:00
AnimeDL
866bd26067
Merge pull request #626 from IONI0/vtt2ass-changes-branch
Fixes/enchancements for vtt2ass with new Hidive Q styles
2024-04-03 17:59:19 -07:00
IONI0
2885913205 Fix Eslint errors, logic error, and add combineLines argument 2024-04-04 09:42:41 +11:00
AnimeDL
01888286da Match ass inline fonts to include in merger
This fixes an issue where inline fonts in the ass file wouldn't be included in the merged file
2024-04-03 13:41:23 -07:00
IONI0
6bf7e9721f Fixes/enchancements for vtt2ass with new Hidive Q styles 2024-04-02 16:45:29 +11:00
AnimeDL
b54d54d374 [CR] Replace --search-locale flag with --locale
This allows for episode names and search results in the selected locale. Addresses #612
2024-03-29 17:56:53 -07:00
AnimeDL
25cf19f65d vtt2ass: Fix reverse ordering of subtitles 2024-03-29 17:31:12 -07:00
AnimeDL
c82197a585 [HD} Add missing language 2024-03-28 20:23:46 -07:00
AnimeDL
8ccb1301d0 vtt2ass: Fix parsing error 2024-03-28 20:23:38 -07:00
AnimeDL
a777b26517 vtt2ass: Reverse all subtitles
This should (hopefully) make it line up with how subtitles are displayed on Hidive.
2024-03-25 22:59:49 -07:00
AnimeDL
4726bd0416 vtt2ass: Reverse line order for certain subtitles
Reverse line order for subtitles that happen within a deviation of 3 of different types than those we merge. Should address point 2 of #608
2024-03-24 20:09:19 -07:00
AnimeDL
f1bb6c8a64 [CR] Allow for decimal places in episode number
Addresses #615
2024-03-24 19:39:43 -07:00
AnimeDL
175ffbc71f vtt2ass: Improve Merging Logic for subtitles
Improves merging logic for subtitles by adding a check to see if the time is within a deviation of 2. This code is cursed. Addresses #608
2024-03-24 15:15:45 -07:00
AnimeDL
eb2e9c2425 [HD] Make new API default 2024-03-24 14:24:08 -07:00
AnimeDL
ed02017bca vtt2ass: Make sure cc's with pos data aren't merged 2024-03-23 21:41:03 -07:00
AnimeDL
978159c80e [CR] Change the default API to web 2024-03-23 13:12:27 -07:00
AnimeDL
d2a69fdc4d [CR] Chapters flag enabled by default 2024-03-23 13:10:46 -07:00
AnimeDL
818d60e196 Verify file is file in CDM folder
Make sure when reading cdm folder that a file is a file, not a folder.
2024-03-20 21:25:33 -07:00
AnimeDL
15f2651b20 Add seriesTitle to documentation 2024-03-20 16:26:14 -07:00
AnimeDL
fbc1e43260 Documentation fixes 2024-03-19 20:19:51 -07:00
AnimeDL
8dea7cc400 Hidive subtitle scaling fixes 2024-03-19 17:45:54 -07:00
AnimeDL
0b22b4ec36 Improve CDM detection
Automatically checks all files in the directory for a valid CDM
2024-03-19 16:27:00 -07:00
AnimeDL
1852ce1282 [CR] Fix vtt CC fontSize not working 2024-03-19 11:22:15 -07:00
AnimeDL
83d410378a Improve vtt2ass compatibility 2024-03-19 10:07:18 -07:00
AnimeDL
4693b60af4 rename vtt function to vtt2ass 2024-03-19 08:05:07 -07:00
AnimeDL
b497fb40df Add token flag
Allows for login using refresh token in crunchy. Adds #597
2024-03-18 17:44:49 -07:00
AnimeDL
3e071b1386 Set default kstream to 5 2024-03-18 16:04:41 -07:00
AnimeDL
48c9528116
Merge pull request #594 from anidl/new-hidive-api
New Hidive API
2024-03-17 16:39:29 -07:00
AnimeDL
becaed79d1 Migrate ::cue code to vtt2ass
This should allow for generic styles in vtt files to be parsed and converted to an ASS file
2024-03-17 13:49:19 -07:00
AnimeDL
49519f1e17 [HD] fontSize for q1 as well 2024-03-17 11:59:58 -07:00
AnimeDL
a61d7d315d Make widevine folder during compilation 2024-03-17 11:00:50 -07:00
AnimeDL
12780eec26 Only apply fontSize to normal subtitles 2024-03-17 10:54:54 -07:00
AnimeDL
48d8a276d7 [HD] Fix fontsize for vtt2ass for new API 2024-03-16 22:26:56 -07:00
AnimeDL
34fa052bc2 Modify vtt2ass to work with new hidive API
Modifies vtt2ass to work with the new hidive API
2024-03-16 21:20:04 -07:00
AnimeDL
211a593796 [HD] Move -s to --srz, and add warnings
Add warnings for commands that haven't yet been added to hidive, and move -s to --srz since it selects a series, and not a season.
2024-03-16 17:58:48 -07:00
AnimeDL
1c39e349ad [HD] Initial support for new Hidive API
The new API can be accessed with `--hdapi new`
2024-03-16 17:44:11 -07:00
AnimeDL
3c41414f4a Rename WV module 2024-03-16 11:14:21 -07:00
AnimeDL
4742ea8d55 [CR] Hotfix: Fixes non DRM downloads 2024-03-14 19:14:50 -07:00
AnimeDL
d2b4adf09b [CR] Improve Captions support
Renames what was previously called CC to `Signs`.

Also prevents a possible collision where not all subs would be downloaded
2024-02-06 19:46:14 -08:00
AnimeDL
66e1ee5702 [CR] Add CC Subtitles
CC Subtitles looks to be possible in the API now (it's not just always empty), so I've written some code to handle CC subtitles properly and download them

Fixes #580
2024-02-06 19:10:11 -08:00
AnimeDL
03e3c96f3c Rework Building
Should now be more modular, at the cost of human-readable names. It can now be used to build android versions, alpine versions, as well as arm for each supported platform
2024-02-06 08:41:54 -08:00
AnimeDL
3502141c62 [CR] Improve chapter support
If new chapter request fails, use old request.

Also adds new option to enable chapter downloading, `--chapters`
2024-01-30 10:06:40 -08:00
AnimeDL
02620ec5b5 [CR] Initial commit to support chapters
TODO:
1) Add flag for chapters
2) Add ffmpeg merging for chapters
3) Add fallback to old CR API
2024-01-29 22:47:56 -08:00
AnimeDL
1b5dfa0f3e Fix command line length issue
Fixes long standing issue on windows where if the command line length was over 8191 characters, this was achieved by switching node.exec to use powershell.exe instead of cmd.exe on Windows
2024-01-29 19:30:43 -08:00
AnimeDL
f204b068ea Only show DRM streams if they can be decrypted 2024-01-26 10:38:25 -08:00
AnimeDL
fe997ecb32 Fix edge case with vtt2ass 2024-01-11 11:38:33 -08:00
AnimeDL
0e91c59197 Add Telugu (India)
Fixes #567
2024-01-10 11:18:40 -08:00
AnimeDL
5ab4d3e0c4 Add new CR languages 2024-01-09 08:46:49 -08:00
AnimeDL
e1c5ad2f2a Hotfix for CR
Fixes authentication in CR
Fixes #573
2024-01-09 08:34:34 -08:00
AnimeDL
5c751eb551 switch to yao-pkg 2024-01-07 22:07:24 -08:00
AnimeDL
f9adcdea7f Fix bug with kstream 3 2023-12-29 21:14:27 -08:00
AnimeDL
ca01c04961 API switching 2023-12-29 21:14:12 -08:00
AnimeDL
942f673934 Fix WV relative pathing 2023-12-25 11:11:55 -08:00
AnidlSupport
ee38658d0d Some refactoring 2023-12-25 10:46:13 -08:00
AnimeDL
28518bb461 Initial commit for WV Decryption 2023-12-24 19:29:01 -08:00
AnidlSupport
abc5747614 MPD Refactoring 2023-12-24 11:19:01 -08:00
AnimeDL
a27c0209c1 Initial support for mpd 2023-12-23 20:28:37 -08:00
AnimeDL
834e157d70 Change the default kstream to 2 2023-12-15 09:48:23 -08:00
AnimeDL
7e8bb06a8b Replace ffprobe static with ffprobe bin 2023-12-15 09:24:07 -08:00
AnimeDL
df7dd06235 Hotfix for CR
This does not include DRM decryption, that will come later, however, this does work for however long CR allows it to.
2023-12-15 09:21:05 -08:00
AnimeDL
24f330838e Add new Hidive languages 2023-07-30 16:09:56 -07:00
AnimeDL
b8362a618c Typo 2023-07-16 19:35:22 -07:00
AnimeDL
e02fd59f43 Add warning for pontially problematic subs 2023-07-16 19:32:18 -07:00
AnimeDL
485433cd74 Initial attempt to add --syncTiming flag
Add --syncTiming flag to attempt to detect timing differences in multi-dub downloads and sync them properly. Currently disabled by default since it's experimental and likely buggy. Potentially Resolved #471
2023-07-16 19:24:41 -07:00
AnimeDL
5962c556ec Improve --keepAllVideos
Fixes issue where in not all cases keepAllVideos would work
2023-07-16 13:24:11 -07:00
AnimeDL
02b4385db3 Add --new to hidive
Adds --new to hidive to look at the ID's of recently added stuff
2023-07-16 13:23:31 -07:00
AnimeDL
a87c345fdc Fixed duplicate episode entries in archive 2023-07-16 08:57:54 -07:00
AnimeDL
2b969971e6 Fix language order 2023-07-15 16:11:58 -07:00
AnimeDL
11c32ba4bc eslint fixes 2023-07-15 11:28:43 -07:00
AnimeDL
c3dab33f6b Add GUI States
This adds states for the GUI that get saved to a file, notably this means that queue's of services are no longer lost when changing services, or closing and reopening the program.

Also changed was a few spelling fixes
2023-07-15 11:16:55 -07:00
AnimeDL
f3144475f4 Remove 'Unknown' language entry 2023-07-14 17:24:30 -07:00
AnimeDL
9d8665dfbe Add --keepAllVideos option
If set to true, it will keep all videos in the merge process, rather than discarding the extra videos.
2023-07-13 14:28:44 -07:00
AnimeDL
a356e98aa8 Fix regression in Funimation merging
Fixes audio not being in the final video
2023-07-13 13:56:41 -07:00
AnimeDL
8aa2323697 More graceful handling of unknown languages 2023-07-12 21:35:40 -07:00
AnimeDL
c29fd0e5f5 Add support for 6 more languages
Chinese (Taiwan),
Catalan,
Polish,
Thai,
Tamil (India),
Malay (Malaysia)
2023-07-12 21:19:19 -07:00
AnimeDL
2dc6b3968c Add --waittime flag
Will wait between downloads, set in milliseconds. Setting this high should help when downloading large numbers of items.
2023-07-10 16:00:55 -07:00
AnimeDL
4a135092e9 Add --extid for crunchyroll
Allows downloading or viewing of old Crunchyroll ID's such as: SRZ.282651 VOL.26453 EPI.842919 FLM.268837

Fixes #351 #249
2023-07-10 09:05:23 -07:00
AnimeDL
371b8336f1 add flag --originalFontSize
Flag to keep original font size for the service Hidive (which defines it's own expected fontsize per series)
2023-07-07 15:43:11 -07:00
AnimeDL
4eb3a4a916 Update to node 18 for prebuilds 2023-07-07 15:28:00 -07:00
AnimeDL
a78461a2ac Disable CC subs from being default
Temporary measure until I can think of a better way to implement it so that CC subtitles are not set as default along with the normal subtitle
2023-07-05 21:35:44 -07:00
AnimeDL
5dfea78822 Fix text-shadow parsing error in vtt2ass
Should hopefully fix the warnings about text-shadow being improperly parsed
2023-07-05 21:21:48 -07:00
AnimeDL
ad12b775bb Properly fix eslint error 2023-07-05 15:17:10 -07:00
AnimeDL
e12d9a30f6 Revert "eslint fixes"
This reverts commit a17677c3bf.
2023-07-05 15:05:20 -07:00
AnimeDL
580dbe2384 Improve documentation 2023-07-05 11:52:17 -07:00
AnimeDL
a17677c3bf eslint fixes 2023-07-05 11:11:35 -07:00