Skip to main content

Async OSINT wrapper for social media

Project description

OSINT Social Media Wrapper

A unified, async-ready Python wrapper for scraping public data from major social media platforms.

This package provides a Manager for easy, single-key access to all supported platforms, as well as standalone classes for specific needs.

Features

  • One API Key: Access Twitter, Instagram, Facebook, TikTok, Threads, and Truth Social with a single ScrapeCreators key.
  • Free Tools: Includes a built-in Reddit scraper that requires no API key.
  • Async-Ready: Designed to integrate easily into async workflows.
  • Standardized Output: Returns clean Python dictionaries, not messy HTML.

Installation

pip install osint-social-media-pkg

Code Examples: Manager vs. Direct Tool

Scenario A: Using the Manager (Unified Feel)

from social_media_pkg import SocialMediaManager

# 1. Initialize once
bot = SocialMediaManager(api_key="master_key_123")

# 2. Use different tools easily
twitter_data = await bot.process_twitter_profile("elonmusk")
tiktok_data  = await bot.process_tiktok_profile("khabylame") 
reddit_data  = await bot.process_reddit_profile("spez") # No key needed, but Manager handles it

Scenario B: Using Only One Tool (Direct Import)

# 1. Import ONLY Instagram
from social_media_pkg import InstagramScrapeCreator

# 2. Initialize it directly
insta = InstagramScrapeCreator(api_key="master_key_123")

# 3. Call the specific method for Instagram
# Note: They must remember it is called 'get_user_posts', not 'process_instagram_profile'
photos = await insta.get_user_posts("zuck")

Project details


Download files

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

Source Distribution

osint_social_media_pkg-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

osint_social_media_pkg-0.1.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file osint_social_media_pkg-0.1.0.tar.gz.

File metadata

  • Download URL: osint_social_media_pkg-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for osint_social_media_pkg-0.1.0.tar.gz
Algorithm Hash digest
SHA256 763530f398fc054fe2e1a96a3d391fb359d472d462340412dba48aa957a0eba3
MD5 b50ff59f20f12e68beecd9b93acb2957
BLAKE2b-256 09842be8cade04a44215197190aeb22f5a4cc6c3fe0150baf46457a4dc8b0223

See more details on using hashes here.

File details

Details for the file osint_social_media_pkg-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for osint_social_media_pkg-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c780fa21a379c126da3e5e59d5d71c66bd40b43e4db578aa11341176d86b922
MD5 517591ca59fd51724272b372988fa352
BLAKE2b-256 a1bd09809434809dbce0b18b94f3bb4781dd88cd93a2591fc9a8d07e63e39753

See more details on using hashes here.

Supported by

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