agalwood / Motrix

A full-featured download manager.
https://motrix.app
MIT License
45.86k stars 4.57k forks source link

Support RSS Feeds #268

Open QingWei-Li opened 5 years ago

QingWei-Li commented 5 years ago

Is your feature request related to a problem? Please describe.

We can automatically download resources by subscribing to RSS, just like DiskStation Manager or μTorrent

Describe the solution you'd like

Polling RSS feeds and then download it, I guess...

Describe alternatives you've considered No

Additional context No

agalwood commented 5 years ago

I think this is an upset new feature request...

Is there a uniform standard format for rss that provide resources?

QingWei-Li commented 5 years ago

RSS is a standard specification at http://www.rssboard.org/rss-specification.

And I found a standardized format for BT resources http://www.bittorrent.org/beps/bep_0036.html.

Example:

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
        <channel>
                <title> Featured content </title>
                <link> http://featuredcontent.utorrent.com/ </link>
                <item>
                        <title> WillisEarlBeal-BitTorrent </title>
                        <description>
                                The Principles of a Protagonist Bundle

                                Chicago native Willis Earl Beal came from humble musical beginnings- he
                                began as a street performer of sorts that was prone to leaving homemade
                                novels, artwork and CD-Rs across America to promote his work, suggesting
                                a desire to be heard. Thereafter, he relocated to Albuquerque, NM where
                                he continued his practice of 'gifting' as he simultaneously recorded a
                                set of songs on a discarded karaoke machine that would become Acousmatic
                                Sorcery, his Hot Charity/XL Recordings debut.
                        </description>
                        <guid> e380a6c5ae0fb15f296d29964a56250780b05ad7 </guid>
                        <enclosure
                                url="http://featuredcontent.utorrent.com/torrents/WillisEarlBeal-BitTorrent.torrent"
                                type="application/x-bittorrent" />
                </item>
        </channel>
</rss>

This is some real examples

thecodrr commented 5 years ago

For this we would need to periodically (daily?) check the RSS feeds user has subscribed too and use the URIs in the enclosure tag to download.