Skip to content

Commit

Permalink
Added support for imagebam and pixhost full embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyCloudDev authored Jun 16, 2024
1 parent 5951c4d commit 655f34e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dist/build.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// @author SkyCloudDev
// @author namechangeidiot
// @description Downloads images and videos from posts
// @version 2.9.0
// @version 2.9.1
// @updateURL https://github.com/SkyCloudDev/ForumPostDownloader/raw/main/dist/build.user.js
// @downloadURL https://github.com/SkyCloudDev/ForumPostDownloader/raw/main/dist/build.user.js
// @icon https://simp4.host.church/simpcityIcon192.png
Expand Down Expand Up @@ -1420,8 +1420,9 @@ const hosts = [
['pomf2.lain.la:File', [/pomf2.lain.la/]],
['nitter:image', [/nitter\.(.{1,20})\/pic/]],
['twitter.com:image', [/([~an@.]+)?twimg.com\//]],
['pixhost.to:image', [/t(\d+)?\.pixhost.to\//, /pixhost.to\/gallery\//]],
['pixhost.to:image', [/(t|img)(\d+)?\.pixhost.to\//, /pixhost.to\/gallery\//]],
['imagebam.com:image', [/imagebam.com\/(view|gallery)/]],
['imagebam.com:full embed', [/images\d.imagebam.com/]],
['saint2.su:video', [/(saint2.su\/embed\/|([~an@]+\.)?saint2.su\/videos)/]],
['redgifs.com:video', [/!!redgifs.com(\/|\\\/)ifr.*?(?="|")/]],
['bunkr:',
Expand Down Expand Up @@ -1739,7 +1740,7 @@ const resolvers = [
};
},
],
[[/t(\d+)?\.pixhost.to\//, /:!pixhost.to\/gallery\//], url => url.replace(/t(\d+)\./gi, 'img$1.').replace(/thumbs\//i, 'images/')],
[[/(t|img)(\d+)?\.pixhost.to\//, /:!pixhost.to\/gallery\//], url => url.replace(/\/t(\d+)\./gi, 'img$1.').replace(/thumbs\//i, 'images/')],
[
[/pixhost.to\/gallery\//],
async (url, http) => {
Expand Down Expand Up @@ -2510,6 +2511,7 @@ const resolvers = [
}
},
],
[[/images\d.imagebam.com/], url => url],
[[/imgvb.com\/images\//, /:!imgvb.com\/album\//], url => url.replace('.th.', '.').replace('.md.', '.')],
[
[/imgvb.com\/album\//],
Expand Down

0 comments on commit 655f34e

Please sign in to comment.