geek_crawler
geek_crawler copied to clipboard
极客时间课程抓取脚本,支持输入账号密码后自动将极客时间的专栏课程保存到本地
geek_crawler.py 后出现 File "geek_crawler.py", line 102 return ';'.join([f'{k}={v}' for k, v in self._cookies.items()])
在主函数中: 原: run(cellphone, pwd, exclude=exclude, get_comments=get_comments) 应改为: run(cellphone, pwd, exclude=exclude, get_comments=get_comments, file_type=file_type)
请求登录接口: 接口请求参数:{'country': 86, 'cellphone': '*******', 'password': '********', 'captcha': '', 'remember': 1, 'platform': 3, 'appid': 1, 'source': ''} 请求过程中出错了,出错信息为:Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/urllib3-1.26.0.dev0-py3.8.egg/urllib3/connectionpool.py", line 686, in urlopen self._prepare_proxy(conn) File...
个别专栏爬取报错
报错信息: File "geek_crawler.py", line 483, in save_to_file with open(file_path, 'w', encoding='utf-8') as f: OSError: [Errno 22] Invalid argument: 'D:\\0-git-time\\geek_crawler-master\\JavaScript核心原理解析\\20 _ (0, eval)("x = 100") :一行让严格模式形同虚设的破坏性设计(上).md' 大神要不要看看
下载视频部分
请问 有下载视频部分的处理吗? 可以分享下不? 你功能部分介绍的最后一个有具体实现吗?
請問如何下載音頻檔案,我下載內容只有MD檔。