← Back to all articles
Blog

EFV automatic RSS downloading, categorization, publishing and updates; aria2 downloads and built-in font previews

While considering fully automated operation, I decided to add automatic RSS subscription downloads. During development, I found that existing bittorrent downloading consumed too much CPU, so I spent several more days rewriting an aria2 download module. It supports automatic downloading of thousands of resources with very low CPU consumption, while controlling download speed, upload speed, sharing ratio and simultaneous downloads. The finished system now provides automatic RSS downloading, categorization, transcoding and publishing for fully automated operation.

Updates

  • One: Implemented automatic RSS subscription downloading, compatible with 90% of rss feeds. Configure keywords and the number that must match before downloading for precise resource filtering. Automatic categorization and publishing enable fully automated operation. Combined with global download management, set minimum file sizes and allowed extensions for adding files to transcoding.
  • Two: Added 9 bundled fonts with live previews on the settings page, making it easier to choose fonts for scrolling text and text watermarks.
  • Three: Added release-region display in video and series management for easier categorization.

Screenshots

Automated-operation examples

Build a private anime material library

RSS subscription settings:

Subscription title: Anime Material Library

RSS URL: https://bangumi.moe/rss/latest

Resource selector: enclosure.url

For example, an item in the rss feed looks like this:

<item>
<title>
<![CDATA[ [动漫国字幕组&LoliHouse] 鲁邦三世 Part 6 / Lupin III - Part 6 - 16-18 [WebRip 1080p HEVC-10bit AAC][简繁内封字幕] ]]>
</title>
<description>
<![CDATA[ <p><img src="https://i.loli.net/2021/10/17/r81KGFHlfxsauT6.jpg"></p><p><strong>鲁邦三世 Part 6 / Lupin III - Part 6<br></strong></p><p><strong>字幕:动漫国字幕组</strong></p><p><strong>Encoder:Back@LoliHouse</strong></p><p>为了顺利地观看我们的作品,推荐大家使用以下播放器:</p><p>Windows: <a href="https://sourceforge.net/projects/mpcbe/" target="_blank">MPC-BE</a></p><p>macOS: <a href="https://lhc70000.github.io/iina/" target="_blank">IINA</a></p><p>iOS: <a href="https://itunes.apple.com/us/app/nplayer-lite/id1078835991?mt=8" target="_blank">nPlayer</a></p><p>Android: <a href="https://play.google.com/store/apps/details?id=com.mxtech.videoplayer.ad" target="_blank">MX Player</a></p><p><b><strong><b><a href="https://share.dmhy.org/topics/view/478666_LoliHouse_LoliHouse_1st_Anniversary_Announcement_and_Gift.html" target="_blank">点击查看LoliHouse一周年公告&amp;礼包</a></b></strong></b></p><p><b><strong><b><strong><b><strong><b><strong><b><a href="https://share.dmhy.org/topics/view/534469_LoliHouse_LoliHouse_3rd_Anniversary_Announcement.html" target="_blank">点击查看LoliHouse三周年纪念公告</a></b></strong></b></strong></b></strong></b></strong></b></p> ]]>
</description>
<link>https://bangumi.moe/torrent/6201e1018937cd0007796b89</link>
<guid isPermaLink="true">https://bangumi.moe/torrent/6201e1018937cd0007796b89</guid>
<pubDate>Tue, 08 Feb 2022 03:18:25 GMT</pubDate>
<enclosure url="https://bangumi.moe/download/torrent/6201e1018937cd0007796b89/[动漫国字幕组&LoliHouse] 鲁邦三世 Part 6 _ Lupin III - Part 6 - 16-18 [WebRip 1080p HEVC-10bit AAC][简繁内封字幕].torrent" length="0" type="application/x-bittorrent"/>
</item>

The download URL, whether a magnet or torrent link, is in the enclosure element, whose url attribute contains the actual resource URL. Set the resource selector to enclosure.url. Some rss feeds provide downloads as https://efvcms.com/1.torrent[H1H]; in that case, set the selector directly to link.

Query interval: 30, meaning the feed is requested every 30 minutes.

Required keywords: GB|720|x264|CHT|内封|内嵌|MP4|简体|简繁

These specify which keywords the title must contain before downloading. Separate them with the ASCII | character.

Required keyword count: 3

This specifies the minimum number of the above keywords that must match before downloading.

Automatic publishing determines whether to publish immediately after transcoding finishes.

Automatic categorization assigns completed downloads to a selected category.

After configuring everything, click Start Subscription and the entire workflow becomes automatic: downloading, categorization, transcoding and publishing. Fully automated operation.

Example two: automatically download and update by series title and episode number

You can automatically download and transcode episodes based directly on an anime or series title.

For example, an ongoing release titled 某某某 第四季 (a particular series, season four).

Set its keywords to 某某某 第四季|[09]|1080.

Set its keywords to 某某某 第四季|[09]|1080.

Likewise, if 10 series are running in a season, configure 10 subscriptions with the respective titles and episode numbers to download the latest episodes automatically as soon as possible.

Finally: RSS subscriptions are powerful and fully use the advantages of aria2, including configurable global download and upload speeds, concurrent resource counts and sharing ratios, meaning uploading stops after a specified number of M. There are many possibilities, with seamless integration for PT sites and anime sites, including nyaa and dmhy.