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 details)

Uploaded Python 3

File details

Details for the file socialmediaextractor-0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for socialmediaextractor-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 13080d7c1d4379b474c332952d277ce1a40a9ec3e78393334e85c72a517ce1ac
MD5 f22323c666b12a6c00098179f5c78326
BLAKE2b-256 72784ba500b635cc94ae5986b33ba1e6ac86d1ab870fc230aa92099b323d0167

See more details on using hashes here.

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