@hasindu---7/ff-link-extract 2.0.5 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Hasindu
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -20,7 +20,7 @@ This guide is local-first. No global install required.
20
20
  ### 1) Open project folder
21
21
 
22
22
  ```bash
23
- cd "c:\Users\Owner\Documents\Hasindu\Fitgirl scr"
23
+ cd /path/to/your/project
24
24
  ```
25
25
 
26
26
  ### 2) Install dependencies in this folder
@@ -32,15 +32,15 @@ npm install
32
32
  If you installed this package locally in another project with `npm install @hasindu---7/ff-link-extract@latest`, run commands using `npm exec`:
33
33
 
34
34
  ```bash
35
- npm exec ff-link-extract -- --help
36
- npm exec ff-link-extract-init -- --help
37
- npm exec ff-link-extract-autorun -- --help
35
+ npm exec ff-link-extract-init (IMPORTANT - This creates the urls.txt file where you enter the download files location)
36
+ npm exec ff-link-extract
37
+ npm exec ff-link-extract-autorun
38
38
  ```
39
39
 
40
40
  ### 3) Create starter files in this folder
41
41
 
42
42
  ```bash
43
- node bin/ff_extract_links_init.js
43
+ npm exec ff-link-extract-init
44
44
  ```
45
45
 
46
46
  This creates:
@@ -60,7 +60,7 @@ Supported input:
60
60
  ### 5) Extract direct links
61
61
 
62
62
  ```bash
63
- node bin/ff_extract_links.js -i urls.txt -o all-direct-links
63
+ npm exec ff-link-extract
64
64
  ```
65
65
 
66
66
  ### 6) Run autorun (optional)
@@ -72,7 +72,7 @@ node bin/ff_extract_links_autorun.js -c autorun.config.json
72
72
  Dry-run mode (no browser open):
73
73
 
74
74
  ```bash
75
- node bin/ff_extract_links_autorun.js -c autorun.config.json --dry-run
75
+ npm exec ff-link-extract-autorun
76
76
  ```
77
77
 
78
78
  ## Commands (Local)
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env node
2
+
3
+ const path = require("path");
4
+
5
+ const packageRoot = path.resolve(__dirname, "..");
6
+ const readmePath = path.join(packageRoot, "README.md");
7
+
8
+ const lines = [
9
+ "",
10
+ "==============================================",
11
+ " ff-link-extract installed successfully",
12
+ "==============================================",
13
+ "README location:",
14
+ ` ${readmePath}`,
15
+ "",
16
+ "Quick start order:",
17
+ " 1. npm exec ff-link-extract-init",
18
+ " 2. Add your page links to urls.txt",
19
+ " 3. npm exec ff-link-extract",
20
+ " 4. npm exec ff-link-extract-autorun (optional)",
21
+ "",
22
+ ];
23
+
24
+ console.log(lines.join("\n"));
package/package.json CHANGED
@@ -1,19 +1,25 @@
1
1
  {
2
2
  "name": "@hasindu---7/ff-link-extract",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "description": "Extract direct fuckingfast download links from page URLs",
5
+ "license": "MIT",
5
6
  "bin": {
6
7
  "ff-link-extract": "bin/ff_extract_links.js",
7
8
  "ff-link-extract-autorun": "bin/ff_extract_links_autorun.js",
8
9
  "ff-link-extract-init": "bin/ff_extract_links_init.js"
9
10
  },
11
+ "scripts": {
12
+ "postinstall": "node bin/postinstall_message.js"
13
+ },
10
14
  "type": "commonjs",
11
15
  "files": [
12
16
  "bin/ff_extract_links.js",
13
17
  "bin/ff_extract_links_autorun.js",
14
18
  "bin/ff_extract_links_init.js",
19
+ "bin/postinstall_message.js",
15
20
  "templates/autorun.config.json",
16
21
  "templates/urls.txt",
22
+ "LICENSE",
17
23
  "README.md",
18
24
  "package.json"
19
25
  ],
@@ -23,7 +29,6 @@
23
29
  "cli",
24
30
  "download"
25
31
  ],
26
- "license": "MIT",
27
32
  "engines": {
28
33
  "node": ">=18"
29
34
  },