Compare commits

...

4 Commits

Author SHA1 Message Date
lolcat 573a11a708 fucking piece of shit 2024-03-29 05:16:26 -04:00
lolcat 0f39d9c187 error handling for invalid pagetype 2024-03-29 05:15:53 -04:00
lolcat ba7ed59dc5 i hate firefox devtools sometimes 2024-03-29 05:02:52 -04:00
lolcat d9fcab402b fix google thumbnails 2024-03-29 04:59:41 -04:00
2 changed files with 13 additions and 8 deletions

View File

@ -1020,7 +1020,15 @@ class google{
self::is_class
),
"div"
)[1];
);
if(!isset($description[1])){
throw new Exception("Google returned an unsupported page format (will fix)");
}else{
$description = $description[1];
}
// get date (rare)
$date =

View File

@ -544,10 +544,7 @@ h3,h4,h5,h6{
width:160px;
height:90px;
background:var(--282828);
text-align:center;
line-height:87px;
border:1px solid var(--504945);
overflow:hidden;
margin-left:7px;
}
@ -569,10 +566,10 @@ h3,h4,h5,h6{
}
.thumb-wrap .thumb{
max-width:100%;
max-height:100%;
text-align:left;
vertical-align:middle;
display:block;
object-fit:contain;
width:100%;
height:100%;
}
.thumb-wrap.portrait{