Skip to content

Commit abe0d05

Browse files
committed
2 parents d095a08 + ac41394 commit abe0d05

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,22 @@ To use this, the variables in .env need to be configured first, and then in the
1212
node index.js
1313
```
1414

15+
## Using The Script With Flags
16+
You can provide flags when running the script in the command line. Currently these are the available flags:
17+
18+
- queuedelay\<int>
19+
This flag sets the minimum delay (in milliseconds) between adding videos to the playlist. For example, -queue2000 adds a 2 second delay between adding each video
20+
- show
21+
Makes the script run the web driver in non-headless mode; Lets you see how the script interacts with the Cytube page
22+
- errdelay\<int>
23+
Sets the delay (in milliseconds) that the script pauses after encountering an error
24+
- checkblacklisted
25+
Instructs the script to skip over videos from blacklisted channels and warns you if videos already in the playlist are marked as blacklisted in the archive
26+
27+
### Example Usage
28+
```bash
29+
node index.js -show -queuedelay1500
30+
```
31+
1532
## ToDo:
1633
1. If there's a disconnection because of a duplicate login, pause the execution and press enter to resume rather than having to rerun the script

0 commit comments

Comments
 (0)