Comments (14)
OK, I am able to reproduce this. It turns out the correct download link was used - in this example the downloaded file has MIME type audio/mpeg
, which should produce a file with .mp3
extension. However, the Node module which patreon-dl
uses to determine extension from MIME type gives .mpga
for audio/mpeg
. Hence you get abcde.mpga
instead of abcde.mp3
, but the data is actually MP3.
I will patch this, but for now you can rename the .mpga
files to .mp3
.
from patreon-dl.
Hi,
Cookie issue
Did you get PostDownloader: Post #<id> is not viewable by current user
warning for posts that you should have access to? If so, then your cookie is not working. Verify that you are setting the cookie
value to the full string copied from Developer Tools and not just the part given by patreon_device_id
.
Images
Images are downloaded if they are part of campaign or post Info. This is not affected by content.media
setting which applies to the content itself. You can only skip these images by disabling campaign info (campaign.info = 0
) and post info (content.info = 0
).
Audio format
The audio formats I've encountered so far are mp3
, wav
and m4a
. All these are mainstream formats. Which format did you get that was not listenable?
from patreon-dl.
Hi,
Cookie issue
Did you get
PostDownloader: Post #<id> is not viewable by current user
warning for posts that you should have access to? If so, then your cookie is not working. Verify that you are setting thecookie
value to the full string copied from Developer Tools and not just the part given bypatreon_device_id
.Images
Images are downloaded if they are part of campaign or post Info. This is not affected by
content.media
setting which applies to the content itself. You can only skip these images by disabling campaign info (campaign.info = 0
) and post info (content.info = 0
).Audio format
The audio formats I've encountered so far are
mp3
,wav
andm4a
. All these are mainstream formats. Which format did you get that was not listenable?
Hi,
I'm having the same problem. I followed your guide on how to get the cookie, and copied the whole string, but it's not working.
This is the command line I entered:
patreon-dl https://www.patreon.com/DropoutsPod/posts -f F:\Documents\Programs\ffmpeg-6.1.1-full_build\bin\ffmpeg.exe -c patreon_device_id=REDACTED; patreon_location_country_code=GB; patreon_locale_code=en-GB; patreon_currency_pref=USD; a_csrf=REDACTED; __ssid=REDACTED; session_id=REDACTED; __cf_bm=REDACTED; analytics_session_id=REDACTED -o F:\Videos\DropoutsPodcast
The output I got was:
Error processing options: Unknown Command-Line Option '0'
See usage with '-h' option.
I also tried it exclusively with the analytics_session_id
, session_id
, and patreon_device_id
. None worked, I kept getting Post #<id> is not viewable by current user
. I managed to get PatreonDownloader by AlexCSDev to work with the session_id, but his downloader doesn't organize the downloads into post folders, so it's really messy.
I hope you can help me out.
Regards
from patreon-dl.
@TetsuyaMitsuru , use double-quotes for values with spaces.
patreon-dl -c "patreon_device_id=REDACTED; patreon_location_country_code=GB; patreon_locale_code=en-GB; patreon_currency_pref=USD; a_csrf=REDACTED; __ssid=REDACTED; session_id=REDACTED; __cf_bm=REDACTED; analytics_session_id=REDACTED" ...
from patreon-dl.
@TetsuyaMitsuru , use double-quotes for values with spaces.
patreon-dl -c "patreon_device_id=REDACTED; patreon_location_country_code=GB; patreon_locale_code=en-GB; patreon_currency_pref=USD; a_csrf=REDACTED; __ssid=REDACTED; session_id=REDACTED; __cf_bm=REDACTED; analytics_session_id=REDACTED" ...
It's working now. Thanks for the help!
from patreon-dl.
@TetsuyaMitsuru @patrickkfkan
Guys, thank you so much 🙏. Your dialogue helped me get the job done!
from patreon-dl.
Hi,
Cookie issue
Did you get
PostDownloader: Post #<id> is not viewable by current user
warning for posts that you should have access to? If so, then your cookie is not working. Verify that you are setting thecookie
value to the full string copied from Developer Tools and not just the part given bypatreon_device_id
.Images
Images are downloaded if they are part of campaign or post Info. This is not affected by
content.media
setting which applies to the content itself. You can only skip these images by disabling campaign info (campaign.info = 0
) and post info (content.info = 0
).Audio format
The audio formats I've encountered so far are
mp3
,wav
andm4a
. All these are mainstream formats. Which format did you get that was not listenable?
For whatever reason my output audio is coming out in 'mpga' format. Rather strange. I would imagine it would be/should be 'mp3'
from patreon-dl.
I have not come across 'mpga' in my tests, but it should still be playable?
from patreon-dl.
I have not come across 'mpga' in my tests, but it should still be playable?
While the mpga
format can indeed be played, it's not as straightforward compared to more ubiquitous formats like mp3
. This discrepancy in user experience, especially in terms of compatibility and playback smoothness, is notable. Interestingly, when downloading audio directly from Patreon, the provided format is mp3
, which is widely recognized and generally doesn't present playback issues. I've observed some choppiness in the 'mpga' files, which I need to further investigate.
from patreon-dl.
Possible to provide a link to such a post?
from patreon-dl.
Possible to provide a link to such a post?
Do you mean an overall link to all of the posts on a specific Patreon or do you mean a link to any of the mp3 links?
from patreon-dl.
A link to a post that gave MPGA file when downloaded with patreon-dl
, but MP3 when downloaded through the site.
from patreon-dl.
A link to a post that gave MPGA file when downloaded with
patreon-dl
, but MP3 when downloaded through the site.
I think that's where I am getting confused, is 'patreon-dl' just harvesting the links from the patreon page or is it converting the audio somehow like a video downloader would? I do not see that information when things are being downloaded. I might have to turn on the logs or something right? I will include some photos of the links as well as the links themselves.
So here is a link:
https://c10.patreonusercontent.com/4/patreon-media/p/post/97606257/1999625663cc4d2b8776137bd154fd4f/eyJhIjoxLCJpc19hdWRpbyI6MSwicCI6MX0%3D/1.mp3?token-time=1706918400&token-hash=7pwha7xHAzkdTrZpGEx_9zTzWvikly7z1YtpAX_7FLY%3D
from patreon-dl.
OK, I am able to reproduce this. It turns out the correct download link was used - in this example the downloaded file has MIME type
audio/mpeg
, which should produce a file with.mp3
extension. However, the Node module whichpatreon-dl
uses to determine extension from MIME type gives.mpga
foraudio/mpeg
. Hence you getabcde.mpga
instead ofabcde.mp3
, but the data is actually MP3.I will patch this, but for now you can rename the
.mpga
files to.mp3
.
Oh that makes so much sense, I will put python to work! lol Thank you so much Patrick!
from patreon-dl.
Related Issues (10)
- Update Brew HOT 3
- Not an issue HOT 14
- Campaign ID not found in initial data HOT 4
- Script hangs if post title starts with an emoji HOT 4
- PostDownloader: Post #93397294 is not viewable by current user HOT 2
- Is it possible not downloading certain media types HOT 3
- Filtering download HOT 6
- Filtering Tier HOT 1
- Json files HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from patreon-dl.