synzen / MonitoRSS

MonitoRSS RSS bot (formerly known as Discord.RSS) with customizable feeds. https://monitorss.xyz
https://monitorss.xyz
MIT License
1.05k stars 237 forks source link

Changing User Agent for individual feed #329

Open ibnu-ja opened 1 year ago

ibnu-ja commented 1 year ago

Is your feature request related to a problem? Please describe. Currently, the MonitoRSS Discord RSS bot has a feature where the user can change the user agent for all feeds in the config file. However, there is no way to change the user agent for a specific feed without affecting all the other feeds. This can be a problem for users who want to have different user agents for different feeds.

Describe the solution you'd like I would like to request a feature that allows the user to change the user agent for individual feeds in the MonitoRSS bot. This feature should be implemented in a way that does not affect the user agents of other feeds in the config file.

Additional context Having the ability to change the user agent for individual feeds would provide greater flexibility for users who require different user agents for specific feeds. This would make the MonitoRSS bot more customizable and user-friendly.

synzen commented 11 months ago

Apologies for the delay,

I understand the value of this, but unfortunately I cannot provide a timeline on when this will be implemented since there is some complexity here with how requests are optimized

I'll leave this issue open until it is available

synzen commented 6 months ago

Coming back to this, I'm considering implementing this, but I actually don't understand a solid use case for configuring user agent. Can you provide more concrete details, with an example feed for example, on how configuring user agent would help achieve a desired behavior?

ibnu-ja commented 6 months ago

Danbooru use user agent to identify request. It will block the bot when using default user agent[1][2][3]

Honestly I don't know about other website that blocks a certain user agent to prevent spamming, but I believe Danbooru is not the only one.