mirror of
https://github.com/Limnoria/Limnoria-doc.git
synced 2025-04-05 14:59:49 +00:00
Update references to the default peekSize
This commit is contained in:
@ -297,15 +297,16 @@ Why doesn't the title snarfer announce links from a particular website (eg. Yout
|
|||||||
=====================================================================================
|
=====================================================================================
|
||||||
|
|
||||||
Limnoria needs to fetch pages to get their title. But in order to avoid being
|
Limnoria needs to fetch pages to get their title. But in order to avoid being
|
||||||
overloaded by users, it only fetches the beginning (the first 8kB if I recall
|
overloaded by users, it only fetches the beginning (16kB as of 2024-07-27, 8kB for
|
||||||
correctly). That's enough to find the title of most pages, but in the last years
|
bots created before Limnoria v2022.10.28).
|
||||||
Youtube has become so bloated it isn't.
|
That's enough to find the title of most pages, but in the last years Youtube
|
||||||
|
has become so bloated it isn't.
|
||||||
|
|
||||||
If you are ok with Limnoria fetching more data when users post URLs, you can use::
|
If you are ok with Limnoria fetching more data when users post URLs, you can use::
|
||||||
|
|
||||||
config supybot.protocols.http.peekSize 1000000
|
config supybot.protocols.http.peekSize 1000000
|
||||||
|
|
||||||
This will make it fetch 1MB from every link, instead of the default 8kB.
|
This will make it fetch 1MB from every link, instead of the default 16kB.
|
||||||
This should be enough for Youtube for now. If not enough for other websites,
|
This should be enough for Youtube for now. If not enough for other websites,
|
||||||
try increasing it further.
|
try increasing it further.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user