mirror of
https://github.com/headporter81/specialsource-homepage-backend.git
synced 2026-10-07 15:21:09 +09:00
14 lines
350 B
Java
14 lines
350 B
Java
package company.specialsource.scraper;
|
|
|
|
import org.jsoup.nodes.Document;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
@Component
|
|
public class DcPostDetailParser implements DetailParser {
|
|
|
|
@Override
|
|
public PostDetail parse(Document document) {
|
|
return ScraperTextUtils.extractDetail(document.selectFirst("div.write_div"));
|
|
}
|
|
}
|