Dexter is a comprehensive synthetic client designed to scrape various social media platforms for user data and interlinking data, enabling the construction of synthetic user models. This crate provides a robust set of tools and modules to facilitate data collection, parsing, and analysis.
Overview
Dexter aims to streamline the process of gathering and managing social media data. It supports multiple social media platforms and offers a unified interface for interacting with them. The crate is modular, allowing users to pick and choose the components they need for their specific use case.Modules
- api: Contains the API endpoints for Dexter.
- builder: Provides utilities for building requests and other components.
- data: Manages data structures and storage.
- monitoring: Includes tools for monitoring and error reporting.
- parser: Offers utilities for parsing and handling data, including URL handling and regex pattern matching.
- providers: Defines and implements various social media providers.
- proxy: Manages proxy settings and configurations.
- request: Handles the construction and execution of HTTP requests.
- user: Manages user-related data and operations.
- utils: Provides utility functions and helpers.
- uuid: Handles UUID generation and management.
- username_availability: Checks the availability of usernames across different platforms.
- connections: Manages connections and relationships between users.
- returns: Defines return types and error handling mechanisms.
Usage
Dexter can be used to create clients and users, scrape data from various social media platforms, and analyze the collected data. Below are some of the primary structures and their usage.DexterClient
The DexterClient struct is used to create a new client for Dexter
DexterUser
The DexterUser struct is used to create a new user in the database. It includes various fields for storing user data and social media usernames.
InstagramUser
The InstagramUser struct is used to create a new user in the database specifically for Instagram.
Provider
The Provider enum defines the various data platforms supported by Dexter
| api | API Module |
|---|---|
| builder | URL Builder Module |
| connections | Connections Module |
| data | Data controller module |
| log | Create User Module |
| monitoring | Monitoring Module |
| parser | This module provides various utilities for parsing and handling data. It includes submodules for URL handling and regex pattern matching. |
| providers | This module contains the definitions and implementations for various social media providers. It includes functionality to convert providers to string representations and to get the column names for database storage. |
| proxy | Proxy module |
| request | Request builder |
| returns | Returns Module |
| user | User Module |
| utils | Utils Module |