Web: Need to download even more Javascript from Youtube

This commit is contained in:
Valentin Lorentz 2024-04-18 19:33:55 +02:00
parent 03c638705f
commit c8030be71a
1 changed files with 1 additions and 1 deletions

View File

@ -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 = max(409600, size)
size = max(819200, 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.