Skip to main content

A library to extract social media links from websites

Project description

To use the socialmediaextractor library, you first need to install it using pip:

pip install socialmediaextractor

Once the library is installed, you can extract social media links from a website using the following code:

from socialmediaextractor import extract_social_media_accounts

# Example: Extract social media accounts from a website
url = 'https://example.com'
social_media_links = extract_social_media_accounts(url)
print(social_media_links)
# Output: {'Facebook': 'https://www.facebook.com/example', 'LinkedIn': 'https://www.linkedin.com/company/example/', 'Twitter': 'https://twitter.com/example'}

For more information and documentation, please visit the GitHub repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

socialmediaextractor-0.4-py3-none-any.whl (2.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page