-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
stepbystep.asia |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,360 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="zh-cn"> | ||
|
||
<head> | ||
<meta name="google-site-verification" content="arHRrxbxU48vZwldQv5AtJp4xyTZxM7GIOnFRVRraM0"> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="generator" content="千里之行,始于足下"> | ||
<title>归档: 2023/1 - 千里之行,始于足下</title> | ||
<meta name="author" content="一瓢清浅"> | ||
|
||
<meta name="keywords" content="python,AI,安全,算法,编程,"> | ||
|
||
|
||
|
||
<script type="application/ld+json">{}</script> | ||
<meta name="description" content="个人技术博客,涉及编程(python,c++)、安全测试、Web开发、AI算法等IT领域"> | ||
<meta property="og:type" content="blog"> | ||
<meta property="og:title" content="千里之行,始于足下"> | ||
<meta property="og:url" content="https://www.stepbystep.asia/archives/2023/01/index.html"> | ||
<meta property="og:site_name" content="千里之行,始于足下"> | ||
<meta property="og:description" content="个人技术博客,涉及编程(python,c++)、安全测试、Web开发、AI算法等IT领域"> | ||
<meta property="og:locale" content="zh_CN"> | ||
<meta property="article:author" content="一瓢清浅"> | ||
<meta property="article:tag" content="python"> | ||
<meta property="article:tag" content="AI"> | ||
<meta property="article:tag" content="安全"> | ||
<meta property="article:tag" content="算法"> | ||
<meta property="article:tag" content="编程"> | ||
<meta name="twitter:card" content="summary"> | ||
|
||
|
||
|
||
|
||
|
||
<meta property="og:image" content="https://www.stepbystep.asia/assets/images/photo.jpg"> | ||
|
||
|
||
|
||
|
||
<!--STYLES--> | ||
|
||
<link rel="stylesheet" href="/assets/css/style-bwpnidfhmevdoscmsajmx7vqqkdkadwszrluvyl6iriugroukyqjhbjahkdg.min.css"> | ||
|
||
<!--STYLES END--> | ||
|
||
|
||
|
||
|
||
|
||
</head> | ||
|
||
<body> | ||
<div id="blog"> | ||
<!-- Define author's picture --> | ||
|
||
|
||
<header id="header" data-behavior="2"> | ||
<i id="btn-open-sidebar" class="fa fa-lg fa-bars"></i> | ||
<div class="header-title"> | ||
<a class="header-title-link" href="/" aria-label> | ||
千里之行,始于足下 | ||
</a> | ||
</div> | ||
|
||
|
||
<a class="header-right-icon " href="#about" aria-label="打开链接: /#about"> | ||
|
||
|
||
<i class="fa fa-question fa-lg"></i> | ||
|
||
</a> | ||
|
||
</header> | ||
|
||
<!-- Define author's picture --> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<nav id="sidebar" data-behavior="2"> | ||
<div class="sidebar-container"> | ||
|
||
<div class="sidebar-profile"> | ||
<a href="/#about" aria-label="阅读有关作者的更多信息"> | ||
<img class="sidebar-profile-picture" src="/assets/images/photo.jpg" alt="作者的图片"> | ||
</a> | ||
<h4 class="sidebar-profile-name">一瓢清浅</h4> | ||
|
||
<h5 class="sidebar-profile-bio"><p>个人技术博客<br>涉猎开发、测试、数据、算法、安全等领域</p> | ||
</h5> | ||
|
||
</div> | ||
|
||
|
||
<ul class="sidebar-buttons"> | ||
|
||
<li class="sidebar-button"> | ||
|
||
<a class="sidebar-button-link " href="/" rel="noopener" title="首页"> | ||
<i class="sidebar-button-icon fa fa-home" aria-hidden="true"></i> | ||
<span class="sidebar-button-desc">首页</span> | ||
</a> | ||
</li> | ||
|
||
<li class="sidebar-button"> | ||
|
||
<a class="sidebar-button-link " href="/all-categories" rel="noopener" title="分类"> | ||
<i class="sidebar-button-icon fa fa-bookmark" aria-hidden="true"></i> | ||
<span class="sidebar-button-desc">分类</span> | ||
</a> | ||
</li> | ||
|
||
<li class="sidebar-button"> | ||
|
||
<a class="sidebar-button-link " href="/all-tags" rel="noopener" title="标签"> | ||
<i class="sidebar-button-icon fa fa-tags" aria-hidden="true"></i> | ||
<span class="sidebar-button-desc">标签</span> | ||
</a> | ||
</li> | ||
|
||
<li class="sidebar-button"> | ||
|
||
<a class="sidebar-button-link " href="/all-archives" rel="noopener" title="归档"> | ||
<i class="sidebar-button-icon fa fa-archive" aria-hidden="true"></i> | ||
<span class="sidebar-button-desc">归档</span> | ||
</a> | ||
</li> | ||
|
||
</ul> | ||
|
||
<ul class="sidebar-buttons"> | ||
|
||
<li class="sidebar-button"> | ||
|
||
<a class="sidebar-button-link " href="#about" rel="noopener" title="关于"> | ||
<i class="sidebar-button-icon fa fa-question" aria-hidden="true"></i> | ||
<span class="sidebar-button-desc">关于</span> | ||
</a> | ||
</li> | ||
|
||
<li class="sidebar-button"> | ||
|
||
<a class="sidebar-button-link " href="https://github.com/jiliguluss" target="_blank" rel="external nofollow noopener noreferrer" title="GitHub"> | ||
<i class="sidebar-button-icon fab fa-github" aria-hidden="true"></i> | ||
<span class="sidebar-button-desc">GitHub</span> | ||
</a> | ||
</li> | ||
|
||
</ul> | ||
|
||
</div> | ||
</nav> | ||
|
||
|
||
<div id="main" data-behavior="2" class=" | ||
hasCoverMetaIn | ||
"> | ||
|
||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.25.0/tocbot.css"> | ||
<style> | ||
#post-toc { | ||
position: fixed !important; | ||
top: 80px; | ||
padding: 10px; | ||
z-index: 100; | ||
background-color: rgba(255,255,255,0); | ||
transform: translateX(0); | ||
right: 3%; | ||
width: 220px; | ||
height: auto; | ||
padding-top: 10px; | ||
padding-bottom: 10px; | ||
} | ||
</style> | ||
<script> | ||
var tocWidth = 220; // TOC的固定宽度 | ||
var tocPadding = 10; // TOC的内边距,这里假设是两边各10px,总和为20px | ||
var tocRight = 0.03; // TOC的右边框距离屏幕右边的距离相对屏幕宽度的占比 | ||
|
||
// 检查窗口宽度并调整TOC显示 | ||
function adjustToc() { | ||
var toc = document.getElementById('post-toc'); | ||
var screenWidth = window.innerWidth || document.documentElement.clientWidth; | ||
var contentWrap = document.querySelector('div.post-content.markdown div.main-content-wrap'); | ||
|
||
if (contentWrap) { | ||
var contentWidth = contentWrap.offsetWidth; | ||
// 计算contentWrap的宽度加上TOC的宽度和内边距 | ||
var totalWidth = Math.round((contentWidth + tocWidth * 2 + tocPadding * 4) / (1 - tocRight * 2)); | ||
|
||
if (totalWidth >= screenWidth) { | ||
toc.style.display = 'none'; // 如果总宽度大于或等于屏幕宽度,不显示TOC | ||
} else { | ||
toc.style.display = 'block'; // 否则,显示TOC | ||
} | ||
} else { | ||
toc.style.display = 'none'; // 如果无法获取contentWrap的宽度,不显示TOC | ||
} | ||
} | ||
|
||
// 监听窗口大小变化事件 | ||
window.addEventListener('resize', adjustToc); | ||
|
||
// 页面加载完毕时调用adjustToc | ||
document.addEventListener('DOMContentLoaded', adjustToc); | ||
</script> | ||
<div id="post-toc" class="toc" style="display: none;"></div> <!-- 初始化时隐藏 --> | ||
|
||
|
||
<section class="postShorten-group main-content-wrap"> | ||
|
||
|
||
<article class="postShorten postShorten--thumbnailimg-right"> | ||
<div class="postShorten-wrap"> | ||
|
||
<div class="postShorten-header"> | ||
<h1 class="postShorten-title"> | ||
|
||
<a class="link-unstyled" href="/2023/%E9%9B%B6%E5%9F%BA%E7%A1%80%E7%88%AC%E8%99%AB%E5%85%A5%E9%97%A8/" aria-label=": 零基础爬虫入门"> | ||
零基础爬虫入门 | ||
</a> | ||
|
||
</h1> | ||
<div class="postShorten-meta"> | ||
<time datetime="2023-01-08T14:05:37+08:00"> | ||
|
||
2023 年 1 月 8 日 | ||
|
||
</time> | ||
|
||
<span>发布在 </span> | ||
|
||
<a class="category-link" href="/categories/%E5%BC%80%E5%8F%91/">开发</a>, <a class="category-link" href="/categories/%E5%BC%80%E5%8F%91/%E7%88%AC%E8%99%AB/">爬虫</a> | ||
|
||
|
||
|
||
</div> | ||
|
||
</div> | ||
|
||
<div class="postShorten-excerpt"> | ||
<p>从零开始学爬虫</p> | ||
|
||
<a href="/2023/%E9%9B%B6%E5%9F%BA%E7%A1%80%E7%88%AC%E8%99%AB%E5%85%A5%E9%97%A8/" class="postShorten-excerpt_link link" aria-label=": 零基础爬虫入门"> | ||
阅读全文 | ||
</a> | ||
|
||
|
||
</div> | ||
|
||
</div> | ||
|
||
</article> | ||
|
||
<div class="pagination-bar"> | ||
<ul class="pagination"> | ||
|
||
|
||
<li class="pagination-number">第 1 页 共 1 页</li> | ||
</ul> | ||
</div> | ||
|
||
</section> | ||
|
||
|
||
|
||
<footer id="footer" class="main-content-wrap"> | ||
<span class="copyrights"> | ||
Copyrights © 2024 一瓢清浅. All Rights Reserved. | ||
</span> | ||
</footer> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<div id="about"> | ||
<div id="about-card"> | ||
<div id="about-btn-close"> | ||
<i class="fa fa-times"></i> | ||
</div> | ||
|
||
<img id="about-card-picture" src="/assets/images/photo.jpg" alt="作者的图片"> | ||
|
||
<h4 id="about-card-name">一瓢清浅</h4> | ||
|
||
<div id="about-card-bio"><p>个人技术博客<br>涉猎开发、测试、数据、算法、安全等领域</p> | ||
</div> | ||
|
||
|
||
<div id="about-card-job"> | ||
<i class="fa fa-briefcase"></i> | ||
<br> | ||
<p>IT工程师</p> | ||
|
||
</div> | ||
|
||
|
||
<div id="about-card-location"> | ||
<i class="fa fa-map-marker-alt"></i> | ||
<br> | ||
中国 | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
|
||
|
||
<div id="cover" style="background-image:url('/assets/images/cover.png');"></div> | ||
<!--SCRIPTS--> | ||
|
||
<script src="/assets/js/script-qjhqjtxeqsf0pxxr3wcgqbuhjcw1xtpehvoymmzeqnsjh5nhmnvzjlgzjhrg.min.js"></script> | ||
|
||
<!--SCRIPTS END--> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/tocbot.min.js"></script> | ||
<script type="text/javascript"> | ||
tocbot.init({ | ||
tocSelector: '#post-toc', // 目录容器的 ID 或 class | ||
contentSelector: '.post-content', // 内容容器的 ID 或 class | ||
headingSelector: 'h2,h3,h4', // 包含在目录中的标题级别 | ||
collapseDepth: '3', | ||
scrollSmooth: true, | ||
activeClass: 'active', | ||
orderedList: false | ||
}); | ||
</script> | ||
|
||
|
||
|
||
<script src="https://unpkg.com/[email protected]/dist/mermaid.min.js"></script> | ||
<script type="text/javascript"> | ||
$(document).ready(function() { | ||
var mermaid_config = { | ||
startOnLoad: true, | ||
theme: 'default', | ||
} | ||
mermaid.initialize(mermaid_config); | ||
}); | ||
</script> | ||
|
||
|
||
</body> | ||
</html> |