Skip to main content

Flexible multimodal scraper for social media and the open web.

Project description

scrapeMM: Multimodal Web Retrieval

Simple web scraper to asynchronously retrieve webpages and access social media contents, fetching text along with media, i.e., images and videos.

This library aims to help developers and researchers to easily access multimodal data from the web and use it for LLM processing.

Usage

from scrapemm import retrieve
import asyncio

url = "https://example.com"
loop = asyncio.get_event_loop()
result = loop.run_until_complete(retrieve(url))
result.render()

scrapeMM will ask you for the API keys needed for the social media integrations. You may skip them if you don't need them. You will also be prompted to choose a password that is used to secure the secrets in an encrypted file.

How it works

Input:                                  Output:
URL (string)   -->   retrieve()   -->   MultimodalSequence

The MultimodalSequence is a sequence of Markdown-formatted text and media provided by the ezMM library.

Web scraping is done with Firecrawl and Decodo.

Supported Platforms

Social Media

  • ✅ X/Twitter
  • ✅ Telegram
  • ✅ Bluesky
  • ✅ TikTok
  • ✅ YouTube
  • (✅️) Instagram: works for most content
  • ⏳ Facebook: done for videos but not for images yet
  • ❌ Threads: TBD
  • ❌ Reddit: TBD

Archiving Services

  • ❌ Perma.cc
  • ❌ Archive.today
  • ❌ Wayback Machine, Internet Archive (web.archive.org)
  • ❌ AwesomeScreenshot.com
  • ⏳ MediaVault (mvau.lt): Works for images but not for videos yet
  • ❌ Ghost Archive (ghostarchive.org)

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

scrapemm-0.4.3.tar.gz (34.2 kB view details)

Uploaded Source

Built Distribution

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

scrapemm-0.4.3-py3-none-any.whl (40.9 kB view details)

Uploaded Python 3

File details

Details for the file scrapemm-0.4.3.tar.gz.

File metadata

  • Download URL: scrapemm-0.4.3.tar.gz
  • Upload date:
  • Size: 34.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for scrapemm-0.4.3.tar.gz
Algorithm Hash digest
SHA256 0e5932e53958928a4fa79ca0d77d3e222453a0dc45240671ca2ab4a59d0e904d
MD5 1c39938720e54d028f5f364b982c74a7
BLAKE2b-256 ef7e4f7d7de6731a00f2b7ef1d6735779f59419b9c607634d20e6ac1d5431eed

See more details on using hashes here.

File details

Details for the file scrapemm-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: scrapemm-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 40.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for scrapemm-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3047042ebe48d95b1dd613d5a1f6c045269d413a612fcfc3abf90992524e26fb
MD5 736d6bb175db34b08e3d7be4b5ed2702
BLAKE2b-256 1229c9856b68d61ef3e04b90712d04403b072d33c4c4730f24e73c592921ee54

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