Skip to content

Commit

Permalink
Merge pull request #82 from igor-suhorukov/master
Browse files Browse the repository at this point in the history
fix issue #78 with video_url in carousel resource
  • Loading branch information
igor-suhorukov committed Jan 9, 2018
2 parents c1b764e + 36f63ca commit 885979b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ public class CarouselResource{
protected Integer height;
protected Integer width;
protected String displayUrl;
protected String videoUrl;
@ElementCollection
protected List<DisplayResource> displayResources;
protected Boolean isVideo;
private Integer videoViewCount;
@Transient
protected Boolean shouldLogClientEvent;
@Transient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@
{"java-attribute": "isVideo","type": "java.lang.Boolean","xml-path": "is_video/text()"},
{"java-attribute": "shouldLogClientEvent","type": "java.lang.Boolean","xml-path": "should_log_client_event/text()"},
{"java-attribute": "displayUrl","type": "java.lang.String","xml-path": "display_url/text()"},
{"java-attribute": "videoUrl","type": "java.lang.String","xml-path": "video_url/text()"},
{"java-attribute": "videoViewCount","type": "java.lang.String","xml-path": "video_view_count/text()"},
{"java-attribute": "trackingToken","type": "java.lang.String","xml-path": "tracking_token/text()"},
{"java-attribute": "displayResources","type": "me.postaddict.instagram.scraper.model.DisplayResource","xml-path": "display_resources"},
{"java-attribute": "taggedUser","type": "me.postaddict.instagram.scraper.model.TaggedUser","xml-path": "edge_media_to_tagged_user/edges"}
Expand Down

0 comments on commit 885979b

Please sign in to comment.