@Alixiron If you want to get your images unwatermarked you can do this with one simple trick
Extract your Skeb creds
- Open any Skeb.jp page
- Ensure you're logged in
- Open dev tools in your browser, for example by clicking F12 in Chrome or Firefox
- From local storage copy the value of token property, example
- From cookies copy the value of request_key cookie, example
Get the unwatermarked image
In order to do it automatically you will need a help of your system to call Skeb API.
Here is a curl query template which gets the response with the unwatermarked image URL
curl https://skeb.jp/api/users/<skeb_artist_name>/works/<commission_number> -H 'Authorization: Bearer <your_extracted_token>' -H 'Cookie: request_key=<your_extracted_request_key>' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36'
Notice that the URL after curl keyword is not an URL to the web page, it points to API. For example https://skeb.jp/@usumeshirouchan/works/65 (webpage) becomes https://skeb.jp/api/users/usumeshirouchan/works/65 (API call).
User-Agent part is a random, but valid source of the request, it's necessary to represent yourself as a web browser.
After all is said and done a real query can look like this:
Show
curl https://skeb.jp/api/users/usumeshirouchan/works/65 -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJkYXRhIjp...' -H 'Cookie: request_key=fb58e6fc:aed...' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36'
Use system console
Here are useful one-line scripts in Powershell (built natively in Windows)
Get unwatermarked image URL
curl https://skeb.jp/api/users/<skeb_artist_name>/works/<commission_number> -H 'Authorization: Bearer <your_extracted_token>' -H 'Cookie: request_key=<your_extracted_request_key>' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36' | ConvertFrom-Json -AsHashtable | Select-Object -ExpandProperty 'article_image_url'
Copy paste the link in output and download it from your browser.
For Linux I guess you can Bash and replace the pipeline | ConvertFrom-Json -AsHashtable | Select-Object -ExpandProperty 'article_image_url'
with | jq -r '.article_image_url'
but I didn't test it myself.
Download unwatermarked image
curl (curl https://skeb.jp/api/users/<skeb_artist_name>/works/<commission_number> -H 'Authorization: Bearer <your_extracted_token>' -H 'Cookie: request_key=<your_extracted_request_key>' -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36' | ConvertFrom-Json -AsHashtable | Select-Object -ExpandProperty 'article_image_url') -o "<output_path>"
output_path is a target path to the file in your system, for example "C:/Test/output.jpg", the image will be saved as such.
My local results
Use Postman
Alternatively to system console you can download Postman program and use it to call the API.
Open a new tab, paste the API url, fill the headers with creds, click Send button and that's it. Example
CTRL + click the link and it opens in your browser.
Upload the file to Danbooru
- Copy paste the webpage link as a source
- Copy paste the commentary
- Tag meticulously
- Don't forget about skeb commission!
- Post it
- Make the world a better place
Remarks
It's enough to configure it once, after that you only need to replace an artist name & a work number and press Enter.
As always only the first image in a Skeb collection is free of the sample watermark.
Freshly uploaded Murasame-chan