[Site enhancement] Weibo curiosity, site improvement
Weibo has quite stringent censorship, especially with NSFW materials. They often delete them. What i've noticed is that while it appears deleted on the front end, its often not simultaneously deleted on the rear end.
What i mean by that is that while the thumbnails and the main domain original images are replaced by default error images, the other domains do infrequently still host the original images, but most often are disappointments only if i'm too late.
Using gallery-dl to get those deleted photos is a hit or miss, even when repeated again right on the spot, which is pretty strange considering how it can miss when it already hit, or hit when it missed.
Anyway what i found out today was that
https://weibo.com/ajax/common/download?pid=<pid>
pid where is the string of alphanumeric between /large/ and the extension.
Is able to somehow download images that are quite cleaned from the frontend, but seemingly not yet. They don't work on older deleted images, but works on recently deleted images.
Is it possible to implement a step where if file is deleted, it tries this link first? maybe it will work better?
To use that link, you need to somehow first "login" or have some referer/cookie to it before it will work. This is out of my ability to understand, but hopefully it helps you.