[instagram] remove 'channel' extractor

This commit is contained in:
Mike Fährmann
2022-10-15 21:13:58 +02:00
parent 51e3b380ac
commit 0714274f1f
3 changed files with 2 additions and 18 deletions

View File

@@ -366,7 +366,6 @@ class InstagramUserExtractor(InstagramExtractor):
(InstagramPostsExtractor , base + "posts/"),
(InstagramReelsExtractor , base + "reels/"),
(InstagramTaggedExtractor , base + "tagged/"),
(InstagramChannelExtractor , base + "channel/"),
), ("posts",))
@@ -430,20 +429,6 @@ class InstagramTaggedExtractor(InstagramExtractor):
return self.api.user_tagged(self.user_id)
class InstagramChannelExtractor(InstagramExtractor):
"""Extractor for an Instagram user's channel posts"""
subcategory = "channel"
pattern = USER_PATTERN + r"/channel"
test = ("https://www.instagram.com/instagram/channel/", {
"range": "1-16",
"count": ">= 16",
})
def posts(self):
uid = self.api.user_id(self.item)
return self.api.user_clips(uid)
class InstagramSavedExtractor(InstagramExtractor):
"""Extractor for an Instagram user's saved media"""
subcategory = "saved"