@@ -430,7 +430,7 @@ Consider all listed sites to potentially be NSFW.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>Instagram</td>
|
<td>Instagram</td>
|
||||||
<td>https://www.instagram.com/</td>
|
<td>https://www.instagram.com/</td>
|
||||||
<td>Avatars, Collections, Followed Users, Guides, Highlights, Posts, User Profile Data, Reels, Saved Posts, Stories, Tag Searches, Tagged Posts, User Profiles</td>
|
<td>Avatars, Collections, Followed Users, Guides, Highlights, User Profile Information, Posts, Reels, Saved Posts, Stories, Tag Searches, Tagged Posts, User Profiles</td>
|
||||||
<td><a href="https://github.com/mikf/gallery-dl#cookies">Cookies</a></td>
|
<td><a href="https://github.com/mikf/gallery-dl#cookies">Cookies</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -898,7 +898,7 @@ Consider all listed sites to potentially be NSFW.
|
|||||||
<tr>
|
<tr>
|
||||||
<td>Twitter</td>
|
<td>Twitter</td>
|
||||||
<td>https://x.com/</td>
|
<td>https://x.com/</td>
|
||||||
<td>Avatars, Backgrounds, Bookmarks, Communities, Events, Followed Users, Hashtags, individual Images, Likes, Lists, List Members, Media Timelines, User Profile Data, Quotes, Search Results, Timelines, Tweets, User Profiles</td>
|
<td>Avatars, Backgrounds, Bookmarks, Communities, Events, Followed Users, Hashtags, individual Images, User Profile Information, Likes, Lists, List Members, Media Timelines, Quotes, Search Results, Timelines, Tweets, User Profiles</td>
|
||||||
<td>Supported</td>
|
<td>Supported</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@@ -596,11 +596,11 @@ class InstagramTagExtractor(InstagramExtractor):
|
|||||||
return self.api.tags_media(self.item)
|
return self.api.tags_media(self.item)
|
||||||
|
|
||||||
|
|
||||||
class InstagramProfileExtractor(InstagramExtractor):
|
class InstagramInfoExtractor(InstagramExtractor):
|
||||||
"""Extractor for an Instagram user's profile data"""
|
"""Extractor for an Instagram user's profile data"""
|
||||||
subcategory = "profile"
|
subcategory = "info"
|
||||||
pattern = USER_PATTERN + r"/profile"
|
pattern = USER_PATTERN + r"/info"
|
||||||
example = "https://www.instagram.com/USER/profile/"
|
example = "https://www.instagram.com/USER/info/"
|
||||||
|
|
||||||
def items(self):
|
def items(self):
|
||||||
screen_name = self.item
|
screen_name = self.item
|
||||||
|
|||||||
@@ -924,11 +924,11 @@ class TwitterQuotesExtractor(TwitterExtractor):
|
|||||||
yield Message.Queue, url, data
|
yield Message.Queue, url, data
|
||||||
|
|
||||||
|
|
||||||
class TwitterProfileExtractor(TwitterExtractor):
|
class TwitterInfoExtractor(TwitterExtractor):
|
||||||
"""Extractor a user's profile data"""
|
"""Extractor for a user's profile data"""
|
||||||
subcategory = "profile"
|
subcategory = "info"
|
||||||
pattern = BASE_PATTERN + r"/(?!search)([^/?#]+)/profile"
|
pattern = BASE_PATTERN + r"/(?!search)([^/?#]+)/info"
|
||||||
example = "https://x.com/USER/profile"
|
example = "https://x.com/USER/info"
|
||||||
|
|
||||||
def items(self):
|
def items(self):
|
||||||
api = TwitterAPI(self)
|
api = TwitterAPI(self)
|
||||||
|
|||||||
@@ -161,12 +161,12 @@ SUBCATEGORY_MAP = {
|
|||||||
"home" : "Home Feed",
|
"home" : "Home Feed",
|
||||||
"image" : "individual Images",
|
"image" : "individual Images",
|
||||||
"index" : "Site Index",
|
"index" : "Site Index",
|
||||||
|
"info" : "User Profile Information",
|
||||||
"issue" : "Comic Issues",
|
"issue" : "Comic Issues",
|
||||||
"manga" : "Manga",
|
"manga" : "Manga",
|
||||||
"media" : "Media Files",
|
"media" : "Media Files",
|
||||||
"note" : "Images from Notes",
|
"note" : "Images from Notes",
|
||||||
"popular": "Popular Images",
|
"popular": "Popular Images",
|
||||||
"profile": "User Profile Data",
|
|
||||||
"recent" : "Recent Images",
|
"recent" : "Recent Images",
|
||||||
"search" : "Search Results",
|
"search" : "Search Results",
|
||||||
"status" : "Images from Statuses",
|
"status" : "Images from Statuses",
|
||||||
|
|||||||
@@ -133,9 +133,10 @@ __tests__ = (
|
|||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"#url" : "https://www.instagram.com/instagram/profile",
|
"#url" : "https://www.instagram.com/instagram/info",
|
||||||
"#category": ("", "instagram", "profile"),
|
"#category": ("", "instagram", "info"),
|
||||||
"#class" : instagram.InstagramProfileExtractor,
|
"#class" : instagram.InstagramInfoExtractor,
|
||||||
|
"#auth" : False,
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -637,6 +637,12 @@ The Washington Post writes, "Three weeks after the toxic train derailment in Ohi
|
|||||||
"#urls" : "https://x.com/search?q=quoted_tweet_id:1263832915173048321",
|
"#urls" : "https://x.com/search?q=quoted_tweet_id:1263832915173048321",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"#url" : "https://twitter.com/supernaturepics/info",
|
||||||
|
"#category": ("", "twitter", "info"),
|
||||||
|
"#class" : twitter.TwitterInfoExtractor,
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"#url" : "https://twitter.com/supernaturepics/photo",
|
"#url" : "https://twitter.com/supernaturepics/photo",
|
||||||
"#category": ("", "twitter", "avatar"),
|
"#category": ("", "twitter", "avatar"),
|
||||||
|
|||||||
Reference in New Issue
Block a user