Alexey

Results 51 comments of Alexey

Hi, can you provide an example of the feed you need to parse? That'd make it much easier for me to help and to make better docs

The current feed lacks links, as the result it fails, to fix this & make links optional, we need to create a custom schema, here's the example ```python from typing...

> Ok I finally gave this a try. However this doesn't work and breaks the model that rss_parser is supposed to provide. > > Instead of having a list of...

May be I'm missing something, but this is the script, running on v2.1.0 (master) ```python from typing import Optional from rss_parser import RSSParser from rss_parser.models.rss import RSS from rss_parser.models.rss.channel import...

> Hmm, I went over the code again and I admittedly had a mistake. > > What I have now, using a raw string of the rss feed: > >...

> If I now try to traverse the `rss_feed.channel.items` I get a: `TypeError: 'FieldInfo' object is not iterable` Did you use the code i provided?

> Yes, when trying to enumerate it says: `TypeError: 'FieldInfo' object is not iterable` If you directly copied the code and got this error - please give more info on...

If you modified the code in any way - dump it here also, or cut it out to a repro piece of code, without all that info im not sure...

Oh, mixing v1 with v2, yeah. Should show somewhere or add guardrails to use v1 when customizing. It's going to be an issue since the project allows for pydantic v2...

> Sorry it took a while to get back to the project. > > Functionally this seems to work as expected and I can finally proceed to use it. >...