Skip to content

Commit

Permalink
remove unsupported is_comment_enabled from Stories stream
Browse files Browse the repository at this point in the history
  • Loading branch information
prratek committed Feb 23, 2022
1 parent fb50aed commit 87dba28
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "tap-instagram"
version = "0.3.0"
version = "0.3.1"
description = "`tap-instagram` is a Singer tap for Instagram, built with the Meltano SDK for Singer Taps."
authors = ["Prratek Ramchandani"]
keywords = [
Expand Down
18 changes: 17 additions & 1 deletion tap_instagram/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,23 @@ class StoriesStream(BaseMediaStream):

name = "stories"
path = "/{user_id}/stories" # user_id is populated using child context keys from UsersStream
fields = [
"id",
"ig_id",
"caption",
"comments_count",
"like_count",
"media_product_type",
"media_type",
"media_url",
"owner",
"permalink",
"shortcode",
"thumbnail_url",
"timestamp",
"username",
"video_title",
]


class MediaChildrenStream(BaseMediaStream):
Expand All @@ -228,7 +245,6 @@ class MediaChildrenStream(BaseMediaStream):
fields = [
"id",
"ig_id",
# "media_product_type",
"media_type",
"media_url",
"owner",
Expand Down

0 comments on commit 87dba28

Please sign in to comment.