Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Commit f95eb1b

Browse files
committed
update readme
1 parent 1ef848e commit f95eb1b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

PatreonDownloader/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ private static void Main(string[] args) {
109109
private static void DownloadMedia(HttpClient client, CookieContainer cookies, IEnumerable<PostPageData> posts, IDictionary<string, List<PostPageIncluded>> inclusions) {
110110
LinkDownloader[] downloaders = new[] {
111111
new DropboxDownloader()
112-
// Add more downloaders here
113112
};
114113

115114
int postI = 1;

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ Go [here](https://github.com/Foxite/PatreonDownloader/releases) to download a bu
99
The program needs two pieces of information:
1010

1111
- The link to the /api/posts page for the creator you want to download the content of. This tells the program where to look for posts.
12-
- Your session token. This allows the program to download everything you have access to.
12+
- Your session token. This allows the program to download everything you have access to. The program can automatically extract this cookie from supported browsers, or you may enter it yourself.
1313

1414
**Do not take this lightly.** Your session token can be used to gain full access to your account. As such, I encourage healthy paranoia when using this program, which is why the full source code is available.
1515

1616
To actually get the information:
1717

18-
- Go to patreon.com and visit the posts page of the creator. Using your browser's developer tools (press F12 in most browsers), open the network inspector, and refresh the page. You will see it loading several dozen pages. Find the one that starts with "posts?". The question mark is important. Depending on your browser, it may also start with "/api/posts?". The full page address + query will be quite long. This is the string we need first.
19-
- Also on patreon.com, on any page, get the value of the cookie named "session_id". This differs per browser, but for Chromium-based browsers it can be done by clicking on the HTTPS icon next to the page address. On Firefox, you need to view the Storage inspector in your F12 menu.
18+
- Link to /api/posts: Go to patreon.com and visit the posts page of the creator. Using your browser's developer tools (press F12 in most browsers), open the network inspector, and refresh the page. You will see it loading several dozen pages. Find the one that starts with "posts?". The question mark is important. Depending on your browser, it may also start with "/api/posts?". The full page address + query will be quite long. This is the string we need first.
19+
- Session token, if you opt to enter it yourself: Also on patreon.com, on any page, get the value of the cookie named "session_id". This differs per browser, but for Chromium-based browsers it can be done by clicking on the HTTPS icon next to the page address. On Firefox, you need to view the Storage inspector in your F12 menu.
2020

2121
Once you have the information you can start the program, and give it the information.
2222

@@ -30,4 +30,6 @@ The program will also attempt to extract links from posts, and if possible, down
3030
## Contributing
3131
Please stick to existing code conventions when contributing.
3232

33-
To add support for additional external hosting sites, feel free to look at [LinkDownloader.cs](https://github.com/Foxite/PatreonDownloader/blob/master/PatreonDownloader/LinkScraping/LinkDownloader.cs) and [DropboxDownloader.cs](https://github.com/Foxite/PatreonDownloader/blob/master/PatreonDownloader/LinkScraping/DropboxDownloader.cs) to see how it works. When you have a working downloader, add it [here](https://github.com/Foxite/PatreonDownloader/blob/master/PatreonDownloader/Program.cs#L82).
33+
To add support for additional external hosting sites, look in [LinkScraping](https://github.com/Foxite/PatreonDownloader/blob/master/PatreonDownloader/LinkScraping/) to see how it works. When you have a working downloader, add it [here](https://github.com/Foxite/PatreonDownloader/blob/master/PatreonDownloader/Program.cs#L110).
34+
35+
To add support for additional browsers to extract cookies from, look in [CookieExtraction](https://github.com/Foxite/PatreonDownloader/tree/master/PatreonDownloader/CookieExtraction) to see how it works. When you have a working extractor, add it [here](https://github.com/Foxite/PatreonDownloader/blob/master/PatreonDownloader/Program.cs#L20).

0 commit comments

Comments
 (0)