Skip to main content

No project description provided

Project description

Scrape-O-Matic: Utilities for Pulling Data From Social Media Platforms

Scrape-O-Matic is a collection of tools designed to easily pull data from popular social media platforms. As many of these platforms make it extremely difficult or impossible to pull public data from their platforms,

Scrape-O-Matic only works with public profiles and does not require any tokens or authentication.

Disclaimer:

These tools are provided for your personal use. You may only use them in accordance with the respective platforms' terms of service and any applicable laws. We accept no responsibility for misuse.

Scrap-o-Matic will work with the following platforms:

Usage:

Every platform inherits from a collector object which has a minimum of one method: collect(username). The collectors may have additional methods, but at a minimum, you can use the collect method to get a dump of all the available data from the platform.

Additionally, every collector has a collect_to_dataframe which will return the same information in a Pandas DataFrame.

Instagram

To pull data from Instagram, simply create an Instagram object, then call the collect(<username>) method.

Example Usage

from scrapeomatic.collectors.instagram import Instagram

user_name = "<username>"
instagram_scraper = Instagram()
results = instagram_scraper.collect(user_name)

Additional Options:

In the constructor, you can specify two additional options:

  • proxy: An address for a proxy server
  • timeout: A timeout value in seconds. Defaults to 5 seconds.

TikTok

To pull data from TikTok, simply create a TikTok object, then call the collect(<username>) method.

Example Usage

from scrapeomatic.collectors.tiktok import TikTok

user_name = "<username>"
tiktok_scraper = TikTok()
results = tiktok_scraper.collect(user_name)

The TikTok collector uses Selenium and the Chrome or FireFox extensions. These must be installed for this collector to work.

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

scrapeomatic-0.1.tar.gz (11.6 kB view hashes)

Uploaded Source

Built Distribution

scrapeomatic-0.1-py3-none-any.whl (12.1 kB view hashes)

Uploaded Python 3

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