Skip to content

Commit 53b8e44

Browse files
committed
Fixed description parsing
1 parent 3ff40e7 commit 53b8e44

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/com/olegshan/parser/siteparsers/RabotaUaJobParser.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ public Elements getTitleBlock(Element job) throws ParserException {
3636
return titleBlock;
3737
}
3838

39+
@Override
40+
public String getDescription(Element job, String url) throws ParserException {
41+
String[] descriptionData = jobSite.getDescriptionData();
42+
return job.getElementsByAttributeValueStarting(descriptionData[0], descriptionData[1]).text();
43+
}
44+
3945
@Override
4046
public String getCompany(Element job, String url) throws ParserException {
4147
String company = job.getElementsByAttributeValueStarting(jobSite.getCompanyData()[0], jobSite.getCompanyData()[1]).text();

0 commit comments

Comments
 (0)