update author

master
yihua.huang 2013-08-04 03:04:30 +08:00
parent b393e38320
commit cfb8990453
21 changed files with 22 additions and 22 deletions

View File

@ -4,7 +4,7 @@ import org.apache.commons.lang3.builder.ToStringBuilder;
import us.codecraft.webmagic.Task; import us.codecraft.webmagic.Task;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-3 <br> * @date: 13-8-3 <br>
* Time: 3:41 <br> * Time: 3:41 <br>
*/ */

View File

@ -4,7 +4,7 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-3 <br> * @date: 13-8-3 <br>
* Time: 5:29 <br> * Time: 5:29 <br>
*/ */

View File

@ -4,7 +4,7 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-3 <br> * @date: 13-8-3 <br>
* Time: 5:29 <br> * Time: 5:29 <br>
*/ */

View File

@ -6,7 +6,7 @@ import us.codecraft.webmagic.Site;
import java.util.List; import java.util.List;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-1 <br> * @date: 13-8-1 <br>
* Time: 10:18 <br> * Time: 10:18 <br>
*/ */

View File

@ -5,7 +5,7 @@ import org.junit.Test;
import us.codecraft.webmagic.Site; import us.codecraft.webmagic.Site;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-1 <br> * @date: 13-8-1 <br>
* Time: 8:42 <br> * Time: 8:42 <br>
*/ */

View File

@ -15,7 +15,7 @@ import javax.xml.xpath.XPathExpression;
import javax.xml.xpath.XPathFactoryConfigurationException; import javax.xml.xpath.XPathFactoryConfigurationException;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-2 <br> * @date: 13-8-2 <br>
* Time: 5:48 <br> * Time: 5:48 <br>
*/ */

View File

@ -10,7 +10,7 @@ import us.codecraft.webmagic.schedular.Scheduler;
/** /**
* 使redisurl<br> * 使redisurl<br>
* *
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-25 <br> * @date: 13-7-25 <br>
* Time: 7:07 <br> * Time: 7:07 <br>
*/ */

View File

@ -8,7 +8,7 @@ import us.codecraft.webmagic.Site;
import us.codecraft.webmagic.Task; import us.codecraft.webmagic.Task;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-25 <br> * @date: 13-7-25 <br>
* Time: 7:51 <br> * Time: 7:51 <br>
*/ */

View File

@ -21,7 +21,7 @@ import java.util.Map;
* 使Seleniumchrome<br> * 使Seleniumchrome<br>
* Selenium driver<br> * Selenium driver<br>
* *
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-26 <br> * @date: 13-7-26 <br>
* Time: 1:37 <br> * Time: 1:37 <br>
*/ */

View File

@ -11,7 +11,7 @@ import java.util.concurrent.LinkedBlockingDeque;
import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicInteger;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-26 <br> * @date: 13-7-26 <br>
* Time: 1:41 <br> * Time: 1:41 <br>
*/ */

View File

@ -13,7 +13,7 @@ import java.util.HashMap;
import java.util.Map; import java.util.Map;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-26 <br> * @date: 13-7-26 <br>
* Time: 12:27 <br> * Time: 12:27 <br>
*/ */

View File

@ -8,7 +8,7 @@ import us.codecraft.webmagic.Site;
import us.codecraft.webmagic.Task; import us.codecraft.webmagic.Task;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-26 <br> * @date: 13-7-26 <br>
* Time: 2:46 <br> * Time: 2:46 <br>
*/ */

View File

@ -5,7 +5,7 @@ import org.junit.Test;
import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebDriver;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-26 <br> * @date: 13-7-26 <br>
* Time: 2:12 <br> * Time: 2:12 <br>
*/ */

View File

@ -1,7 +1,7 @@
package us.codecraft.webmagic.oo.samples; package us.codecraft.webmagic.oo.samples;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-2 <br> * @date: 13-8-2 <br>
* Time: 8:10 <br> * Time: 8:10 <br>
*/ */

View File

@ -6,7 +6,7 @@ import us.codecraft.webmagic.oo.OOSpider;
import us.codecraft.webmagic.oo.TargetUrl; import us.codecraft.webmagic.oo.TargetUrl;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-2 <br> * @date: 13-8-2 <br>
* Time: 7:52 <br> * Time: 7:52 <br>
*/ */

View File

@ -5,7 +5,7 @@ import us.codecraft.webmagic.Site;
import us.codecraft.webmagic.oo.*; import us.codecraft.webmagic.oo.*;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-3 <br> * @date: 13-8-3 <br>
* Time: 8:25 <br> * Time: 8:25 <br>
*/ */
@ -17,7 +17,7 @@ public class OschinaAnswer implements AfterExtractor{
@ExtractBy("//img/@title") @ExtractBy("//img/@title")
private String user; private String user;
@ExtractBy(value="//div[@class='detail']",notNull = false) @ExtractBy("//div[@class='detail']")
private String content; private String content;
public static void main(String[] args) { public static void main(String[] args) {

View File

@ -6,7 +6,7 @@ import us.codecraft.webmagic.oo.OOSpider;
import us.codecraft.webmagic.oo.TargetUrl; import us.codecraft.webmagic.oo.TargetUrl;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-8-2 <br> * @date: 13-8-2 <br>
* Time: 7:52 <br> * Time: 7:52 <br>
*/ */

View File

@ -10,7 +10,7 @@ import us.codecraft.webmagic.scheduler.RedisScheduler;
import java.util.List; import java.util.List;
/** /**
* Author yihua.huang@dianping.com * Author code4crafter@gmail.com
* Date: 13-6-24 * Date: 13-6-24
* Time: 2:12 * Time: 2:12
*/ */

View File

@ -6,7 +6,7 @@ import us.codecraft.webmagic.processor.SimplePageProcessor;
import us.codecraft.webmagic.schedular.FileCacheQueueScheduler; import us.codecraft.webmagic.schedular.FileCacheQueueScheduler;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-14 <br> * @date: 13-7-14 <br>
* Time: 8:33 <br> * Time: 8:33 <br>
*/ */

View File

@ -11,7 +11,7 @@ import us.codecraft.webmagic.selenium.downloader.SeleniumDownloader;
/** /**
* <br> * <br>
* 使Selenium<br> * 使Selenium<br>
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-26 <br> * @date: 13-7-26 <br>
* Time: 4:08 <br> * Time: 4:08 <br>
*/ */

View File

@ -7,7 +7,7 @@ import us.codecraft.webmagic.pipeline.FilePipeline;
import us.codecraft.webmagic.processor.PageProcessor; import us.codecraft.webmagic.processor.PageProcessor;
/** /**
* @author yihua.huang@dianping.com <br> * @author code4crafter@gmail.com <br>
* @date: 13-7-26 <br> * @date: 13-7-26 <br>
* Time: 7:31 <br> * Time: 7:31 <br>
*/ */