@SchicksalNvi极客时间专题100+在线阅读网站及拷打ai写的爬虫(亲测可用) 中发帖

上次在坛子里有佬友分享onedrive的极客时间课程的资源,但是无法保存到自己的资源里 
在某层翻到了一个可以在线阅读的网站: 技术摘抄
怕站点某天挂了,决定拷打ai写个爬虫爬下来,保存下来为markdown文档及相关图片
谨慎爬取,在线阅读也不错的
分享一下
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import json
import os
import random
import re
import ssl
import time
from pathlib import Path
from urllib.parse import urljoin, urlparse, unquote, quote

import html2text
import requests
from bs4 import BeautifulSoup

...