Skip to content

Commit 9bcf470

Browse files
authored
Create README.md
1 parent d2d2b2a commit 9bcf470

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Pony Archive to Cytube Playlist
2+
3+
Written in js because:
4+
1. Cloudflare on the site blocks connection attempts from the needed web sockets that I'd originally written in python
5+
2. This project uses [Puppeteer](https://github.com/puppeteer/puppeteer) and a still functional [plugin](https://github.com/berstend/puppeteer-extra) that enables automation without being stopped by Cloudflare
6+
3. The python [alternative](https://github.com/MeiK2333/pyppeteer_stealth) is pretty outdated and was transplanted by the Puppeteer plugin anyways
7+
8+
Using this requires [Node.js](https://nodejs.org/en) and a list of dependencies is listed in [package.json](https://github.com/Brambles-cat/ArchiveToCytube/blob/main/package.json)
9+
10+
To use this, the variables in .env need to be configured first, and then in the command prompt, navigate to the same directory as index.js and run
11+
```bash
12+
node index.js
13+
```
14+
15+
## Known Issues:
16+
1. Some video links (mostly with pony.tube) might redirect to a different url for the same video and cause this to try adding it when it's already present in the playlist
17+
18+
## ToDo:
19+
1. I'm pretty sure now that Cytube determines duplicate videos by name rather than by link, so checking for that over links should fix the issue
20+
2. Use command line arguments so that commands like the ones below can be run
21+
```bash
22+
# Run with headless mode off so you can see everything that the script might be doing right/wrong
23+
node index.js -show
24+
25+
# Add videos at a different delay in case you want it to process faster or if the default one is
26+
# for whatever reason too fast and causing errors
27+
node index.js -d[int]
28+
29+
# + any other ones that might be useful
30+
```

0 commit comments

Comments
 (0)