mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Web: Allow configuring higher peekSize on Youtube
This commit is contained in:
parent
009b900100
commit
2cfc821203
@ -154,7 +154,7 @@ class Web(callbacks.PluginRegexp):
|
||||
if parsed_url.netloc == 'youtube.com' \
|
||||
or parsed_url.netloc.endswith(('.youtube.com')):
|
||||
# there is a lot of Javascript before the <title>
|
||||
size = 409600
|
||||
size = max(409600, size)
|
||||
if parsed_url.netloc in ('reddit.com', 'www.reddit.com', 'new.reddit.com'):
|
||||
# Since 2022-03, New Reddit has 'Reddit - Dive into anything' as
|
||||
# <title> on every page.
|
||||
|
Loading…
Reference in New Issue
Block a user