Skip to main content

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

Metadata

Release files for osint-social-media-pkg 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for osint-social-media-pkg 0.1.1
File Size Uploaded
osint_social_media_pkg-0.1.1.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for osint-social-media-pkg 0.1.1
File Interpreter ABI Platform
osint_social_media_pkg-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.5 kB

Release files / osint_social_media_pkg-0.1.1.tar.gz

Download URL osint_social_media_pkg-0.1.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d7c238f0f3e23290a8509b15273a1ffc621057fa3cb3a4ca4ff4b229ac29c2bb
BLAKE2b-256 checksum
How to use checksums
ffd6e335070da237930043df12c18c079ae1f1975fc036331ba55ecb948c7978
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / osint_social_media_pkg-0.1.1-py3-none-any.whl

Download URL osint_social_media_pkg-0.1.1-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ab93dd860547727bfc91586b14fc04a9afa93ea520fb9098c9f9e8d7b90c8e7
BLAKE2b-256 checksum
How to use checksums
6367f34d9506c2a3289a72ead16692240dbd84c31fa9fdc19fb946ede6d768e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page