Skip to content

Commit

Permalink
Quick patch updated ALREADY_SUBSCRIBE and SUBSCRIBE_BIN xpath val…
Browse files Browse the repository at this point in the history
…ue (#5)
  • Loading branch information
biplobsd authored Oct 28, 2023
1 parent 6061501 commit 7fea3db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/xpath.json
Original file line number Diff line number Diff line change
Expand Up @@ -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']"
}

0 comments on commit 7fea3db

Please sign in to comment.