mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 23:54:07 +01:00
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:
parent
9d93bc6991
commit
cdfae05df3
@ -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.""")))
|
||||
|
Loading…
Reference in New Issue
Block a user