patrickkfkan / patreon-dl

Patreon Downloader
103 stars 8 forks source link

I have no idea how to use this #41

Open notKarb opened 6 days ago

notKarb commented 6 days ago

Can someone make an idiots guide on how to use this please? I am not very good with these types of things and can't find a tutorial or instructions anywhere to use this. Thank you in advance!

AydinAlptug commented 3 days ago

See the installation part in the readme:

https://github.com/patrickkfkan/patreon-dl?tab=readme-ov-file#installation

You first need the Node.js which is a javascript runtime. Then once you install the package from terminal with command: npm i -g patreon-dl

you can use the tool with the following command, to download posts:

// First download posts by johndoe patreon-dl "https://www.patreon.com/johndoe/posts"

// Or if you have a membership use the cookie to access private content too patreon-dl "https://www.patreon.com/johndoe/posts" - c "COOKIE_STRING"

https://github.com/patrickkfkan/patreon-dl/wiki/How-to-obtain-Cookie

However, in case you want to run it on docker and remove it easily by removing the container you can use this command (I assume you have installed docker):

docker run --rm -it --name patreon-dl-container -v "C:\Users\XXX:/app" node:18-alpine sh -c "apk add --no-cache ffmpeg && npm install -g patreon-dl && sh"

and then move them to your machine:

docker cp patreon-dl-container:/output C:\Users\XXX\output

notKarb commented 3 days ago

I get the message

C:\WINDOWS\system32>$ npm i -g patreon-dl '$' is not recognized as an internal or external command, operable program or batch file.

when I try to run the command. I am so useless with this stuff I'm sorry for being so bad

AydinAlptug commented 3 days ago

I get the message

C:\WINDOWS\system32>$ npm i -g patreon-dl '$' is not recognized as an internal or external command, operable program or batch file.

when I try to run the command. I am so useless with this stuff I'm sorry for being so bad

No worries, we are always learning. I have updated my comment. Dollar sign is not part of the command. Just run this part please:

npm i -g patreon-dl

notKarb commented 2 days ago

I tried with the cookie and get the message

patreon-dl v2.0.0 Patreon Downloader

Error processing options: Unknown command-line option '0' See usage with '-h' option.

I then tried without the cookie and get this message:

patreon-dl v2.0.0 Patreon Downloader

Error processing options: Unknown URL: https://www.patreon.com/c/chaesuart/posts See usage with '-h' option.

AydinAlptug commented 1 day ago

Could you pass the command you use without cookie exactly?

I think you should remove the /c from the url that you copied from browser