aboutsummaryrefslogtreecommitdiffstats
path: root/scraper/mojeek.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2024-11-06 23:43:54 -0500
committerlolcat <will@lolcat.ca>2024-11-06 23:43:54 -0500
commit68dd7f29f61122af70dc678c490c7482eced59cd (patch)
tree0026dc63bef32a4e1c885af24e6d112e05db8959 /scraper/mojeek.php
parentaaa30c79f5a0f971ec60b6829eaddb02d0724304 (diff)
mojeek thumbnail fix
Diffstat (limited to 'scraper/mojeek.php')
-rw-r--r--scraper/mojeek.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/scraper/mojeek.php b/scraper/mojeek.php
index 934e455..b2d6ed5 100644
--- a/scraper/mojeek.php
+++ b/scraper/mojeek.php
@@ -701,9 +701,11 @@ class mojeek{
if(count($thumb) === 2){
$answer["thumb"] =
- $this->fuckhtml
- ->getTextContent(
- $thumb[1]
+ urldecode(
+ $this->fuckhtml
+ ->getTextContent(
+ $thumb[1]
+ )
);
}
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage