danmactough / node-feedparser

Robust RSS, Atom, and RDF feed parsing in Node.js
Other
1.97k stars 192 forks source link

TypeError: Cannot call method 'replace' of null #177

Closed dvdgrdll closed 7 years ago

dvdgrdll commented 7 years ago

I'm getting this error when trying to parse YouTube RSS, like this one: https://www.youtube.com/feeds/videos.xml?channel_id=UCi8e0iOVk1fEOogdfu4YgfA

Impossible to track where it is coming from.

danmactough commented 7 years ago

@dvdgrdll This kind of error could be caused by not decompressing a compressed request response. See this example.

Please be sure to include the full error and stack trace and your code if you need more help.