Files
SakuraHub/plugins/x/selectors.py
T

8 lines
316 B
Python
Raw Normal View History

2026-11-16 20:45:22 +08:00
"""DOM selectors for X pages used by Sakura desktop sync."""
PROFILE_LINK = 'a[data-testid="AppTabBar_Profile_Link"]'
USER_CELL = '[data-testid="UserCell"]'
USER_NAME = '[data-testid="UserName"]'
USER_AVATAR = 'img[src*="profile_images"]'
USER_LINK = 'a[href^="/"][role="link"]'
FOLLOWING_URL_SUFFIX = "/following"