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.
Metadata
Release files for socialmediaextractor 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| socialmediaextractor-0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / socialmediaextractor-0.4-py3-none-any.whl
How to use checksums
13080d7c1d4379b474c332952d277ce1a40a9ec3e78393334e85c72a517ce1acHow to use checksums
72784ba500b635cc94ae5986b33ba1e6ac86d1ab870fc230aa92099b323d0167What is trusted publishing?
twine/5.0.0 CPython/3.11.7