Skip to content

Commit

Permalink
✨ add youtube support
Browse files Browse the repository at this point in the history
  • Loading branch information
idealclover committed Dec 17, 2018
1 parent 8e13014 commit 3665e22
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Example website: http://news.cctv.com/tech/index.shtml
* 微信公众号(瓦斯方式):完全支持
* Instagram:完全支持
* twitter:完全支持
* Youtube: 完全支持

## How to Use

Expand Down Expand Up @@ -78,6 +79,7 @@ Example website: http://news.cctv.com/tech/index.shtml
* 微信公众号(瓦斯方式):[公众号](https://wx.qnmlgb.tech/authors/5b575ec958e5c4583338dff7)
* Instagram: [用户动态](https://www.instagram.com/snatti89/)
* Twitter: [用户动态](https://twitter.com/idealclover)
* Youtube: [用户动态](https://www.youtube.com/user/crashcourse) [频道动态](https://www.youtube.com/channel/UCX6b17PVsYBQ0ip5gyeme-Q)

**此外**,还有这样一些良心的网站自己提供了RSS,也可以尝试~

Expand Down
2 changes: 2 additions & 0 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Now this project support following [RSSHub](https://github.com/DIYgod/RSSHub) we

* Instagram:fully supported
* twitter:fully supported
* Youtube: fully supported
* GitHub: issues

More Chinese websites, see [Chinese docs](https://github.com/idealclover/Easy-to-RSS).
Expand Down Expand Up @@ -62,6 +63,7 @@ The following example is provided by **RSSHub**:
* Github: [Issues](https://github.com/idealclover/Easy-to-RSS/issues)
* Instagram: [User](https://www.instagram.com/snatti89/)
* Twitter: [User](https://twitter.com/idealclover)
* Youtube: [User](https://www.youtube.com/user/crashcourse) [Channel](https://www.youtube.com/channel/UCX6b17PVsYBQ0ip5gyeme-Q)

More Chinese websites, see [Chinese docs](https://github.com/idealclover/Easy-to-RSS).

Expand Down
14 changes: 14 additions & 0 deletions src/js/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,5 +189,19 @@ var data = {
'src': '/:user',
'dst': '/instagram/user/:user'
}
],

//youtube
'www.youtube.com': [
{
'name': 'youtube用户动态',
'src': '/user/:id',
'dst': '/youtube/user/:id'
},
{
'name': 'youtube频道动态',
'src': '/channel/:id',
'dst': '/youtube/channel/:id'
}
]
};

0 comments on commit 3665e22

Please sign in to comment.