mcrapet / plowshare

Command-line tool and engine for managing sharing websites
GNU General Public License v3.0
850 stars 88 forks source link

Pass external cookie into plowshare #30

Closed skinner12 closed 8 years ago

skinner12 commented 9 years ago

Hello,

I've writing nitroflare's module for upload files.

It's already done but I need to know how to pass cookie into script.

Nitroflare's login page has recaptcha 2 and I need to login into without manual insert code; so in nitroflare.sh I insert filepath of 1 cookie saved from firefox but if I want to move that file I need to change filepath inside nitroflare.sh.

How to avoid this?

The best option is to pass the complete filepath as option in plowshare like username and password but I didn't find how; or better, I read in another ticket to use option --cache but I didn't find into wiki so I didn't know how to use this.

Any help?

zodman commented 9 years ago

plowshare had an API https://github.com/mcrapet/plowshare#implement-your-own-modules

mcrapet commented 8 years ago

It's a quite old issue, let's close this.

--cache switch should be correctly documented now.