conf.py: raise protocols.http.peeksize to 8192

YouTube has recently updated its site design again so the <title> element falls right out of the 4K mark. This commit raises the default peeksize to 8K, which allows title snarfing to work with YouTube links again.
This commit is contained in:
James Lu 2015-06-20 14:11:09 -07:00
parent 9d93bc6991
commit cdfae05df3

View File

@ -1125,7 +1125,7 @@ registerGlobalValue(supybot.protocols.irc.queuing.rateLimit, 'join',
###
registerGroup(supybot.protocols, 'http')
registerGlobalValue(supybot.protocols.http, 'peekSize',
registry.PositiveInteger(4096, _("""Determines how many bytes the bot will
registry.PositiveInteger(8192, _("""Determines how many bytes the bot will
'peek' at when looking through a URL for a doctype or title or something
similar. It'll give up after it reads this many bytes, even if it hasn't
found what it was looking for.""")))