有同学问上一篇代码中User-Agent的内容定义怎么来的呢? 简单,祭出我们的法宝:httpfox, 在第一篇中我们说开发要准备好firefo

Read More…

Introduction YAML stands for “YAML Ain’t Markup Language”, It’s basically a human-readable structured data format. It is less complex and ungainly than XML or JSON, but provides similar capabilities. It essentially allows you to provide powerful configuration settings, without having to learn a more complex code type like CSS, JavaScript, and PHP.One of the benefits of using YAML is that the information in a single YAML file can be easily translated to multiple language types.

Read More…

一般来说,如果某个网站没有提供API来获取其内容,那就只有通过模拟浏览器的行为来抓取其页面来获取我们感兴趣的信息。 理论上来说,只要网站对公共

Read More…