You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But if I try to parse it with parseFeedSource, it produces an XMLFeed. Which, I assume, is a generic placeholder for everything that wasn're recognized as Atom or RSS:
ghci> :module + Control.Lens Network.Wreq Text.Feed.Types Data.XML.Types
ghci> f <- Network.Wreq.get "https://www.youtube.com/feeds/videos.xml?channel_id=UCL1rJ0ROIw9V1qFeIN0ZTZQ"
ghci> Just f' = parseFeedSource $ f ^. responseBody
ghci> XMLFeed f'' = f'
ghci> elementName f''
Name {nameLocalName = "feed", nameNamespace = Just "http://www.w3.org/2005/Atom", namePrefix = Nothing}
Am I correct to assume this is a bug? If so, can you give me any pointers on where to start fixing it?
Ivan
The text was updated successfully, but these errors were encountered:
Each channel on Youtube has an Atom feed. Or what seems to be a valid Atom feed — I'm not an expert.
For example:
But if I try to parse it with
parseFeedSource
, it produces anXMLFeed
. Which, I assume, is a generic placeholder for everything that wasn're recognized as Atom or RSS:Am I correct to assume this is a bug? If so, can you give me any pointers on where to start fixing it?
Ivan
The text was updated successfully, but these errors were encountered: