feat: mark unsafe for R-18 posts on Pixiv
parent
51be6dfdcd
commit
86de824406
|
|
@ -69,6 +69,9 @@ export default class Pixiv extends ScrapeEngineBase {
|
|||
post.contentUrl = upgradeUrlToOriginalQuality(imgLink);
|
||||
post.contentType = guessContentType(post.contentUrl);
|
||||
post.referrer = document.location.origin;
|
||||
if (document.querySelector('a[href="/tags/R-18/artworks"]')) {
|
||||
post.rating = "unsafe";
|
||||
}
|
||||
result.tryAddPost(post);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue