programming-dot-dev / rss-bot

A lemmy/sublinks bot that watches rss feeds and posts new posts from them in communities
GNU Affero General Public License v3.0
31 stars 8 forks source link

Support for using cookies? #2

Open IceGazer opened 1 year ago

IceGazer commented 1 year ago

There is a feed I am wanting to access at https://pso2.com/players/pso2news.xml that requires that you go through a rather over-zealous age gate process first before you are able to access it. The age gate sets a few cookies to confirm that you have gone through it then serves the feed to you if the cookies exist. I had a look through the configuration files but I cannot see a way to provide cookies for a feed?

Ategon commented 1 year ago

I can look into how difficult this would be to add in. The rss parsing library im using doesnt have cookie support so may not be possible without moving off of it + theres some updates I need to get done to my other bots first. Pretty bad that they block rss feeds behind an age gate

If someone else wants to look at it though before im able to feel free to make a pull request if you get it functioning