diff --git a/data/xpath.json b/data/xpath.json index d8aec20..17299f8 100644 --- a/data/xpath.json +++ b/data/xpath.json @@ -8,8 +8,8 @@ "IS_EXPENDEDABLE_EXPENDED_BUTTON": "//*[contains(normalize-space(), 'Subscriptions')]/following-sibling::div[@id='items']/ytd-guide-collapsible-entry-renderer/ytd-guide-entry-renderer", "THREE_LINES": "//yt-icon-button[@id='guide-button']", "DRAWER_OPENED": "//div[@id='contentContainer' and @opened]", - "ALREADY_SUBSCRIBE": "//div[@id='inner-header-container']//div[@id='notification-preference-button' and not(@hidden)]//span[text()='Subscribed']", - "SUBSCRIBE_BTN": "//div[@id='inner-header-container']/div/div[@id='subscribe-button']/ytd-subscribe-button-renderer/yt-smartimation/yt-button-shape[not(@hidden)]/button", + "ALREADY_SUBSCRIBE": "//div[@id='inner-header-container']//div[@id='notification-preference-button' and not(@invisible)]//span[text()='Subscribed']", + "SUBSCRIBE_BTN": "//div[@id='inner-header-container']/div/div[@id='subscribe-button']//yt-button-shape[not(@hidden) and @id='subscribe-button-shape']/button", "UNSUB1": "//yt-formatted-string[text()='Unsubscribe']", "UNSUB2": "//button[@aria-label='Unsubscribe']" }