git拉取私有库时的异常

更新一个新的项目时报的错误: 1 2 3 fatal: could not read Username for 'https://git.xxx.com': terminal prompts disabled Confirm the import path was entered correctly. If this is a private repository, see https://golang.org/doc/faq#git_https for additional information. 造成错误的原因是这是让 golang 拉取一个私有库里的 package, 因为用

Python Selenium 爬虫初体验

最近有个作业有用到爬虫的需求, 于是乎就了解了一下这方面的玩意. 前言 最开始的时候, 我用的是 scrapy 这个爬虫框架, 不过对于简单需求来说, 没必要这么兴师