if you parse a youtube rss feed using
const feed = htmlparser2.parseFeed(response.data, {xmlMode:true});
the returned feed object omits a lot of the data. Using the Linus Tech Tips channel as an example:
https://www.youtube.com/feeds/videos.xml?channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw
you can recreate this by pasting that url in the browser (or console.log(res)) and then comparing that to whats returned by the feed.
I couldn't find detailed docs on parseFeed so sorry if I'm just missing some options.
the readme mentioned using node-feedparser as it is better maintained but there has been not commits for over a year, so I didnt try it.
Hi @whathappenedman, I'm super happy accept patches that add missing entry aliases. Have a look at the domutils
module for the code of the feed parser.
Owner Name | fb55 |
Repo Name | htmlparser2 |
Full Name | fb55/htmlparser2 |
Language | TypeScript |
Created Date | 2011-08-27 |
Updated Date | 2023-03-19 |
Star Count | 3793 |
Watcher Count | 50 |
Fork Count | 370 |
Issue Count | 4 |
Issue Title | Created Date | Updated Date |
---|