[instagram] make extractor tests happy (#373)

This commit is contained in:
Mike Fährmann
2019-08-08 18:48:06 +02:00
parent 8dc42bb178
commit 2ccf6a9e35
2 changed files with 3 additions and 3 deletions

View File

@@ -392,9 +392,9 @@ class InstagramUserExtractor(InstagramExtractor):
return self._extract_profilepage(url)
class InstagramProfileChannelExtractor(InstagramExtractor):
class InstagramChannelExtractor(InstagramExtractor):
"""Extractor for ProfilePage channel"""
subcategory = "user"
subcategory = "channel"
pattern = (r"(?:https?://)?(?:www\.)?instagram\.com"
r"/(?!p/|explore/|directory/|accounts/|stories/|tv/)"
r"([^/?&#]+)/channel")