aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yt_dlp/extractor/pornhub.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/pornhub.py b/yt_dlp/extractor/pornhub.py
index 999d038d4..29a3e43cc 100644
--- a/yt_dlp/extractor/pornhub.py
+++ b/yt_dlp/extractor/pornhub.py
@@ -87,8 +87,8 @@ class PornHubBaseIE(InfoExtractor):
def is_logged(webpage):
return any(re.search(p, webpage) for p in (
- r'class=["\']signOut',
- r'>Sign\s+[Oo]ut\s*<'))
+ r'id="profileMenuDropdown"',
+ r'class="ph-icon-logout"'))
if is_logged(login_page):
self._logged_in = True