python爬虫
来源:互联网 发布:coc女王数据 编辑:程序博客网 时间:2024/06/06 00:43
抓取steam数据的时候遇到一个问题,获取所有的页面都是英文,首先想到的是添加cookie
wget --load-cookies=cookie_file -O local_file_name http://store.steampowered.com/app/60/
研究了半天的cookie也没有搞定
后来在 it不倒翁 同学的一张关于header的截图上面恍然大悟,添加上头信息,立马ok
--header="Accept-Language:zh-CN,zh;q=0.8"
果然没有这种大型项目的经验,关注的点还是太狭窄了。
爬虫地址:https://github.com/glovenone/languages/tree/master/python/website/scrapy
0 0
- python爬虫-->爬虫基础
- [爬虫] Python爬虫技巧
- Python爬虫
- python 爬虫
- python 爬虫
- python 爬虫
- python爬虫
- Python爬虫
- Python爬虫
- python 爬虫
- Python爬虫
- python爬虫
- python 爬虫
- python 爬虫
- python爬虫
- python爬虫
- python爬虫
- python 爬虫
- Pascal's Triangle
- IntellijIDEA 2016.1.3 使用部分问题解决
- 欢迎使用CSDN-markdown编辑器
- Android Studio官方文档之用注解检查改善代码质量
- css基本学习
- python爬虫
- 八皇后问题
- java微信公共帐号支付(JS支付)
- maven+jetty开发环境配置随笔
- 快速了解C/C++的左值和右值
- 基于java聊聊架构
- 文章标题
- TreeMap分析
- 题目1167:数组排序 北航