orly icon indicating copy to clipboard operation
orly copied to clipboard

Feature Request: Cookies.txt file

Open mslmn opened this issue 1 year ago • 1 comments

~I don't have the option to use credentials and wanted to use cookies instead but cant seem to find the right value in developer tools.~

Edit: I figured it out. However, is it possible to store the string in a .txt file and use that instead of having to paste the entire string into the terminal each time?

Also, is the image optimization lossy or lossless?

mslmn avatar Jan 28 '25 23:01 mslmn

One option would be to store the file on disk and then use shell expansion to populate your execution.

orly --cookie "$(cat ./Cookies.txt)" <book-id>

This will expand to include the contents Cookies.txt in the current working directory as the argument associated with the cookie flag.

I am hoping to actually count this issue as closed if #13 is merged, would that be sufficient?

Also, is the image optimization lossy or lossless?

Looking at the code if the image has any transparency it will be encoded as a PNG which would be lossless but if it does not have transparency it will be encoded as JPG which is lossy.

FreeMasen avatar Jun 21 '25 20:06 FreeMasen