Skip to content

Commit

Permalink
use absUrl in searchByPartName as well
Browse files Browse the repository at this point in the history
fixes #24
thx @ildar
  • Loading branch information
dnet committed Jun 2, 2018
1 parent 021e148 commit 94f3378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hu/vsza/adsapi/Search.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static ArrayList<Part> searchByPartName(String partName, Mode searchMode)
if (links.size() == 0) continue;
String foundPartName = firstCol.text();
String foundPartDesc = rowCells.get(2).text();
String foundPartHref = links.get(0).attributes().get("href");
String foundPartHref = links.get(0).absUrl("href");
partList.add(new Part(foundPartName, foundPartDesc, foundPartHref));
}

Expand Down

1 comment on commit 94f3378

@ildar
Copy link

@ildar ildar commented on 94f3378 Jun 3, 2018 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.