-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 785186e
Showing
20 changed files
with
2,344 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/node_modules | ||
/dist | ||
/temp | ||
/ffmpeg/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[![License: CC BY-NC-SA 4.0](https://img.shields.io/badge/license-CC%20BY--NC--SA%204.0-blue)](https://creativecommons.org/licenses/by-nc-sa/4.0/) | ||
|
||
<h1 align="center">Hidive Downloader</h1> | ||
|
||
# Features | ||
- User friendly (Completely CLI controlled) | ||
- Download episodes simultaneously | ||
- Search function | ||
- Video files are converted to MKV lossless | ||
- Subtitles are added to MKV | ||
|
||
# How to use | ||
- Download the latest [release](https://github.com/philhk/hidive-downloader/releases) | ||
- Extract the content to a folder | ||
- Run `npm install` > `npm run build` in a terminal | ||
- After that you can run the application with `npm run start` in a terminal | ||
|
||
# Example Video | ||
https://user-images.githubusercontent.com/66958695/194079411-073d6dfe-6886-4d64-83bb-2679fe3a4f6a.mp4 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"name": "hidive-downloader", | ||
"main": "index.js", | ||
"scripts": { | ||
"start:dev": "ts-node-esm src/main.ts", | ||
"start": "node dist/main.js", | ||
"build:tsc": "tsc", | ||
"build": "npm run build:tsc" | ||
}, | ||
"type": "module", | ||
"author": "PhilHK", | ||
"devDependencies": { | ||
"@types/async": "^3.2.15", | ||
"@types/better-sqlite3": "^7.6.0", | ||
"@types/cli-progress": "^3.11.0", | ||
"@types/ffmpeg": "^1.0.4", | ||
"@types/fs-extra": "^9.0.13", | ||
"@types/inquirer": "^9.0.2", | ||
"@types/node": "^18.8.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.8.4" | ||
}, | ||
"dependencies": { | ||
"async": "^3.2.4", | ||
"axios": "^0.27.2", | ||
"better-sqlite3": "^7.6.2", | ||
"cli-progress": "^3.11.2", | ||
"fs-extra": "^10.1.0", | ||
"inquirer": "^9.1.2", | ||
"m3u8-parser": "^6.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
-- SQLite | ||
DROP TABLE IF EXISTS Account; | ||
DROP TABLE IF EXISTS ApiKey; | ||
CREATE TABLE Account ( | ||
id INTEGER PRIMARY KEY AUTOINCREMENT, | ||
email VARCHAR(50) NOT NULL, | ||
password VARCHAR(50) NOT NULL, | ||
userId INTEGER, | ||
profileId INTEGER, | ||
deviceId VARCHAR(50), | ||
visitId VARCHAR(50) | ||
); | ||
CREATE TABLE ApiKey ( | ||
id INTEGER PRIMARY KEY AUTOINCREMENT, | ||
key VARCHAR(50) NOT NULL | ||
); | ||
INSERT INTO ApiKey (key) VALUES ('508efd7b42d546e19cc24f4d0b414e57e351ca73'); |
Oops, something went wrong.