Reeywhaar / want-my-rss

RSS features for Firefox
Other
109 stars 10 forks source link

YouTube: no feed offered even though the page provides a link #41

Closed iw0nderhow closed 2 years ago

iw0nderhow commented 3 years ago

YouTube provides the <link rel="alternate" type="rss+xml" href="..." /> in the body of the document, not in the head. The add-on only searches the head:

https://github.com/Reeywhaar/want-my-rss/blob/4d6dd24a2e3d9802f1bb00f6a1dd02af0c5d78ff/ts/page.ts#L4

I assume searching the whole document instead of the document.head may work around this.