前言
前幾天上班,閑着無聊,在路上的時候,就思考,到底怎么賺錢。簡單說,怎么賺錢更容易。
想着想着,就想到了我們正在開發的游戲,想起里面的玩家是怎么轉空子暴富的。
頓時!感覺思路清晰了很多,也逐漸明白我的幾個身價過億的老板們 到底是怎么成功的。
正文
圈子我不饒了,簡單的先說明下結論:
傳統的、經歷了驗證的體系中,希望通過挖掘為數不多的用戶需求並創造出財富,可能性非常低。中國13億人,13億個競爭對手,再有智慧,也被別人想光了。
所以,只有在體系出現變更、甚至被新體系取代的時候,會出現機遇,從而出現財富增長點。
用游戲舉個例子,我們游戲每次新版本發布的時候,總會遺留一下小BUG,如果玩家迅速發現了, 並且在極短的時間內利用這些漏洞,就可以積累大量的財富,比如游戲中的裝備、寶石、現金等等。
這個例子非常簡單的說明了,要發現機遇積累財富,需要: 變革+速度。
理論說完了,那么這個是個人都可能想過的結論,有啥意義??意義太重大了。這兩點,就告訴了我們要做的是:
1. 能夠最快速度獲取第一手信息,掌握變革的趨勢。
2. 能夠最快速度利用變革產生的機遇,積累大量財富。
第二點,核心就是強調 正在拼搏的人,要積厚而發,儲備強大的技術力量和團隊力量,特別注意:團隊力量。
那么第一點,就是要擁有比別人更有優勢的信息渠道。
從博客園中挖掘強大的信息渠道
希望DUDU別因為這個標題封了我的號。呵呵。博客園首頁右方有個 最新新聞,不知道各位有沒有留意。我經常在里面看到有趣的信息。
但是可惜的是,我不能系統的去跟蹤這些信息,就是沒有一個 Follow的機制。那么,就讓我來挖掘下,這里面的最新新聞到底來自哪里。
我通過http采集器,收集了100頁的所有新聞的 COME_FROM, 你懂的,得到以下結論:
前100頁,一共有來自241家不同的網站信息,其中前30名為:
1 | 新浪科技 | 325 |
2 | 騰訊科技 | 284 |
3 | 驅動之家 | 245 |
4 | ifanr 愛范兒 | 177 |
5 | TechWeb | 162 |
6 | www.leiphone.com | 156 |
7 | 搜狐IT | 156 |
8 | www.36kr.com | 154 |
9 | Solidot | 139 |
10 | 新浪科技 | 57 |
11 | Donews | 50 |
12 | 賽迪網 | 50 |
13 | 網易科技 | 42 |
14 | InfoQ | 39 |
15 | 賽迪網 | 38 |
16 | 開源中國社區 | 36 |
17 | 谷奧 | 35 |
18 | 外刊IT評論 | 27 |
19 | 南方都市報 | 22 |
20 | 騰訊科技 | 21 |
21 | blog.jobbole.com | 19 |
22 | CSDN | 18 |
23 | 21世紀經濟報道 | 18 |
24 | www.iteye.com | 17 |
25 | mrjamie.cc | 17 |
26 | 新京報 | 14 |
27 | www.rtdot.com | 12 |
28 | www.gbin1.com | 11 |
29 | 京華時報 | 11 |
30 | 搜狐IT | 11 |
數據可能有些重復,但是偉大的博客園已經幫助我們程序員提供了一個 最新 信息的來源清單了。
不知道,你懂了沒?
結論
博客園已經提供了很強大的信息來源,我們要做的是,從這些來源中每天不斷follow各種信息。看一天不行,就看一個星期,總會看到一些規律,技術趨勢等。
從而比別人更加超前的感受到變革的來臨,進而打一場漂亮的閃電戰。
代碼下載
最后,我附上挖掘代碼,相關的DLL可以加入我們的群獲取。
我們的群是: 192700436
static void Main(string[] args)
Dictionary< string, List< string>> urls = new Dictionary< string, List< string>>();
for ( int pageIndex = 1; pageIndex < 100; pageIndex++)
{
HttpPoster poster = new HttpPoster();
HttpResult result = poster.Get( " http://news.cnblogs.com/n/page/ " + pageIndex);
IHtmlDocument doc = HtmlManager.Deserialize(result.Response);
IHtmlDivCollection collection = doc.Divs[ 1].Divs;
IHtmlDiv div_sideleft = collection.SearchById( " sideleft ")[ 0];
IHtmlDiv div_news_list = div_sideleft.Divs.SearchById( " news_list ")[ 0];
IHtmlDiv[] news = div_news_list.Divs.SearchByClass( " news_block ");
foreach (IHtmlDiv news_atom in news)
{
IHtmlDiv news_content = news_atom.Divs.SearchByClass( " content ")[ 0];
IHtmlNode news_title = news_content.HtmlNode.Nodes[ 0];
IHtmlNode news_href = news_title.Nodes[ 0];
string raw_href = news_href.RawAttribute;
string href = raw_href.Split( new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)[ 0];
href = href.Replace( " \" ", "").Replace( " href= ", "");
string url = " http://news.cnblogs.com " + href;
try
{
HttpPoster contentPoster = new HttpPoster();
HttpResult contentResult = contentPoster.Get(url);
IHtmlDocument contentDoc = HtmlManager.Deserialize(contentResult.Response);
IHtmlDiv content_sideleft = contentDoc.Divs[ 1].Divs.SearchById( " sideleft ")[ 0]; //
IHtmlDiv content_news_main = content_sideleft.Divs.SearchById( " news_main ")[ 0]; //
IHtmlDiv content_news_content = content_news_main.Divs.SearchById( " news_content ")[ 0]; //
IHtmlDiv content_come_from = content_news_content.Divs.SearchById( " news_otherinfo ")[ 0].Divs.SearchById( " come_from ")[ 0];
string come_from_name = "";
string come_from_href = "";
if (content_come_from.HtmlNode.Nodes.Count == 0)
{
come_from_name = content_come_from.HtmlNode.Text;
come_from_href = "";
Console.WriteLine(come_from_name + " : " + come_from_href);
// <div id="come_from">
// 來自: 杭州日報
// </div><!--end: come_from -->
}
else
{
IHtmlNode content_come_from_text = content_come_from.HtmlNode.Nodes[ 0];
come_from_name = content_come_from_text.Text;
come_from_href = Regex.Match(contentResult.Response, " #link_source2\"\\)\\.attr\\(\"href\",[ \\w\"\\:\\/\\.]+ ").Value;
come_from_href = come_from_href.Replace( " #link_source2\").attr(\"href\", \" ", "").Replace( " \" ", "");
// $("#link_source2").attr("href", " http://news.csdn.net/a/20111230/309939.html ");
// <div id="come_from">
// 來自:
// <a id="link_source2" target="_blank">
// CSDN
// </a>
// </div>
}
Console.WriteLine(come_from_name + " : " + come_from_href);
if (!urls.ContainsKey(come_from_name))
urls.Add(come_from_name, new List< string>());
urls[come_from_name].Add(come_from_href);
}
catch (Exception ex)
{
Console.WriteLine( " ERROR:: " + url);
}
}
}
string path = @" D:\張辰的學習資料\cnblogs.txt ";
StringBuilder builder = new StringBuilder();
foreach ( string url in urls.Keys)
{
builder.AppendLine( string.Format( " {0} {1} ", url, urls[url].Count));
}
builder.AppendLine( " ------------------------------- ");
foreach ( string url in urls.Keys)
{
builder.AppendLine(url);
foreach ( string urlcontent in urls[url])
{
builder.AppendLine(urlcontent);
}
builder.AppendLine();
builder.AppendLine();
}
File.WriteAllText(path, builder.ToString());
Console.Read();
}