<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>duty-machine</title>
    <link>https://ruby-china.org/duty-machine</link>
    <description/>
    <language>en-us</language>
    <item>
      <title>weixin-archive-action：使用 Github Action 将微信文章备份为长图片和 mht</title>
      <description>&lt;p&gt;Github Marketplace 地址：&lt;a href="https://github.com/marketplace/actions/weixin-archive-action" rel="nofollow" target="_blank" title=""&gt;weixin-archive-action&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;这个 Action 可以将一个代码仓库变成微信文章的备份仓库，使用了此 Action 之后，在仓库新建 Issue 填入要备份的微信文章地址，Action 会把抓取到的长图片和 mht commit 回代码仓库。&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/duty-machine/weixin-archive-action-demo/issues/2" rel="nofollow" target="_blank" title=""&gt;抓取示例&lt;/a&gt;&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;另外也有将文章抓取到 Issue 保存的 Action：&lt;a href="https://github.com/marketplace/actions/duty-machine-action" rel="nofollow" target="_blank" title=""&gt;duty-machine-action&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;这个 Action 支持的网站更多，并且可以方便添加新的抓取方案。在新建 Issue 里填入文章地址，随后 Action 会跟评文章内容，如&lt;a href="https://github.com/duty-machine/duty-machine/issues/159" rel="nofollow" target="_blank" title=""&gt;抓取示例&lt;/a&gt;。&lt;/p&gt;

&lt;p&gt;目前支持的网站列表：&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;weixin&lt;/li&gt;
&lt;li&gt;douban_note&lt;/li&gt;
&lt;li&gt;matters&lt;/li&gt;
&lt;li&gt;zhihu_zhuanlan&lt;/li&gt;
&lt;li&gt;weibo_article&lt;/li&gt;
&lt;li&gt;telegraph&lt;/li&gt;
&lt;li&gt;chinadigitaltimes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;我们还启用了一个&lt;a href="https://github.com/duty-machine/duty-machine" rel="nofollow" target="_blank" title=""&gt;示例仓库&lt;/a&gt;提供公开的备份服务，此仓库拥有一个&lt;a href="https://archives.duty-machine.now.sh/" rel="nofollow" target="_blank" title=""&gt;匿名的在线提交入口&lt;/a&gt;，提交入口运行的代码可以在 Vercel 网站上审查。&lt;/p&gt;</description>
      <author>duty-machine</author>
      <pubDate>Sat, 13 Jun 2020 20:37:37 +0800</pubDate>
      <link>https://ruby-china.org/topics/39961</link>
      <guid>https://ruby-china.org/topics/39961</guid>
    </item>
  </channel>
</rss>
