複数のSNSから同じIDのアカウントを探してくれるsherlockが面白い

これ

github.com

こんな感じでドバーッと表示される

f:id:miettal:20191203210328p:plain

抜き出すとこんな感じになる

f:id:miettal:20191203210324p:plain

使い方

READMEの通りやる

$ git clone https://github.com/sherlock-project/sherlock.git
Cloning into 'sherlock'...
remote: Enumerating objects: 19, done.
remote: Counting objects: 100% (19/19), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 2591 (delta 6), reused 4 (delta 1), pack-reused 2572
Receiving objects: 100% (2591/2591), 10.87 MiB | 2.43 MiB/s, done.
Resolving deltas: 100% (1631/1631), done.
$ cd sherlock/
$ python --version
Python 3.9.0a0
$ pip install -r requirements.txt
Collecting beautifulsoup4>=4.8.0
  Downloading https://files.pythonhosted.org/packages/3b/c8/a55eb6ea11cd7e5ac4bacdf92bac4693b90d3ba79268be16527555e186f0/beautifulsoup4-4.8.1-py3-none-any.whl (101kB)
     |████████████████████████████████| 102kB 1.7MB/s
Collecting bs4>=0.0.1
  Downloading https://files.pythonhosted.org/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314/bs4-0.0.1.tar.gz
Requirement already satisfied: certifi>=2019.6.16 in /Users/taisyo/.pyenv/versions/3.9-dev/lib/python3.9/site-packages (from -r requirements.txt (line 3)) (2019.6.16)
Collecting colorama>=0.4.1
  Using cached https://files.pythonhosted.org/packages/4f/a6/728666f39bfff1719fc94c481890b2106837da9318031f71a8424b662e12/colorama-0.4.1-py2.py3-none-any.whl
Requirement already satisfied: lxml>=4.4.0 in /Users/taisyo/.pyenv/versions/3.9-dev/lib/python3.9/site-packages (from -r requirements.txt (line 5)) (4.4.1)
Collecting PySocks>=1.7.0
  Downloading https://files.pythonhosted.org/packages/8d/59/b4572118e098ac8e46e399a1dd0f2d85403ce8bbaad9ec79373ed6badaf9/PySocks-1.7.1-py3-none-any.whl
Requirement already satisfied: requests>=2.22.0 in /Users/taisyo/.pyenv/versions/3.9-dev/lib/python3.9/site-packages (from -r requirements.txt (line 7)) (2.22.0)
Collecting requests-futures>=1.0.0
  Downloading https://files.pythonhosted.org/packages/47/c4/fd48d1ac5110a5457c71ac7cc4caa93da10a80b8de71112430e439bdee22/requests-futures-1.0.0.tar.gz
Collecting soupsieve>=1.9.2
  Downloading https://files.pythonhosted.org/packages/81/94/03c0f04471fc245d08d0a99f7946ac228ca98da4fa75796c507f61e688c2/soupsieve-1.9.5-py2.py3-none-any.whl
Collecting stem>=1.7.1
  Downloading https://files.pythonhosted.org/packages/7f/71/d82f4204e88be00220cc54eedb2972fd05081cb0e5ebdc537d8940b064ea/stem-1.7.1.tar.gz (2.2MB)
     |████████████████████████████████| 2.2MB 1.9MB/s
Collecting torrequest>=0.1.0
  Downloading https://files.pythonhosted.org/packages/a3/d2/00538e47a2c80979231313c346a0abc3927c7b230d69eb923bb5b221ec62/torrequest-0.1.0.tar.gz
Requirement already satisfied: idna<2.9,>=2.5 in /Users/taisyo/.pyenv/versions/3.9-dev/lib/python3.9/site-packages (from requests>=2.22.0->-r requirements.txt (line 7)) (2.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /Users/taisyo/.pyenv/versions/3.9-dev/lib/python3.9/site-packages (from requests>=2.22.0->-r requirements.txt (line 7)) (3.0.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /Users/taisyo/.pyenv/versions/3.9-dev/lib/python3.9/site-packages (from requests>=2.22.0->-r requirements.txt (line 7)) (1.25.3)
Installing collected packages: soupsieve, beautifulsoup4, bs4, colorama, PySocks, requests-futures, stem, torrequest
    Running setup.py install for bs4 ... done
    Running setup.py install for requests-futures ... done
    Running setup.py install for stem ... done
    Running setup.py install for torrequest ... done
Successfully installed PySocks-1.7.1 beautifulsoup4-4.8.1 bs4-0.0.1 colorama-0.4.1 requests-futures-1.0.0 soupsieve-1.9.5 stem-1.7.1 torrequest-0.1.0

動かしてみた結果

$ python sherlock.py
[*] Checking username miettal on:
[-] ResearchGate: Illegal Username Format For This Site!
[-] 2Dimensions: Not Found!
[-] 500px: Not Found!
[-] 7Cups: Not Found!
[-] 9GAG: Not Found!
[-] About.me: Not Found!
[-] Academia.edu: Not Found!
[-] Alik.cz: Not Found!
[-] Anobii: Not Found!
[-] Aptoide: Not Found!
[-] Archive.org: Not Found!
[+] AskFM: https://ask.fm/miettal
[-] Error Connecting: Avízo.cz
[-] Avízo.cz: Error!
[-] BLIP.fm: Not Found!
[-] Badoo: Not Found!
[-] Bandcamp: Not Found!
[-] Basecamp: Not Found!
[-] Bazar.cz: Not Found!

(snip)

$ python sherlock.py | grep '+'
[+] AskFM: https://ask.fm/miettal
[+] Disqus: https://disqus.com/miettal
[+] Docker Hub: https://hub.docker.com/u/miettal/
[+] Facebook: https://www.facebook.com/miettal
[+] GitHub: https://www.github.com/miettal
[+] NameMC (Minecraft.net skins): https://namemc.com/profile/miettal
[+] TradingView: https://www.tradingview.com/u/miettal/
[+] Twitter: https://www.twitter.com/miettal
[+] YouTube: https://www.youtube.com/miettal
[+] gfycat: https://gfycat.com/@miettal