slurdge / goeland

An alternative to rss2email written in golang with many filters
MIT License
170 stars 11 forks source link

Custom User agent #184

Closed djm1 closed 9 months ago

djm1 commented 9 months ago

Is your feature request related to a problem? Please describe. Some webpages are sending HTTP 403 for goeland, but when I will use standard web browser, the RSS feed is available. I would assume that the webpages are checking User Agent.

Describe the solution you'd like Add configuration option, per source, for configuring User Agent (like goeand will act as Firefox, or custom configurable string).

Describe alternatives you've considered I'm not aware about more effective option now.

Additional context Not required. Thank you

slurdge commented 9 months ago

Great idea. I'll implement this. In the meantime, do you have a RSS feed that has this behavior ?

djm1 commented 9 months ago

Thank you, that would be great :-)Please get it implemented per source.Example RSS feed: https://www.reddit.com/r/rss/.rssIf the URL is accessed via standard browser, the HTTP 200 is received. If the URL is accessed via goeland or non standard browser, HTTP 403 is received.I'm not sure if user agent is the only one parameter which is checked by target page.Please let me know if more details or information are required.Thank you--S pozdravomMiroslav @. -------- Original message --------From: slurdge @.> Date: 12/17/23 16:19 (GMT+01:00) To: slurdge/goeland @.> Cc: djm1 @.>, Author @.***> Subject: Re: [slurdge/goeland] Custom User agent (Issue #184) Great idea. I'll implement this. In the meantime, do you have a RSS feed that has this behavior ?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

slurdge commented 9 months ago

Fixed in 0.17.0

djm1 commented 9 months ago

Thank you for the quick reply and implementation :-)

On Sun, Dec 17, 2023 at 6:38 PM slurdge @.***> wrote:

Closed #184 https://github.com/slurdge/goeland/issues/184 as completed.

— Reply to this email directly, view it on GitHub https://github.com/slurdge/goeland/issues/184#event-11268986413, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKD6AZ5CNHI6FYNEJSB5GLYJ4UX3AVCNFSM6AAAAABAVKWRDOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGI3DQOJYGY2DCMY . You are receiving this because you authored the thread.Message ID: @.***>

--

S pozdravom Miroslav Vrabel @.***