diff --git a/plugins/Web/plugin.py b/plugins/Web/plugin.py index 76a8b04e1..c56da8535 100644 --- a/plugins/Web/plugin.py +++ b/plugins/Web/plugin.py @@ -151,7 +151,7 @@ class Web(callbacks.PluginRegexp): size = conf.supybot.protocols.http.peekSize() parsed_url = utils.web.urlparse(url) - if parsed_url.netloc == 'youtube.com' \ + if parsed_url.netloc in ('youtube.com', 'youtu.be') \ or parsed_url.netloc.endswith(('.youtube.com')): # there is a lot of Javascript before the size = max(819200, size)