Skip to content

Commit

Permalink
Fixed not including the source id when scraping a series [#24]
Browse files Browse the repository at this point in the history
  • Loading branch information
mcpierce committed Aug 3, 2024
1 parent 3a317e7 commit 4555733
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public List<IssueDetailsMetadata> execute() throws MetadataException {
final ComicVineIssue issue = response.getResults().getIssues().get(index);

final IssueDetailsMetadata entry = new IssueDetailsMetadata();
entry.setSourceId(issue.getId());
entry.setPublisher(response.getResults().getPublisher().getName());
entry.setSeries(response.getResults().getName());
entry.setIssueNumber(issue.getIssueNumber());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
* @author Darryl L. Pierce
*/
public class ComicVineVolumeDetail {
@JsonProperty("id")
@Getter
private String id;

@JsonProperty("issues")
@Getter
private List<ComicVineIssue> issues;
Expand Down

0 comments on commit 4555733

Please sign in to comment.