Skip to content

Commit

Permalink
Web: Need to download even more Javascript from Youtube
Browse files Browse the repository at this point in the history
  • Loading branch information
progval committed Apr 18, 2024
1 parent 03c6387 commit c8030be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Web/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def getTitle(self, irc, url, raiseErrors, msg):
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.
Expand Down

0 comments on commit c8030be

Please sign in to comment.