Skip to content

Commit

Permalink
Update posterlounge rule
Browse files Browse the repository at this point in the history
  • Loading branch information
qsniyg committed Feb 28, 2024
1 parent c5039e8 commit 1f9a0d4
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Improvements:

* Various improvements/fixes to existing rules (including SmugMug)

Special thanks to f2005, VS, Froktime, Viper33, barry for their contributions and reports for this release
Special thanks to f2005, VS, Froktime, Viper33, barry, snek for their contributions and reports for this release

---

Expand Down
12 changes: 11 additions & 1 deletion src/userscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111503,7 +111503,17 @@ var $$IMU_EXPORT$$;
// https://media.posterlounge.com/img/products/710000/703337/703337_poster_m.jpg
// https://media.posterlounge.com/img/products/710000/703337/703337_poster_l.jpg
// https://media.posterlounge.com/img/products/710000/703337/703337_poster.jpg
return src.replace(/(\/img\/+products\/+[0-9]+\/+[0-9]+\/+[0-9]+_poster)(?:_[ml])\./, "$1.");
// https://media.posterlounge.com/img/products/710000/707752/707752_poster_room_movies_m.jpg
// https://media.posterlounge.com/img/products/710000/707752/707752_poster_room_movies.jpg
// https://media.posterlounge.com/img/products/710000/707752/707752_poster_pds_m.jpg
// https://media.posterlounge.com/img/products/710000/707752/707752_poster_pds.jpg
// thanks to snek on discord:
// https://www.posterlounge.pt/p/707752.html#paid=19198
// https://media.posterlounge.com/img/products/710000/707752/707752_poster.jpg
// https://media.posterlounge.com/img/products/710000/707752/707752.jpg
return src
.replace(/(\/img\/+products\/+[0-9]+\/+[0-9]+\/+[0-9]+)_poster\./, "$1.")
.replace(/(\/img\/+products\/+[0-9]+\/+[0-9]+\/+[0-9]+_poster(?:_(?:room_movies|pds))?)(?:_[ml])\./, "$1.");
}

if (domain_nowww === "fapopedia.net") {
Expand Down
12 changes: 11 additions & 1 deletion userscript.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -100107,7 +100107,17 @@ var $$IMU_EXPORT$$;
// https://media.posterlounge.com/img/products/710000/703337/703337_poster_m.jpg
// https://media.posterlounge.com/img/products/710000/703337/703337_poster_l.jpg
// https://media.posterlounge.com/img/products/710000/703337/703337_poster.jpg
return src.replace(/(\/img\/+products\/+[0-9]+\/+[0-9]+\/+[0-9]+_poster)(?:_[ml])\./, "$1.");
// https://media.posterlounge.com/img/products/710000/707752/707752_poster_room_movies_m.jpg
// https://media.posterlounge.com/img/products/710000/707752/707752_poster_room_movies.jpg
// https://media.posterlounge.com/img/products/710000/707752/707752_poster_pds_m.jpg
// https://media.posterlounge.com/img/products/710000/707752/707752_poster_pds.jpg
// thanks to snek on discord:
// https://www.posterlounge.pt/p/707752.html#paid=19198
// https://media.posterlounge.com/img/products/710000/707752/707752_poster.jpg
// https://media.posterlounge.com/img/products/710000/707752/707752.jpg
return src
.replace(/(\/img\/+products\/+[0-9]+\/+[0-9]+\/+[0-9]+)_poster\./, "$1.")
.replace(/(\/img\/+products\/+[0-9]+\/+[0-9]+\/+[0-9]+_poster(?:_(?:room_movies|pds))?)(?:_[ml])\./, "$1.");
}
if (domain_nowww === "fapopedia.net") {
// thanks to vscum on github: https://github.com/qsniyg/maxurl/issues/1252
Expand Down

0 comments on commit 1f9a0d4

Please sign in to comment.