Skip to content

Some requests use the default "got" user-agent string instead of Summaly #153

@jprjr

Description

@jprjr

Hi there - it looks like Summaly only sets the bot user-agent in one place in the code -https://github.com/syuilo/summaly/blob/b994e67281abc3faae53c888a232c84a4ea1a01d/src/utils/got.ts#L13C23-L13C31

This causes other requests to go out with the Got user-agent string and leads to confusion. For example, this one person believes the author of Got is the author of Summaly - https://www.hacker-idioten.com/login-idioten/willkommen-ihr-login-idioten

I would suggest adding the BOT_UA header here and here so that they all show as Summaly in web logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions