1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 20:22:36 +01:00

[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
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 3 additions and 3 deletions

View File

@ -135,7 +135,7 @@ Turboimagehost https://www.turboimagehost.com/ individual Images
.. |deviantart-C| replace:: Collections, Deviations, Favorites, Folders, Galleries, Journals, Popular Images, Scraps, Sta.sh
.. |flickr-C| replace:: Images from Users, Albums, Favorites, Galleries, Groups, individual Images, Search Results
.. |hentaifoundry-C| replace:: Images from Users, Favorites, individual Images, Popular Images, Recent Images, Scraps
.. |instagram-C| replace:: Images from Users, individual Images, Stories, Tag-Searches
.. |instagram-C| replace:: Images from Users, Channels, individual Images, Stories, Tag-Searches
.. |joyreactor-C| replace:: Images from Users, Posts, Search Results, Tag-Searches
.. |nijie-C| replace:: Images from Users, Doujin, Favorites, individual Images
.. |pixiv-C| replace:: Images from Users, Favorites, Follows, pixiv.me Links, Rankings, Search Results, Individual Images

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")