diff --git a/docs/supportedsites.md b/docs/supportedsites.md index 3c6c36a6..411a86de 100644 --- a/docs/supportedsites.md +++ b/docs/supportedsites.md @@ -1042,7 +1042,7 @@ Consider all listed sites to potentially be NSFW. SubscribeStar https://www.subscribestar.com/ - Posts, User Profiles + Posts, User Profiles, User Tags Supported diff --git a/gallery_dl/extractor/subscribestar.py b/gallery_dl/extractor/subscribestar.py index 280c8d72..6f4ace7e 100644 --- a/gallery_dl/extractor/subscribestar.py +++ b/gallery_dl/extractor/subscribestar.py @@ -27,12 +27,12 @@ class SubscribestarExtractor(Extractor): _warning = True def __init__(self, match): - tld, self.item = match.groups() - if tld == "adult": + if match[1] == "adult": self.root = "https://subscribestar.adult" self.cookies_domain = ".subscribestar.adult" self.subcategory += "-adult" Extractor.__init__(self, match) + self.item = match[2] def items(self): self.login() @@ -148,6 +148,21 @@ class SubscribestarExtractor(Extractor): for cookie in response.cookies } + def _pagination(self, url, params=None): + needle_next_page = 'data-role="infinite_scroll-next_page" href="' + page = self.request(url, params=params).text + + while True: + posts = page.split('
Enhance Your Account Security with OTP\n
In addition to our existing email-based Two-Factor Authentication (2FA), we encourage everyone to use a more secure and convenient method: One-Time Password (OTP) 2FA using authentication apps like 1Password, Google Authenticator etc. To get started:
\n
    \n
  1. Navigate to Menu → Account Settings, scroll down to the Authenticator Apps (OTP 2FA) section.
  2. \n
  3. Click the \"Set up OTP\" button and follow the instructions.

    \n
  4. \n
\n
The entire process should take less than 5 minutes. You can opt out of using email 2FA then.
\n

\n
Why Choose OTP 2FA Over Email 2FA?
\n
\nStronger Security: While email 2FA adds an extra layer of protection, OTP 2FA generates codes directly on your mobile device, reducing the risk associated with email interception or unauthorized access.
\n
\nInstant Access: Authentication apps provide time-sensitive codes without the need for an internet connection or waiting for an email to arrive.
\n
\nEnhanced Protection Against Phishing: OTP codes from authentication apps are less susceptible to phishing attacks compared to email-based codes.
\n\n", + "date" : "dt:2024-09-30 20:46:00", + "post_id" : 1320999, + "search_tags": "Security", + "title" : "Enhance Your Account Security with OTP", + "tags" : [ + "Security", + "PlatformUpdates", + ], +}, + )