package com.diaoyun.zion.chinafrica.bis.impl;

import com.diaoyun.zion.chinafrica.bis.IItemSpider;
import net.sf.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import java.io.IOException;
import java.net.URISyntaxException;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeoutException;

/**
 * Eifini(伊芙丽) 数据爬虫
 * TODO 未完成
 * @author 爱酱油不爱醋
 */
@Component("eifiniSpider")
public class EifiniSpider implements IItemSpider {
    private static Logger logger = LoggerFactory.getLogger(EifiniSpider.class);

    /**
     * Eifini(伊芙丽) 数据爬虫
     * @param targetUrl 接收的商品详情路径
     * @return 格式化与翻译后的 Json 数据
     */
    @Override
    public JSONObject captureItem(String targetUrl) throws InterruptedException, IOException, ExecutionException, URISyntaxException, TimeoutException {
        return null;
    }
}
