Closed shinkiro25 closed 2 months ago
Can you please take a look at my question?
Update to v2.0.0. This will allow you to download only ZIP attachments (through attachments.by.filename
config option).
Here's a config file - note I have not tested this because I do not have a subscription to the Patreon you linked:
[downloader]
target.url = "https://www.patreon.com/AlyxiaAI/posts"
cookie = "Place your cookie here"
[output]
out.dir = "Z:\Patreon\AlyxiaAI"
[include]
# Only download posts that contain attachments
posts.with.media.type = attachment
# Only download attachments
content.media = attachment
# Only download ZIP attachments
attachments.by.filename = *.zip
[logger.console]
enabled = 1
Save the above in a file, say "Z:\Patreon\AlyxiaAI.conf", then run:
patreon-dl -C Z:\Patreon\AlyxiaAI.conf
Hi again,
I'm getting this error "post is not viewable by current user" despite being subscribed to the the creator Alyxia I input the cookie in the conf file using the "copy cookies" chrome extension
{"cookies":[{"domain":".patreon.com","expirationDate":1761576415.810051,"hostOnly":false,"httpOnly":false,"name":"patreon_locale_code","path":"/","sameSite":"unspecified","secure":true,"session":false,"storeId":"0","value":"en-US"},{"domain":".patreon.com","expirationDate":1761576415.810139,"hostOnly":false,"httpOnly":false,"name":"patreon_location_country_code","path":"/","sameSite":"unspecified","secure":true,"session":false,"storeId":"0","value":"TN"},{"domain":".patreon.com","expirationDate":1742909864.44932,"hostOnly":false,"httpOnly":false,"name":"patreon_device_id","path":"/","sameSite":"unspecified","secure":false,"session":false,"storeId":"0","value":"d1c2589d-402b-4930-947b-455ece621b74"},{"domain":".patreon.com","expirationDate":1739886612.018135,"hostOnly":false,"httpOnly":true,"name":"session_id","path":"/","sameSite":"lax","secure":true,"session":false,"storeId":"0","value":"hPhLtmj7Bjf9UQ28tTSbXXfdFYggXZFx7moXuXb-xtg"},{"domain":".www.patreon.com","expirationDate":1757211570,"hostOnly":false,"httpOnly":false,"name":"__stripe_mid","path":"/","sameSite":"lax","secure":false,"session":false,"storeId":"0","value":"b2ada117-06af-4db8-b0ee-5b8a4a406b2ea0a95c"},{"domain":".patreon.com","expirationDate":1745592331.531189,"hostOnly":false,"httpOnly":false,"name":"ssid","path":"/","sameSite":"unspecified","secure":false,"session":false,"storeId":"0","value":"35272ed5-f6a5-4536-bd92-fcde9bb32ec3"},{"domain":".patreon.com","expirationDate":1727019301.374717,"hostOnly":false,"httpOnly":true,"name":"cf_bm","path":"/","sameSite":"no_restriction","secure":true,"session":false,"storeId":"0","value":"du7ukGKGwFQRzhCQlamHaKGeDWtjsJlIIFLJxIJpdXM-1727017501-1.0.1.1-33nhpOSMKYgvW8oqvvlBFPdSAsYJcqTWcbxXVOu4RgHu7vA3st.h4ADaOJwgHdNL0xe6klg9doDaWeGSVZXGRrOc2xDXfUK_xblxdQAOh4c"}],"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"}
Do I need to get it in a different format or perhaps put it into the file without the " "
Can you please tell how you get the cookie for the creator if you know of another method ?
Also, how do I skip zip files which are already downloaded?
Can you please tell how you get the cookie for the creator if you know of another method ?
The guide is in the README!
https://github.com/patrickkfkan/patreon-dl/wiki/How-to-obtain-Cookie
Also, how do I skip zip files which are already downloaded?
Files downloaded will be skipped next time you run the program.
Thank you, it works now. But I have one more question, is it possible to download after a certain date using "postsPublished"
For example, is this syntax correct "postsPublished = after 22.09.2024" ?
Under [include]
, add:
posts.published.after = 2024-09-22
Update to v2.0.0. This will allow you to download only ZIP attachments (through
attachments.by.filename
config option).Here's a config file - note I have not tested this because I do not have a subscription to the Patreon you linked:
[downloader] target.url = "https://www.patreon.com/AlyxiaAI/posts" cookie = "Place your cookie here" [output] out.dir = "Z:\Patreon\AlyxiaAI" [include] # Only download posts that contain attachments posts.with.media.type = attachment # Only download attachments content.media = attachment # Only download ZIP attachments attachments.by.filename = *.zip [logger.console] enabled = 1
Save the above in a file, say "Z:\Patreon\AlyxiaAI.conf", then run:
patreon-dl -C Z:\Patreon\AlyxiaAI.conf
Not part of this issue, but can I just ask, as it does not seem clear elsewhere, are .zip
files downloaded if any
flag is set? Or do they have to be specifically set?
Thanks,
attachments.by.filename = *.zip
This means for attachments, download only ZIP files.
If you omit this setting, then all types of attachment will be downloaded. Do NOT specify any
for attachments.by.filename
, as this will mean download only when the filename matches any
.
Fairy nuff.
Hello Can you please help writing the command for downloading from https://www.patreon.com/AlyxiaAI and putting it into Z:\Patreon\AlyxiaAI while getting only zip attachments and skipping existing files