├── README.md └── images ├── example.png └── spiderexam.png /README.md: -------------------------------------------------------------------------------- 1 | 2 | # spiderexam 3 | 爬虫工程师面试常见问题。 4 | 题目共享地址: https://shimo.im/docs/iyZrc3fLimghmrNB/read 5 | 6 | ![image](https://github.com/asyncspider/spiderexam/blob/master/images/example.png) 7 | 8 | 9 | # 题目与答案征集 10 | 目前问题与答案正在收集中,请大家踊跃参与。 11 | 12 | 目前答案不开放,待问题收集到一定规模,则开放答案,大家可以先尝试做题。 13 | 14 | 在 issues 处提交你的问题与答案即可,提交格式为: 15 | 16 | ``` 17 | Question:Title - [提供者信息] 18 | 19 | Answer: 20 | 21 | ``` 22 | 23 | 例如: 24 | 25 | Question:is 和 == 的区别 - [AsyncIns] 26 | 27 | Answer:is 表示的是对象标示符(object identity),而 == 表示的是相等(equality)。 28 | is 的作用是用来检查对象的标示符是否一致,也就是比较两个对象在内存中的地址是否一样,而 == 是用来检查两个对象是否相等。但是为了提高系统性能,对于较小的字符串 Python 会保留其值的一个副本,当创建新的字符串的时候直接指向该副本即可。如: 29 | ``` 30 | a = 8 31 | b = 8 32 | a is b 33 | ``` 34 | 35 | Question:打印输出当前文件所在目录路径 - [德玛西亚之翼-奎因] 36 | 37 | Answer: 38 | ``` 39 | import os 40 | print(os.path.dirname(os.path.abspath(__file__))) 41 | ``` 42 | 43 | 44 | 45 | 46 | 47 | 我会每天定时收录到文档中。 48 | 49 | 我们应当做到题目与答案对应且尽可能的详尽,如: 50 | ![image](https://github.com/asyncspider/spiderexam/blob/master/images/example.png) 51 | 52 | 最后,我们都希望得到一份完整的爬虫工程师面试考点: 53 | 54 | ![image](https://github.com/asyncspider/spiderexam/blob/master/images/spiderexam.png) 55 | 56 | 这需要我们大家一起努力。如果你想加入到 Github 白名单,请联系 asyncins@aliyun.com 57 | 58 | 59 | -------------------------------------------------------------------------------- /images/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncspider/spiderexam/e2745e2844f1d1bb64167450aaf327cb5d71054a/images/example.png -------------------------------------------------------------------------------- /images/spiderexam.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asyncspider/spiderexam/e2745e2844f1d1bb64167450aaf327cb5d71054a/images/spiderexam.png --------------------------------------------------------------------------------