mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-11 12:00:45 +01:00
Web: Need to download even more Javascript from Youtube
This commit is contained in:
parent
03c638705f
commit
c8030be71a
@ -154,7 +154,7 @@ class Web(callbacks.PluginRegexp):
|
|||||||
if parsed_url.netloc == 'youtube.com' \
|
if parsed_url.netloc == 'youtube.com' \
|
||||||
or parsed_url.netloc.endswith(('.youtube.com')):
|
or parsed_url.netloc.endswith(('.youtube.com')):
|
||||||
# there is a lot of Javascript before the <title>
|
# 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'):
|
if parsed_url.netloc in ('reddit.com', 'www.reddit.com', 'new.reddit.com'):
|
||||||
# Since 2022-03, New Reddit has 'Reddit - Dive into anything' as
|
# Since 2022-03, New Reddit has 'Reddit - Dive into anything' as
|
||||||
# <title> on every page.
|
# <title> on every page.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user