Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] - Fetch a User/Models Social profiles #71

Open
accssocials opened this issue Jan 5, 2025 · 1 comment
Open

[FEATURE REQUEST] - Fetch a User/Models Social profiles #71

accssocials opened this issue Jan 5, 2025 · 1 comment

Comments

@accssocials
Copy link

Is this possible? Let me know or how I can help!

@Egsagon
Copy link
Collaborator

Egsagon commented Jan 5, 2025

user = client.get_user('...')
socials = re.findall(r'(https://.*?)"', user._page.split('js-socials', 1)[1].split('ul>', 1)[0])

Old code, might not work for every user type but can help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants