<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Oss on Anttu&#39;s Blog</title>
		<link>https://anTtutu.github.io/tags/oss/</link>
		<description>Recent content in Oss on Anttu&#39;s Blog</description>
		<generator>Hugo</generator>
		<language>zh-CN</language>
		
		
		
		
			<lastBuildDate>Mon, 19 Jan 2026 00:29:47 +0800</lastBuildDate>
		
			<atom:link href="https://anTtutu.github.io/tags/oss/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>爬取oss库</title>
				<link>https://anTtutu.github.io/post/2026-01-19-spy_video/</link>
				<pubDate>Mon, 19 Jan 2026 00:29:47 +0800</pubDate>
				<guid>https://anTtutu.github.io/post/2026-01-19-spy_video/</guid>
				<description>&lt;h2 id=&#34;前言&#34;&gt;前言&lt;/h2&gt;&#xA;&lt;p&gt;2025年底公司有个老系统要下线，里面攒了几年的培训素材（视频、音频、文档、图片，几万条记录）都躺在 OSS 上，需要全部爬下来再转存到新的 OSS。量不小，单个视频还有好几个G的，直接写个 for 循环 requests 下载肯定歇菜，于是写了一个比较健壮的爬取脚本。完整代码在：&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://github.com/anTtutu/anttu.code.learn.python/tree/master/oss_download&#34;&gt;https://github.com/anTtutu/anttu.code.learn.python/tree/master/oss_download&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;这篇把思路和关键代码整理下。&lt;/p&gt;&#xA;&lt;h2 id=&#34;1难点在哪&#34;&gt;1、难点在哪&lt;/h2&gt;&#xA;&lt;p&gt;先说清楚这个活的难点，也是写脚本时所有设计的出发点：&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
