Skip to content

Commit

Permalink
sources: fix allowed modifiers on Shimmie and R34.us (fix #3048)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Oct 18, 2023
1 parent 0f3b925 commit f3573d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sites/Rule34.us Gelbooru/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function completeImage(img: IImage): IImage {

export const source: ISource = {
name: "Modified Gelbooru (0.1)",
modifiers: ["rating:safe", "rating:questionable", "rating:explicit", "user:", "fav:", "fastfav:", "md5:", "source:", "id:", "width:", "height:", "score:", "mpixels:", "filesize:", "date:", "gentags:", "arttags:", "chartags:", "copytags:", "approver:", "parent:", "sub:", "order:id", "order:id_desc", "order:score", "order:score_asc", "order:mpixels", "order:mpixels_asc", "order:filesize", "order:landscape", "order:portrait", "order:favcount", "order:rank", "parent:none", "unlocked:rating"],
modifiers: ["rating:safe", "rating:questionable", "rating:explicit", "user:", "fav:", "fastfav:", "md5:", "source:", "id:", "width:", "height:", "score:", "mpixels:", "filesize:", "date:", "gentags:", "arttags:", "chartags:", "copytags:", "approver:", "parent:", "sub:", "order:id", "order:id_desc", "order:score", "order:score_asc", "order:mpixels", "order:mpixels_asc", "order:filesize", "order:landscape", "order:portrait", "order:favcount", "order:rank", "parent:none", "unlocked:rating", "sort:score"],
tagFormat: {
case: "lower",
wordSeparator: "_",
Expand Down
2 changes: 1 addition & 1 deletion src/sites/Shimmie/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function parseDetails(src: string): IParsedDetails {

export const source: ISource = {
name: "Shimmie",
modifiers: [],
modifiers: ["score:", "date:", "order:score", "order:score_asc", "order:score_desc", "downvote:", "upvote:"],
forcedTokens: ["filename", "date"],
tagFormat: {
case: "lower",
Expand Down

0 comments on commit f3573d1

Please sign in to comment.