chore(main): remove unused/outdated files and move to typescript only
Some checks are pending
auto-documentation / documentation (push) Waiting to run
build and push docker image / build-node (push) Waiting to run
Style and build test / tsc (push) Waiting to run
Style and build test / eslint (push) Blocked by required conditions
Style and build test / prettier (push) Blocked by required conditions
Style and build test / build-test-windows-arm64 (push) Blocked by required conditions
Style and build test / build-test-linux-arm64 (push) Blocked by required conditions
Style and build test / build-test-macos-arm64 (push) Blocked by required conditions
Style and build test / build-test-windows-x64 (push) Blocked by required conditions
Style and build test / build-test-linux-x64 (push) Blocked by required conditions
Style and build test / build-test-macos-x64 (push) Blocked by required conditions

This commit is contained in:
stratumadev 2025-11-28 13:49:27 +01:00
parent 7d828a3d47
commit c9ca51e6ef
8 changed files with 5 additions and 240 deletions

15
TODO.md
View file

@ -1,15 +0,0 @@
# Todo/Future Ideas list
- [ ] Look into implementing wvd file support
- [ ] Merge sync branch with latest master
- [ ] Finish implementing old algorithm
- [ ] Look into adding suggested algorithm [#599](https://github.com/anidl/multi-downloader-nx/issues/599)
- [ ] Remove Funimation
- [ ] Remove old hidive API or find a way to make it work
- [ ] Look into adding other services
- [ ] Refactor downloading code
- [ ] Allow audio and video download at the same time
- [ ] Reduce/Refactor the amount of duplicate/boilerplate code required
- [ ] Create a generic service class for the CLI with set inputs/outputs
- [ ] Modularize site modules to ease addition of new sites
- [ ] Create generic MPD/M3U8 playlist downloader

23
dev.js
View file

@ -1,23 +0,0 @@
const { exec } = require('child_process');
const path = require('path');
const toRun = process.argv.slice(2).join(' ').split('---');
const waitForProcess = async (proc) => {
return new Promise((resolve, reject) => {
proc.stdout?.on('data', (data) => process.stdout.write(data));
proc.stderr?.on('data', (data) => process.stderr.write(data));
proc.on('close', resolve);
proc.on('error', reject);
});
};
(async () => {
await waitForProcess(exec('pnpm run tsc test false'));
for (let command of toRun) {
await waitForProcess(
exec(`node index.js --service hidive ${command}`, {
cwd: path.join(__dirname, 'lib')
})
);
}
})();

View file

@ -1,200 +0,0 @@
## Change Log
This changelog is out of date and wont be continued. Please see the releases comments, or if not present the commit comments.
### 4.7.0 (unreleased)
- Change subtitles parser from ttml to vtt
- Improve help command
- Update modules
#### Known issues:
- Proxy not supported
### 4.6.1 (2020/09/19)
- Update modules
#### Known issues:
- Proxy not supported
### 4.6.0 (2020/06/03)
- Bug fixes and improvements
#### Known issues:
- Proxy not supported
### 4.5.1 (2020/03/10)
- Better binary files handling
- Binary build for windows
#### Known issues:
- Proxy not supported
### 4.5.0 (2020/01/21)
- Resume downloading
#### Known issues:
- Proxy not supported
### 4.4.2 (2019/07/21)
- Better proxy handling for stream download
### 4.4.1 (2019/07/21)
- Fixed proxy for stream download
### 4.4.0 (2019/06/04)
- Added `--novids` option (Thanks to @subdiox)
- Update modules
### 4.3.2 (2019/05/09)
- Code improvements
- Fix `hls-download` error printing
### 4.3.1 (2019/05/09)
- Fix auto detection max quality (Regression in d7d280c)
### 4.3.0 (2019/05/09)
- Better server selection (Closes #42)
### 4.2.1 (2019/05/04)
- Filter duplicate urls for cloudfront.net (Closes #40)
### 4.2.0 (2019/05/02)
- Replace `request` module with `got`
- Changed proxy cli options
- Changed `login` option name to `auth`
- Changed `hls-download` parallel download configuration from 5 parts to 10
- Update modules
### 4.1.0 (2019/04/05)
- CLI options for login moved to CUI
- Removed showing set token at startup
### 4.0.5 (2019/02/09)
- Fix downloading shows with autoselect max quality
### 4.0.4 (2019/01/26)
- Fix search when shows not found
- Update modules
### 4.0.3 (2018/12/06)
- Select only non-encrypted (HLS) streams, encrypted streams is MPEG-DASH
### 4.0.2 (2018/11/25)
- Fix typos and update modules
### 4.0.1 (2018/11/23)
- Code refactoring and small fixes
### 4.0.0 RC 1 (2018/11/17)
- Select range of episodes using hyphen-sequence
- Skip muxing if executables not found
- Fixed typos and duplicate options
### 4.0.0 Beta 2 (2018/11/12)
- Select alternative server
- Updated readme
### 4.0.0 Beta 1 (2018/11/10)
- Rearrange folders structure
- Configuration changed to yaml format
- Muxing changed to MKV by default
- tsMuxeR+mp4box replaced with FFMPEG
- Updated commands help and readme
- Fixed typos and duplicate options
- `ttml2srt` moved to separate module
- Drop `m3u8-stream-list` module
- Code improvements
### 3.2.8 (2018/06/16)
- Fix video request when token not specified
### 3.2.7 (2018/06/15)
- Update modules
### 3.2.6 (2018/02/18)
- Fix commands help
### 3.2.5 (2018/02/12)
- Fixes and update modules
### 3.2.4 (2018/02/01)
- Update modules
### 3.2.3 (2018/01/31)
- Rearrange folders structure
### 3.2.2 (2018/01/16)
- Update modules
### 3.2.1 (2018/01/16)
- Update modules
- Small fixes
### 3.2.0 (2018/01/16)
- `hls-download` module moved to independent module
- Auth for socks proxy
### 3.1.0 (2017/12/30)
- Convert DXFP (TTML) subtitles to SRT format
### 3.0.1 (2017/12/05)
- Check subtitles availability
- Download subtitles in SRT format instead of VTT
- Extended hls download progress info
### 3.0.0 Beta 3 (2017/12/03)
- Restored MKV and MP4 muxing
- Convert VTT subtitles to SRT format
### 3.0.0 Beta 2 (2017/10/18)
- Fix video downloading
### 3.0.0 Beta 1 (2017/10/17)
- Major code changes and improvements
- Drop Streamlink and added own module for hls download
### 2.5.0 (2017/09/04)
- `nosubs` option
- Request video with app api
### 2.4.1 (2017/09/02)
- Fixed typo in package.json
- Fix #11: URL for getting video stream url was changed
### 2.4.0 (2017/07/04)
- IPv4 Socks5 proxy support
### 2.3.3 (2017/06/19)
- Removed forgotten debug code
### 2.3.2 (2017/06/19)
- Fix #5: Script fails to multiplex unique file names
### 2.3.1 (2017/04/29)
- Code improvements
### 2.3.0 (2017/04/27)
- Code improvements
### 2.2.5 (2017/04/17)
- Minor code improvements and fixes
### 2.1.4 (2017/04/10)
- Minor changes
### 2.1.3 (2017/04/10)
- Minor changes and fixes
### 2.1.2 (2017/04/10)
- Fix config path
### 2.1.1 (2017/04/10)
- Minor text changes
- Fix config
- Minor changes
### 2.1.0 (2017/04/10)
- First stable release
### 2.0.0 Beta (lost in time)
- First public release

View file

@ -33,7 +33,7 @@ export default tseslint.config(
}
},
{
ignores: ['**/lib', '**/videos', '**/build', 'dev.js', 'tsc.ts']
ignores: ['**/lib', '**/videos', '**/build', 'tsc.ts']
},
{
files: ['gui/react/**/*'],

View file

@ -73,6 +73,7 @@
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"jiti": "^2.6.1",
"prettier": "^3.7.1",
"removeNPMAbsolutePaths": "^3.0.1",
"ts-node": "^10.9.2",

View file

@ -102,6 +102,9 @@ importers:
husky:
specifier: ^9.1.7
version: 9.1.7
jiti:
specifier: ^2.6.1
version: 2.6.1
prettier:
specifier: ^3.7.1
version: 3.7.1

1
tsc.ts
View file

@ -28,7 +28,6 @@ const ignore = [
'*/*\\.tsx?$',
'./fonts*',
'./gui/react*',
'./dev.js$',
'*/node_modules/*',
'./widevine/*',
'./playready/*',