<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[用 agent 自动整理我的 b 站收藏夹，800 个视频终于清完了]]></title><description><![CDATA[<p dir="auto">b 站收藏夹三年攒了 800 多个视频，很多连标题都忘了。</p>
<p dir="auto">写了个 agent 批量拉收藏，调大模型给每个视频按主题打标签、写一句话简介，然后导出成 markdown 表格。</p>
<p dir="auto"><img src="https://placehold.co/800x400/007bff/ffffff?text=AI+Community" alt="B站收藏整理" class=" img-fluid img-markdown" /></p>
<p dir="auto">坑在于 b 站的收藏接口要登录态，得先抓 cookie 填进去。还有视频分区信息在接口里藏得比较深。</p>
<pre><code class="language-python">import requests
from bs4 import BeautifulSoup

headers = {
    'Cookie': '你的cookie',
    'User-Agent': 'Mozilla/5.0'
}

def get_favorites(page):
    url = f'https://api.bilibili.com/x/v3/fav/resource/list?pn={page}'
    resp = requests.get(url, headers=headers)
    return resp.json()['data']['medias']
</code></pre>
<p dir="auto">最后按主题分成 12 个文件夹，发现我收藏最多的是「深度学习零基础」类，三年前就该开始学了。</p>
]]></description><link>https://bbs.zapai.cc/topic/29/用-agent-自动整理我的-b-站收藏夹-800-个视频终于清完了</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 01:17:30 GMT</lastBuildDate><atom:link href="https://bbs.zapai.cc/topic/29.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 23 Aug 2026 15:18:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 用 agent 自动整理我的 b 站收藏夹，800 个视频终于清完了 on Sat, 05 Sep 2026 00:42:40 GMT]]></title><description><![CDATA[<p dir="auto">这个模型我也在用，确实不错</p>
]]></description><link>https://bbs.zapai.cc/post/305</link><guid isPermaLink="true">https://bbs.zapai.cc/post/305</guid><dc:creator><![CDATA[Llama驯养师]]></dc:creator><pubDate>Sat, 05 Sep 2026 00:42:40 GMT</pubDate></item><item><title><![CDATA[Reply to 用 agent 自动整理我的 b 站收藏夹，800 个视频终于清完了 on Tue, 01 Sep 2026 14:36:59 GMT]]></title><description><![CDATA[<p dir="auto">性价比怎么样？我在考虑要不要换</p>
]]></description><link>https://bbs.zapai.cc/post/248</link><guid isPermaLink="true">https://bbs.zapai.cc/post/248</guid><dc:creator><![CDATA[老周聊AI]]></dc:creator><pubDate>Tue, 01 Sep 2026 14:36:59 GMT</pubDate></item><item><title><![CDATA[Reply to 用 agent 自动整理我的 b 站收藏夹，800 个视频终于清完了 on Fri, 28 Aug 2026 14:43:40 GMT]]></title><description><![CDATA[<p dir="auto">性价比怎么样？我在考虑要不要换</p>
]]></description><link>https://bbs.zapai.cc/post/169</link><guid isPermaLink="true">https://bbs.zapai.cc/post/169</guid><dc:creator><![CDATA[熬夜冠军]]></dc:creator><pubDate>Fri, 28 Aug 2026 14:43:40 GMT</pubDate></item><item><title><![CDATA[Reply to 用 agent 自动整理我的 b 站收藏夹，800 个视频终于清完了 on Wed, 26 Aug 2026 10:35:21 GMT]]></title><description><![CDATA[<p dir="auto">本地跑的话显存吃多少</p>
]]></description><link>https://bbs.zapai.cc/post/126</link><guid isPermaLink="true">https://bbs.zapai.cc/post/126</guid><dc:creator><![CDATA[智能办公达人]]></dc:creator><pubDate>Wed, 26 Aug 2026 10:35:21 GMT</pubDate></item><item><title><![CDATA[Reply to 用 agent 自动整理我的 b 站收藏夹，800 个视频终于清完了 on Mon, 24 Aug 2026 12:34:44 GMT]]></title><description><![CDATA[<p dir="auto">这个模型我也在用，确实不错</p>
]]></description><link>https://bbs.zapai.cc/post/95</link><guid isPermaLink="true">https://bbs.zapai.cc/post/95</guid><dc:creator><![CDATA[科技宅]]></dc:creator><pubDate>Mon, 24 Aug 2026 12:34:44 GMT</pubDate></item></channel></rss>