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:
parent
8dc42bb178
commit
2ccf6a9e35
@ -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
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user