Skip to main content

Extract accounts' identifiers from personal pages on various platforms

Project description

socid_extractor

Extract information about a user from profile webpages / API responses and save it in machine-readable format.

When it may be useful

  • Getting all available info by the username or/and account UID. Examples: Week in OSINT, OSINTCurious
  • Users tracking, checking that the account was previously known (by ID) even if all public info has changed. Examples: Aware Online
  • Searching by commonly used cross-service UIDs (GAIA ID, Facebook UID, Yandex Public ID, etc.)
    • DB leaks of forums and platforms in SQL format
    • Indexed links that contain target profile ID
  • Searching for tracking data by comparison with other IDs - how it works, how can it be used.
  • Law enforcement online requests

Tools using socid_extractor

Maigret - powerful namechecker, generate a report with all available info from accounts found.

YaSeeker - tool to gather all available information about Yandex account by login/email.

Installation

$ pip3 install socid-extractor

The latest development version can be installed directly from GitHub:

$ pip3 install -U git+https://github.com/soxoj/socid_extractor.git

Using

As a command-line tool:

$ socid_extractor --url https://www.deviantart.com/muse1908
country: France
created_at: 2005-06-16 18:17:41
gender: female
username: Muse1908
website: www.patreon.com/musemercier
links: ['https://www.facebook.com/musemercier', 'https://www.instagram.com/muse.mercier/', 'https://www.patreon.com/musemercier']
tagline: Nothing worth having is easy...

Without installing:

$ ./run.py --url https://www.deviantart.com/muse1908

As a Python library:

>>> import socid_extractor, requests
>>> r = requests.get('https://www.patreon.com/annetlovart')
>>> socid_extractor.extract(r.text)
{'patreon_id': '33913189', 'patreon_username': 'annetlovart', 'fullname': 'Annet Lovart', 'links': "['https://www.facebook.com/322598031832479', 'https://www.instagram.com/annet_lovart', 'https://twitter.com/annet_lovart', 'https://youtube.com/channel/UClDg4ntlOW_1j73zqSJxHHQ']"}

Sites

  • Google (all documents pages, maps contributions), cookies required
  • Yandex (disk, albums, znatoki, music, realty, collections), cookies required to prevent captcha blocks
  • Facebook (user & group pages)
  • Instagram
  • Reddit
  • Medium
  • Flickr
  • Tumblr
  • TikTok
  • GitHub
  • VK (user page)
  • OK (user page)
  • Mail.ru (my.mail.ru user mainpage, photo, video, games, communities)

...and many others.

Check tests file for extracted data examples, schemes file to check all supported sites.

Testing

python3 -m pytest tests/test_e2e.py -n 10  -k 'not cookies' -m 'not github_failed and not rate_limited'

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

socid-extractor-0.0.23.tar.gz (53.0 kB view details)

Uploaded Source

Built Distribution

socid_extractor-0.0.23-py3-none-any.whl (52.5 kB view details)

Uploaded Python 3

File details

Details for the file socid-extractor-0.0.23.tar.gz.

File metadata

  • Download URL: socid-extractor-0.0.23.tar.gz
  • Upload date:
  • Size: 53.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for socid-extractor-0.0.23.tar.gz
Algorithm Hash digest
SHA256 053af360b89544e0426c1147e7b901e1eb3155299e1ccd053ba9f3e4b07c783d
MD5 a75ad01c463aa103f7648aa211a23dfd
BLAKE2b-256 a3a9076be3ccadc93c8a16f362aad8f235abbc5314e92864ed8aae353587134b

See more details on using hashes here.

File details

Details for the file socid_extractor-0.0.23-py3-none-any.whl.

File metadata

  • Download URL: socid_extractor-0.0.23-py3-none-any.whl
  • Upload date:
  • Size: 52.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for socid_extractor-0.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 5936581cb3001abb4ef3f83b8170fe23d596ee6314e62c703e806e19fc914f34
MD5 0d85f511e9a4328197cb21e8116eb2b2
BLAKE2b-256 2c492661c1bd744164daf109c83248bbffa3876f2c8164af470ce411197d14df

See more details on using hashes here.

Supported by

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