Open the console and put this which should return the numeric value to use with sites that archive patron such as kemono (tld/domain changes semi-frequently):
for non /cw/ patreon accounts you can use:
__NEXT_DATA__.props.pageProps.bootstrapEnvelope.pageBootstrap.campaign.data.relationships.creator.data.id
but with /cw/ patreon accounts you have to parse the script tags to get the value since the nextjs architecture is changed away from __NEXT_DATA__ to using self.__next_f.push where the .push function on the self.__next_f is overwritten and doesn't store any of the data in the window for us to get easily.
(function extractUserIdFromDOM() {
let userId = null;
// 1. Grab every script tag currently on the page
const scripts = document.querySelectorAll('script');
for (const script of scripts) {
const text = script.textContent;
// 2. Filter only the ones pushing data to Next.js
if (!text || !text.includes('__next_f.push')) continue;
// 3. The data inside the script tag is heavily escaped (e.g., \"creator\").
// We replace the escaped quotes so it reads like standard JSON.
const cleanText = text.replace(/\\"/g, '"');
// 4. Search for your specific pattern
const match = cleanText.match(/"creator"\s*:\s*\{\s*"data"\s*:\s*\{\s*"id"\s*:\s*"?([^,"\}]+)"?/);
if (match && match[1]) {
userId = match[1];
break; // Stop searching once we have a hit
}
}
if (userId) {
console.log("✅ Found User ID:", userId);
return userId;
} else {
console.log("❌ User ID not found in the script tags.");
return null;
}
})();
Example pages and their respective ids:
https://www.patreon.com/c/anders_432/about 171472826
https://www.patreon.com/sleepdeprivedaxolotl/about 70542178